Documentation Index Fetch the complete documentation index at: https://docs.masker.dev/llms.txt
Use this file to discover all available pages before exploring further.
Returns complete details for a single agent, including the active masking policy, upstream configuration, proxy and webhook URLs, and rolling usage statistics. Use this endpoint to inspect an agent’s current configuration or retrieve its proxy URL programmatically.
Endpoint
GET /api/v1/agents/{agent_id}
Requires masker_session authentication.
Path parameters
The agent’s ID in agt_* ULID format, e.g. agt_01HYZ....
Response fields
Full agent object. Agent ID in agt_* ULID format.
Display name, unique per account.
Upstream LLM provider and model, e.g. openai:gpt-4o-mini.
Active tokenization scheme: vault-deterministic or reversible-aead.
Name of the active masking policy.
Version number of the active policy.
Full YAML text of the active masking policy at the current version.
OpenAI-compatible proxy URL for this agent.
Vapi assistant-request webhook URL for this agent.
ISO 8601 UTC creation timestamp.
Rolling usage statistics for this agent. Sessions processed in the last 24 hours.
Sessions processed in the last 7 days.
Total PHI detections redacted in the last 24 hours.
Median added latency in milliseconds over the last 24 hours.
95th-percentile added latency in milliseconds over the last 24 hours.
Example
curl -H "Cookie: masker_session=ey..." \
https://masker-voice.fly.dev/api/v1/agents/agt_01HYZ...
{
"agent" : {
"id" : "agt_01HYZ..." ,
"name" : "appointment-bot-prod" ,
"upstream" : "openai:gpt-4o-mini" ,
"tokenization" : "vault-deterministic" ,
"policy_name" : "healthcare-default" ,
"policy_version" : 1 ,
"policy_yaml" : "name: healthcare-default \n version: 1 \n ..." ,
"proxy_url" : "https://masker-voice.fly.dev/proxy/agt_01HYZ.../v1/chat/completions" ,
"webhook_url" : "https://masker-voice.fly.dev/vapi/webhook/agt_01HYZ..." ,
"created_at" : "2026-04-15T10:22:11Z" ,
"stats" : {
"session_count_24h" : 247 ,
"session_count_7d" : 1834 ,
"redaction_count_24h" : 1289 ,
"p50_latency_ms" : 412 ,
"p95_latency_ms" : 891
}
}
}
Errors
Status Code Meaning 401unauthenticatedMissing or invalid masker_session cookie 404agent_not_foundNo agent with this ID exists in your account