Description

Retrieves the details of a specific agent using its unique agent_id.

Endpoint

GET /v3/agents/{agent_id}

Authentication

  • Requires an API key (x-api-key) in the request headers.

Path Parameters

ParameterTypeDescription
agent_idstringUnique identifier of the agent to retrieve.

Request Example (cURL)

curl -X GET "https://agent-prod.studio.lyzr.ai/v3/agents/67e21aecd0da0fb69fe95780" ^
-H "accept: application/json" ^
-H "x-api-key: sk-default-REPLACED-API-KEY"

Response Example

{
  "agent_id": "67e21aecd0da0fb69fe95780",
  "name": "Finance Advisor",
  "description": "Personalized Financial Planning Assistant",
  "model": "gpt-4o-mini",
  "provider_id": "OpenAI",
  "features": [...]
}