Skip to main content
GET
/
v1
/
agents
/
{agentId}
/
conversations
/
{contextId}
Get a single conversation with its message history
curl --request GET \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/conversations/{contextId} \
  --header 'Authorization: Bearer <token>'
{
  "conversation": {
    "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"
  },
  "messages": [
    {}
  ]
}

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
contextId
string
required
Maximum string length: 64

Query Parameters

messageLimit
string

Page size for the message history (default 100).

messagePage
string

1-indexed page number for the message history.

Response

Conversation + messages.

conversation
object

Conversation envelope (one row per A2A contextId).

messages
object[]

Task-message records (A2A history entries).