Get AI job status
Changed onRetrieve the current status and details of an AI job, including its state, progress information, and result summary.
The response fields vary by state — for example, progress is only present during EXECUTING, and resultSummary is only present when COMPLETE.
Poll this endpoint every 2–5 seconds until the job reaches a terminal state (COMPLETE, FAILED, or CANCELLED).
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/jobs/{jobId}
- AuthHTTP bearer
Path parameters
The unique identifier of the AI job
Response
Job status retrieved successfully. Check the state field to determine if the job is still running or has reached a terminal state.
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"state": "QUEUED",
"prompt": "What are the top 5 products by revenue?",
"conversationId": "660e8400-e29b-41d4-a716-446655440001",
"modelId": "770e8400-e29b-41d4-a716-446655440002",
"organizationId": "880e8400-e29b-41d4-a716-446655440003",
"userId": "990e8400-e29b-41d4-a716-446655440004",
"topicName": "order_items",
"requestedLlm": {
"model": "claude-sonnet-5",
"provider": "bedrock",
"thinking": "medium"
},
"omniChatUrl": "https://blobsrus.omni.co/chat/660e8400-e29b-41d4-a716-446655440001",
"progress": {
"iteration": 2,
"message": "Running query: Top products by revenue",
"toolName": "generate_query",
"updatedAt": "2025-01-15T10:00:08.000Z"
},
"resultSummary": "### Top 5 Products by Revenue\n\n1. **Sunglasses** - $678,994\n2. **Jeans** - $475,072",
"error": {
"code": "QUERY_EXECUTION_ERROR",
"message": "Column 'revenue' not found in table 'orders'",
"detail": "The query timed out after 300 seconds"
},
"createdAt": "2025-01-15T10:00:00.000Z",
"executionStartedAt": "2025-01-15T10:00:05.000Z",
"completedAt": "2025-01-15T10:01:30.000Z",
"cancelledAt": "2025-01-15T10:00:12.000Z",
"cancelledBy": "990e8400-e29b-41d4-a716-446655440004",
"updatedAt": "2025-01-15T10:00:05.000Z"
}Changes
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
getAIJobStatusremoved and replaced withaiJobStatus - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning