AI
Rate an AI job's response
Changed onRate an AI job's response using the same thumbs up/thumbs down and optional comment a user can give a response in the Omni UI or in Slack.
The job must have finished or the API returns a 409. Poll the Get AI job status endpoint to retrieve a job's current status. Submit feedback once per job.
<Note> Personal Access Tokens can only rate their own jobs. If using an Organization API key, pass `userId` to attribute the feedback to a specific user. This must be the same `userId` the job was submitted with. </Note>post/v1/ai/jobs/{jobId}/feedback
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/jobs/{jobId}/feedback
- AuthHTTP bearer
Path parameters
jobIdstring uuid required
The unique identifier of the AI job
Example:123e4567-e89b-12d3-a456-426614174000
Query parameters
userIdstring uuid
Organization API key required. The membership ID of the user to act as.
Request body
Example request
{
"comment": "Grouped by order date instead of ship date.",
"rating": "bad"
}Response
Feedback recorded.
Example response
{
"comment": "Grouped by order date instead of ship date.",
"conversationId": "660e8400-e29b-41d4-a716-446655440001",
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"rating": "bad",
"submittedAt": "2025-01-15T10:00:00.000Z"
}Changes
- info
endpoint added
- info