Overview
API endpoint for sending specific instructions to your AI. This endpoint allows you to interact with different AI models and execute specific commands.Authorization
Your Personal AI API key
Headers
Must be set to application/json
Query Parameters
- chatgpt
- search
Example
Example
Body
Text instruction to send to your AI
Example
Additional context for the instruction
Example
The hyphenated text below the AI’s name when clicked into a Persona.

Example
Name of the user sending the request
Example
Session identifier for maintaining conversation context
Example
Source application name
Example
Flag to indicate if the instruction should be treated as a message
Example
Example Request
Example
Example Response
The AI’s response to the instruction
Confidence score of the AI’s response
The name given to the AI persona
The Id of the conversation that was passed or automatically generated
The source from which the request was initiated from as specified in the original API request
Example Success Response
Example cURL
cURL
Error Codes
Code | Description |
---|---|
403 | Forbidden - Check that API key is invalid |
503 | Processing Failure - Instruction could not be processed |
Example Error Response