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.
Authorization
basic Basic Authorization header
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.dealerai.com/api/v1/assistant/threads/message" \ -H "Content-Type: application/json" \ -d '{ "message": "string" }'{
"thread_id": "string",
"run_id": "string",
"thread_status": "string",
"run_status": "string",
"run_outcome": "string",
"run_outcome_code": "string"
}{
"message": "string",
"details": null
}{
"message": "string",
"details": null
}{
"message": "string",
"details": null
}{
"message": "string",
"details": null
}List assistant threads
Returns the most recent AI assistant conversation threads for the authenticated dealer. Use the take query parameter to limit how many threads are returned.
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.