Prompts
Run a prompt across AI models and get their answers
Sends one prompt to the selected AI engines (ChatGPT, Claude, Gemini, Perplexity) and returns each model's full answer plus the sources it cited. Costs 3 credits per engine.
POST
/v1/prompts/runAuthorization
accessKey x-access-key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/prompts/run" \ -H "Content-Type: application/json" \ -d '{ "prompt": "string" }'{
"success": true,
"credits": {
"charged": 0,
"remaining": 0
},
"data": {
"prompt": "string",
"results": [
{
"engine": "string",
"model": "string",
"answer": "string",
"sources": [
"string"
]
}
]
}
}{
"success": false,
"message": "string"
}{
"success": false,
"message": "string"
}{
"success": false,
"message": "string"
}{
"success": false,
"message": "string"
}