Skip to main content
GET
Get an agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Response

The agent and its last run summary

object
string
required
Allowed value: "agent"
id
string<uuid>
required
name
string
required
workspaceId
string<uuid>
required
deprecated

Deprecated container id, always accepted back as a workspaceId - the legacy workspace when anchored, else the agent's session container (often the agent's own id).

createdAt
string<date-time>
required
apiKeyOwned
boolean
required

True iff this agent's chat_session row has a non-null created_by_api_key_id; i.e. it was created by the API and is owned by the caller's org. Always true on v2 read paths today; surfaced for forward compatibility.

lastRun
object | null
required