Threads

Poll for AI response

Polls for the AI response to a user message.

Returns 202 Accepted while the thread is in waiting or active state. Returns 200 OK once the thread returns to ready and the full response is available. Returns 404 if no response exists for the message.

Prefer the SSE stream endpoint for lower latency.

get/threads/{thread-id}/messages/{message-id}/response

Request

  • Base URL: https://api.korey.ai/api/v1
  • URL: https://api.korey.ai/api/v1/threads/{thread-id}/messages/{message-id}/response
  • Auth: HTTP bearer

Path parameters

thread-idstring uuid required

The thread ID.

message-idstring uuid required

The message ID.

Response

Success

status'complete' required

Changes

No recorded changes to this operation across all 1 revision of this API.