DealerAI
API Reference

Cancel a thread run

Requests cancellation of the active run on the specified thread. The request is accepted asynchronously (202); the run transitions to a cancelled state once cancellation completes.

POST
/api/v1/assistant/threads/{threadId}/cancel
AuthorizationBasic <token>

Basic Authorization header

In: header

Path Parameters

threadId*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.dealerai.com/api/v1/assistant/threads/string/cancel"
{
  "thread_id": "string",
  "thread_status": "string",
  "message": "string"
}
{
  "message": "string",
  "details": null
}
{
  "message": "string",
  "details": null
}
{
  "message": "string",
  "details": null
}