v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Chat

Cancel chat completion

Cancel chat completion. Accepts a JSON request body when defined and returns the resulting resource or action status.

post/api/projects/{projectId}/sessions/{sessionId}/threads/{threadId}/cancel

Path parameters

projectIdstring required

Project identifier used to scope the request.

sessionIdstring required

Session identifier within the project.

threadIdstring required

Thread identifier within the session.

Response

Cancel result

messagestring

Human-readable status or error message.

statusstring

Current status value.

successboolean

Whether the requested action succeeded.