User Agent String
Type Registry
User Agent String
technology.internet.user_agent HTTP User-Agent header string identifying the client application. Typically contains browser, OS, and version information.
Domain technology›internet
Casts to VARCHAR
Scope Universal
Try it
CLI
$ finetype infer -i "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
→ technology.internet.user_agent DuckDB
Detect
SELECT finetype('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36');
-- → 'technology.internet.user_agent' Cast expression
CAST({col} AS VARCHAR) Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'technology.internet.user_agent'; JSON Schema
finetype schema technology.internet.user_agent {
"$id": "https://noon.sh/schemas/technology.internet.user_agent",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "HTTP User-Agent header string identifying the client application. Typically contains browser, OS, and version information.",
"examples": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X)",
"curl/7.64.1"
],
"maxLength": 500,
"minLength": 10,
"title": "User Agent String",
"type": "string"
} Examples
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X)curl/7.64.1