Skip to main content
POST
AI Conversation

Overview

API endpoint for retrieving conversation history from a channel or session. This endpoint allows you to access previous interactions with your AI.

Authorization

x-api-key
string
required
Your Personal AI API key

Headers

Content-Type
string
required
Must be set to application/json

Body

DomainName
string
required
The hyphenated text below the AI’s name when clicked into a Persona.DomainName
Example Request
SessionId
string
required
Session identifier to retrieve specific conversation history
Example Request

Example Request

array
array
Array of conversation messages, including both user messages and AI responses
Example Request

Example Response

Example Success Response

Example cURL

cURL

Error Codes