Skip to main content
GET
Get agent details by ID

Get Agent Details by ID

Returns the full details of a single agent — basic details, configuration, knowledge base, tools, phone numbers, dispositions, denials, creator, guardrails, metadata config, and campaign info. Unlike List Voice Agents, which returns a simplified agent object, this endpoint returns everything the agent builder UI uses to render an agent.

Endpoint

GET /api/v1/global/agents/get-by-id

Authentication

Include your API token in the request header:
or

Query Parameters

Success Response

Status Code: 200 OK The response mirrors what the agent builder UI uses to render an agent — it is not the simplified field set returned by List Voice Agents. Every field name is lower snake_case (already normalized from the raw DB columns).

Top-level data fields

Error Responses

400 Bad Request — missing agent_id

401 Unauthorized

404 Not Found

Example Request

Notes

  • agent_id is required — this endpoint never returns a list.
  • The agent must belong to your workspace; deleted agents (STATUS = 2) are not returned.
  • For a lightweight response (e.g. for dropdowns or simple lookups), use List Voice Agents with agent_id instead.

Headers

token
string
required

API token for authentication

Query Parameters

agent_id
integer
required

ID of the agent to retrieve

Response

Agent details retrieved successfully