Skip to main content
POST
Create a new conversation

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

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>