Get a specific chat by ID.
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Chat ID
"chat_abc123"
List of related objects to expand in the response. Example: ?expand[]=model&expand[]=versions
["model"]Successful Response
Chat response with full details.
Timestamp when the resource was created
"2024-01-15T10:30:00Z"
Timestamp when the resource was last updated
"2024-01-15T14:45:00Z"
Organization ID for tenant isolation
1 - 64"org_abc123"
Unique chat identifier
"chat_abc123"
Identifier of the AI model used for this chat.
"model_large-model"
ID of the user who created this chat
"user_xyz789"
Chat title
500"Product Support Chat"
System-level instructions for the AI model.
"You are a helpful customer support assistant."
Operational status of the chat. 'generating' indicates a background stream is actively running (poll again). 'error' indicates the last stream was interrupted or failed. null indicates the chat is in a normal, idle state.
generating, error "generating"
Human-readable description of the last error, if status is 'error'.
"Stream interrupted (client disconnect or network error)"
Timestamp of the last error, if status is 'error'.
Full model object (included when expanded with ?expand[]=model)
{
"contextWindow": 128000,
"createdAt": "2025-09-08T06:33:19Z",
"creditMultiplier": 2,
"description": "Advanced language model for complex tasks",
"displayName": "large-model Omni",
"enabled": true,
"id": "550e8400-e29b-41d4-a716-446655440000",
"isRecommended": true,
"isSystemModel": false,
"lifecycleState": "active",
"maxTokensPerRequest": 4096,
"metadata": {},
"modelName": "large-modelo",
"provider": "provider-a",
"supportsStreaming": true,
"updatedAt": "2025-09-08T06:33:19Z"
}Messages in this chat
Total number of documents associated with the chat.
x >= 03
Chat visibility level
private, organization, shared "private"
List of user IDs this chat is shared with
["user_123", "user_456"]Timestamp when the chat was soft-deleted
ID of the user who deleted this chat
Request origin: api, m2m, connector
Specific source: dashboard, slack, google_drive, etc.
When true the chat has a finite TTL and will be automatically deleted once ephemeral_expires_at is reached.
UTC timestamp at which this ephemeral chat will be auto-deleted. Null for non-ephemeral chats.