Skip to main content
GET
List an agent's chats

Authorizations

Authorization
string
header
required

Workspace API key (wk_). GET endpoints require the Workspace read API scope, POST, PUT, PATCH and DELETE endpoints the Workspace write API scope, and sending or revoking invitations (POST and DELETE /workspaceapi/invites) the Invite members scope. A key stops working when it expires or is disabled.

Path Parameters

agentId
string
required

The agent id to inspect. Must belong to the current scope (workspace, or team for team-scoped explorers).

Response

Success. Empty result sets are also 200.

Newest activity first, without message bodies.

chats
object[]
required