1. Set your credentials
2. Submit a task
Ask Gemini a question.taskType picks the engine; payload.prompt is what you ask.
credits is part of the response envelope. On submit and poll it is always zero; the
webhook reports the per-engine credit cost (1–2 credits for the public answer engines; Source Influence uses separate metering). Balances are visible on the
dashboard.3. Collect the result
- Webhook (recommended)
- Polling
Add Your endpoint receives
webhook.url when you submit. When the task reaches a terminal state we POST
the full result there, and you never poll.{ task, credits, response }. See Webhooks
for the delivery and retry contract.4. Submit in bulk
POST /v1/async/task/batch takes a JSON array of the same task objects, up to 500
per request. You may mix engines freely within one batch.
200 for a well-formed request. Individual failures surface as
results[].success = false so one bad task never sinks the rest — see
Batch submission.
Google-family engines (
GOOGLE, AIMODE, NAVER_*) read payload.query. LLM engines
read payload.prompt. Supplying either satisfies validation, but the engine only reads
the one it expects.Next steps
Pick an engine
Every
taskType, what it returns, and how fast you may push it.Handle failures
Error codes, status codes, and what is retryable.