Update conversation context
curl --request POST \
--url https://api.operator.xyz/conversations/{conversation_id}/context \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Operator-Version: <operator-version>' \
--data '{
"data": {}
}'import requests
url = "https://api.operator.xyz/conversations/{conversation_id}/context"
payload = { "data": {} }
headers = {
"Operator-Version": "<operator-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Operator-Version': '<operator-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({data: {}})
};
fetch('https://api.operator.xyz/conversations/{conversation_id}/context', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}Conversations
Update conversation context
Injects data into an in-progress conversation’s context. This is useful for passing external signals (e.g. “user just verified their identity”) mid-conversation.
POST
/
conversations
/
{conversation_id}
/
context
Update conversation context
curl --request POST \
--url https://api.operator.xyz/conversations/{conversation_id}/context \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Operator-Version: <operator-version>' \
--data '{
"data": {}
}'import requests
url = "https://api.operator.xyz/conversations/{conversation_id}/context"
payload = { "data": {} }
headers = {
"Operator-Version": "<operator-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Operator-Version': '<operator-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({data: {}})
};
fetch('https://api.operator.xyz/conversations/{conversation_id}/context', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use.
Available options:
2025-06-19 Path Parameters
Unique identifier for the conversation, e.g. conv_8qm9JBCiTe7.
Body
application/json
Response
Successful response.

