Get agent by ID

View as Markdown
Returns the agent document merged with the currently-active version's resolved config under `_resolvedConfig`. Non-versioned fields (name, telephonyProductId, allowInboundCall, etc.) sit at the top level; versioned fields (prompt, tools, language, synthesizer, post-call analytics, …) are resolved from the active version and exposed under `_resolvedConfig`. Notable resolved fields: - `_resolvedConfig.postCallAnalyticsConfig` — disposition metrics + analytics model flags - `_resolvedConfig.tools` — configured tools on the active version - `_resolvedConfig.prompt` — active version's prompt - `activeVersionId` / `versionId` — current published & active version ID To read prompt + tools alone, use `GET /agent/{id}/workflow` (deprecated for new integrations but still live). To inspect a specific non-active version, use `GET /agent/{id}/versions/{versionId}`.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequired

Response

Successful response
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error