Create AI job
Changed onSubmit a new AI job for asynchronous execution. The AI will analyze the prompt, generate and execute queries against the specified model, and produce a summarized answer.
Jobs are processed by a background worker and typically complete within 15–60 seconds. The AI chat returned in the response will remain blank until the AI is finished processing.
Use Get AI job status to poll for status, or configure a webhookUrl to receive a notification when the job completes. Optionally continue an existing conversation by providing a conversationId.
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/jobs
- AuthHTTP bearer
Query parameters
Requires an Organization API key. The ID of the user to run the query as.
Personal Access Tokens (PATs) cannot use this parameter to act on behalf of other users.
Request body
Example request
{
"requestedLlm": {
"model": "claude-sonnet-5",
"provider": "bedrock",
"thinking": "medium"
},
"attachments": [
{
"data": "iVBORw0KGgoAAAANSUhEUgAA...",
"mimeType": "image/png",
"name": "legacy-dashboard-screenshot.png"
}
]
}Response
AI job created successfully
Changes
- breaking
added required request body
- info
api operation id
createAIJobwas added - info
the endpoint scheme security
bearerAuthwas added to the API - info
added the new optional
queryrequest parameteruserId - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking