Post an app call's result
curl --request POST \
--url https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"components": [
"<unknown>"
],
"content": "<unknown>",
"display": "<unknown>",
"end_user": "<string>",
"executor_id": "<string>",
"is_error": true,
"outcome": "<string>",
"page_context": "<unknown>",
"seq": 123
}
'import requests
url = "https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result"
payload = {
"components": ["<unknown>"],
"content": "<unknown>",
"display": "<unknown>",
"end_user": "<string>",
"executor_id": "<string>",
"is_error": True,
"outcome": "<string>",
"page_context": "<unknown>",
"seq": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
components: ['<unknown>'],
content: '<unknown>',
display: '<unknown>',
end_user: '<string>',
executor_id: '<string>',
is_error: true,
outcome: '<string>',
page_context: '<unknown>',
seq: 123
})
};
fetch('https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"recorded": "<string>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Conversations
Post an app call's result
The accepting executor posts the call’s result for the leg it accepted: the model’s view (content), the step detail (display) and the cards (components). Answers 202 with how it was recorded (live, late, or ignored for a repeat). v3 turns only. An organization key is refused with 403 legacy_key_person_route.
POST
/
conversations
/
instances
/
{instanceSlug}
/
conversations
/
{conversationID}
/
turns
/
{turnID}
/
tool-calls
/
{callID}
/
result
Post an app call's result
curl --request POST \
--url https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"components": [
"<unknown>"
],
"content": "<unknown>",
"display": "<unknown>",
"end_user": "<string>",
"executor_id": "<string>",
"is_error": true,
"outcome": "<string>",
"page_context": "<unknown>",
"seq": 123
}
'import requests
url = "https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result"
payload = {
"components": ["<unknown>"],
"content": "<unknown>",
"display": "<unknown>",
"end_user": "<string>",
"executor_id": "<string>",
"is_error": True,
"outcome": "<string>",
"page_context": "<unknown>",
"seq": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
components: ['<unknown>'],
content: '<unknown>',
display: '<unknown>',
end_user: '<string>',
executor_id: '<string>',
is_error: true,
outcome: '<string>',
page_context: '<unknown>',
seq: 123
})
};
fetch('https://api.usenexio.com/conversations/instances/{instanceSlug}/conversations/{conversationID}/turns/{turnID}/tool-calls/{callID}/result', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"recorded": "<string>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Path Parameters
Body
application/json