AI Instruction
Send instructions to your AI for specific actions
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
Body
Text instruction to send to your AI
Additional context for the instruction
The domain part of the AI profile url
Name of the user sending the request
Session identifier for maintaining conversation context
Source application name
Flag to indicate if the instruction should be treated as a message
Example Request
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 cURL
Error Codes
Code | Description |
---|---|
403 | Forbidden - Check that API key is invalid |
503 | Processing Failure - Instruction could not be processed |