Skip to main content
POST
Cancel a session message

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

id
string<uuid>
required

Session UUID, e.g. 00000000-0000-4000-8000-000000000001.

Example:

"00000000-0000-4000-8000-000000000001"

messageId
string
required

Message ID returned when the message was sent, or listed in the conversation.

Required string length: 1 - 200
Example:

"00000000-0000-4000-8000-000000000002"

Response

Cancellation accepted.

id
string
required

Message ID returned when the message was sent, or listed in the conversation.

Required string length: 1 - 200
Example:

"00000000-0000-4000-8000-000000000002"

status
enum<string>
required
Available options:
cancelling,
cancelled