Personal AI APIs
AI Conversation
Retrieve conversation history from a channel
POST
Overview
API endpoint for retrieving conversation history from a channel or session. This endpoint allows you to access previous interactions with your AI.
Headers
Must be set to application/json
Your Personal AI API key
Body
The domain part of the AI profile url
Example Request
Session identifier to retrieve specific conversation history
Example Request
Example Request
Array of conversation messages, including both user messages and AI responses
Example Request
Example Response
Example Success Response
Example cURL
cURL
Error Codes
Code | Description |
---|---|
503 | Authorization Failure - API key is invalid |
404 | Not Found - Conversation or session not found |
Example Error Response