Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
conversations
Create a new conversation
curl --request POST \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/conversations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Test 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"
}

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

Body

application/json
title
string

Optional title (default New conversation).

Maximum string length: 512

Response

Created conversation.

Conversation envelope (one row per A2A contextId).

contextId
string
agent_id
string
title
string
is_archived
boolean
is_starred
boolean
messages_count
integer
last_message_at
string
createdAt
string<date-time>