API Reference
Get an assistant thread
Returns the metadata and current state of a single assistant thread, including its run status. Returns 404 if the thread does not exist or does not belong to the authenticated dealer.
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 GET "https://api.dealerai.com/api/v1/assistant/threads/string"{
"thread_id": "string",
"dealer_id": "string",
"title": "string",
"objective": "string",
"status": "string",
"latest_run_id": "string",
"created_date": "2019-08-24T14:15:22Z",
"last_modified_date": "2019-08-24T14:15:22Z"
}{
"message": "string",
"details": null
}{
"message": "string",
"details": null
}{
"message": "string",
"details": null
}Send a message to the assistant
Sends a user message to the AI assistant. If no thread is specified a new thread is created. The request is accepted asynchronously (202) and processed as a run; poll the run or its events endpoint to retrieve the assistant's response.
Delete an assistant thread
Permanently deletes the specified assistant thread and its messages. Returns 409 if the thread has an active run that must complete or be cancelled first.