Sets the message state to canceled when the message is not already terminal (completed, failed, or canceled). Returns 409 when the message is already terminal. Requires JWT with at least read scope.
curl --request POST \
--url https://api.svantic.com/messages/cancel \
--header 'Content-Type: application/json' \
--data '
{
"message_id": "<string>"
}
'{
"ok": true,
"message_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.svantic.com/llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.svantic.com/messages/cancel \
--header 'Content-Type: application/json' \
--data '
{
"message_id": "<string>"
}
'{
"ok": true,
"message_id": "<string>"
}