Skip to main content

Patch Conversation

PATCH 

/api/v1/conversations/:conversation_id

Partial update of a conversation — title, pin state, or temporary chat. Set temporary_chat to true to stop this conversation's turns from being saved to long-term context.

Summary​

PATCH /api/v1/conversations/{conversation_id} is an operation in the conversations group of the Nexatron REST API, served from https://api.nexatron.io. Send an API key as a bearer token in the Authorization header. It takes the path parameter conversation_id and a JSON body with no required fields. A successful call returns 200; the other documented responses are 400, 401, 403, 404 and 422.

Example request​

curl -X PATCH "https://api.nexatron.io/api/v1/conversations/<conversation_id>" \
-H "Authorization: Bearer $NEXATRON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"is_pinned":true}'

Placeholders in angle brackets stand for your own values. NEXATRON_API_KEY holds an API key from Settings → API tokens. See the API overview for authentication, errors and rate limits.

Request​

Responses​

Successful Response