Get agent status and recent history

Returns the current state, lifecycle metadata, and recent conversation history for a REST-created agent run.

GET /api/public/v1/agents/{agentId}
Bearer token

Path parameters

· 1
agentId string required

Identifier of the agent conversation to retrieve.

Query parameters

· 1
historyLimit integer · min: 1· max: 500· default: 100

Maximum number of recent history items to return. Defaults to 100 and caps at 500.

Responses