Omni AI
Get Thread Response
Get the active response for a thread.
Convenience endpoint to look up the currently active response for a thread without knowing the response_id. Useful when reloading a thread whose last finalized message is a USER message — this indicates an assistant turn is likely in progress.
Returns 404 if no active response exists (the thread is idle).
get/v1/omni-ai/threads/{thread_id}/response
Path parameters
thread_idstring uuid required
Thread to check for active response
Query parameters
account_idinteger required
Account ID for the request
Response
Current response snapshot or idle thread
Example response
{
"error": {
"code": 400,
"message": "Order quantity must be greater than zero"
},
"data": {
"content": {
"parts": [
{
"action": {
"prefill_order": {
"action_type": "NEW",
"orders": [
{
"limit_price": "150.00",
"order_type": "LIMIT",
"quantity": "100",
"side": "BUY",
"symbol": "AAPL",
"time_in_force": "DAY"
}
]
}
}
}
]
}
}
}