v51

latestOpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
AI Chat

Get AI chat processing status

Poll for the current processing status of an AI chat session. Returns the status (idle, processing, completed, or error) along with any pending question, completed response, or error message.

get/v1/ai/chat/{chat-id}/status

Path parameters

chat-idinteger required

Chat session ID

Response

Status retrieved successfully

status'idle' | 'processing' | 'completed' | 'error'

Current processing state

{"stackTrail":"paths:/v1/ai/chat/{chat-id}/status:get:responses:200:content:application/json:schema:properties:pendingQuestion","oasType":"schema","type":"unknown","description":"Pending question from AI (present when status is processing)","nullable":true}
currentFunctionstring nullable

Name of the function currently being executed by AI (present when status is processing)

responsestring nullable

AI response text (present when status is completed)

errorMessagestring

Error description (present when status is error)