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.
Authorization
basic 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
}Stream run events
Returns the event stream produced by an assistant run, such as incremental output and tool-call activity. Use the Cursor and Take query parameters to page through events as the run progresses.
Verify Authentication
Verifies the provided Basic Authentication credentials and returns the authenticated dealer ID.