Skip to main content
PATCH
/
v1
/
agents
/
{agentId}
/
conversations
/
{contextId}
Update conversation metadata (title, archive, star)
curl --request PATCH \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/conversations/{contextId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_starred": true,
  "title": "Updated Title"
}
'
{
  "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
contextId
string
required
Maximum string length: 64

Body

application/json
title
string
Maximum string length: 512
is_archived
boolean
is_starred
boolean

Response

Updated 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>