v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBAI
Get conversation
Retrieve a conversation with its full message history — alternating user and assistant turns. Each assistant turn carries the originating jobId and an omniChatUrl deep link.
The conversations returned by this API depend on the type of API key being used:
- Organization API keys can access any conversation in the organization
- Personal Access Tokens can only access the authenticating user's conversations
get/v1/ai/conversations/{conversationId}
Path parameters
conversationIdstring uuid required
The unique identifier of the conversation
Response
Conversation retrieved successfully
Example response
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"userId": "990e8400-e29b-41d4-a716-446655440004",
"organizationId": "880e8400-e29b-41d4-a716-446655440003",
"createdAt": "2025-01-15T10:00:00.000Z",
"updatedAt": "2025-01-15T10:01:30.000Z",
"messages": [
{
"role": "user",
"content": "What are the top 5 products by revenue?",
"timestamp": "2025-01-15T10:00:00.000Z",
"jobId": "550e8400-e29b-41d4-a716-446655440000",
"omniChatUrl": "https://my-org.omni.co/chat/660e8400-e29b-41d4-a716-446655440001"
}
]
}