انتقل إلى المحتوى الرئيسي

Get an agent

GET 

/v1/agents/:agentId

x-scope: "agents:read"

One agent this key can act on, with its settings: its Main Instructions, AI handoff, comment auto-hide, when the AI stops responding (ai_stop_enabled, ai_stop_when) and its AI working hours (ai_schedule) besides the basic details the list returns. Another company's agent, an unknown id, or a deleted agent on the key's agent list is 404 agent_not_found; an agent of your company off that list is 403 agent_not_authorized.

Request​

Responses​

The agent and its settings.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.