Retrieve an LLM completion. Supports ChatGPT, Gemini, Perplexity, and Copilot with geotargeting.
Changed onRequest
- Base URLhttps://api.orthogonal.com/mpp
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Question or instruction (max 2047 chars)
AI model: chatgpt, gemini, perplexity, copilot
Device name to emulate
Two-letter ISO country code
Subdivision code
City name
Language name or ISO code (planned)
Output format: json or rendered
Cache expiration in days (0 disables)
Encoded callback URL or SQS queue URL/ARN for async notification
sync or async mode
Response
Successful response
Changes
- breaking
added the new required
queryrequest parameterprompt - info
added the new optional
queryrequest parametercallback - info
added the new optional
queryrequest parametercity - info
added the new optional
queryrequest parametercountry - info
added the new optional
queryrequest parameterdevice - info
added the new optional
queryrequest parameterexpiration - info
added the new optional
queryrequest parameterformat - info
added the new optional
queryrequest parameterlanguage - info
added the new optional
queryrequest parametermode - info
added the new optional
queryrequest parametermodel - info
added the new optional
queryrequest parametersubdivision
- breaking
- info
api tag
Massive Webadded - info
api tag
Massive Web APIremoved
- info