Skip to main content
GET
/
v1
/
agents
/
{agentId}
/
conversations
List conversations for an agent
curl --request GET \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/conversations \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "contextId": "<string>",
      "agent_id": "<string>",
      "title": "<string>",
      "is_archived": true,
      "is_starred": true,
      "messages_count": 123,
      "last_message_at": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

agentId
string
required
Maximum string length: 64

Query Parameters

is_archived
string

Filter by archive state (true/false).

is_starred
string

Filter by star state (true/false).

contextId
string

Filter to a single conversation by context id.

Maximum string length: 64
limit
string

Page size (default 20, max 100).

page
string

1-indexed page number.

Response

Page of conversations.

items
object[]