Chat completion endpoint
POST/v3/mira/chat
Processes chat completion requests and returns responses in streaming or non-streaming mode. If thread_id is provided, it will use that thread. If not, it will create a new thread or use the latest one. If X-Project-ID header is provided, the thread will be associated with that project for enhanced context. The thread ID is returned in the Thread-ID response header.
Request
Responses
- 200
- 400
- 404
- 500
Successful response
Invalid request
Thread not found
Failed to get completion