Get AI conversation with messages
Changed onReturn a conversation with its full message history (alternating user / assistant turns). Used by clients (iOS app, embed widgets) to restore a prior conversation in their UI. Also serves the conversation behind an AI eval run result: pass results[].agentic_job.conversation_id from GET /api/v1/ai/eval/runs/{runId}. Eval conversations do not appear in GET /api/v1/ai/conversations; this endpoint is the only way to read one. For a user-scoped token the conversation must belong to the caller; for an eval run that is the user who created the run. Use an organization API key to read another user's eval transcripts. Eval conversations also require at least QUERIER on the run's model, the same gate as the eval API. Assistant text is retained for 30 days; older conversations return only their user turns. userId is the user ID of the person the conversation belongs to, whether it started in the Omni UI or through the API.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/ai/conversations/{conversationId}
- AuthHTTP bearer
Path parameters
Response
Conversation with messages in chronological order.
Example response
{
"messages": [
{
"createdAt": "2025-01-15T10:00:00.000Z",
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"omniChatUrl": "https://my-org.omni.co/chat/660e8400-e29b-41d4-a716-446655440001",
"role": "user",
"text": "What were our top products last week?"
}
],
"userId": "770e8400-e29b-41d4-a716-446655440002"
}Changes
- info
added the required property
to the response with the status
- info