Personal AI APIs
AI Instruction
Send instructions to your AI for specific actions
POST
Overview
API endpoint for sending specific instructions to your AI. This endpoint allows you to interact with different AI models and execute specific commands.
Headers
Must be set to application/json
Your Personal AI API key
Query Parameters
Command to execute (e.g., “chatgpt”, “search”)
Body
Text instruction to send to your AI
Example
Additional context for the instruction
Example
The domain part of the AI profile url
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
Example Success Response
Example cURL
cURL
Error Codes
Code | Description |
---|---|
503 | Authorization Failure - API key is invalid |
503 | Processing Failure - Instruction could not be processed |
Example Error Response