Skip to content

Start here

Integration overview

Submit your first task and retrieve its result.

https://docs.aigcgeo.com/gateway
Terminal window
curl --request POST \
--url 'https://docs.aigcgeo.com/gateway/v1/tasks/batch' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Idempotency-Key: request-20260814-0001' \
--header 'Content-Type: application/json' \
--data '[
{
"question": "Describe the core products publicly announced by this brand.",
"platformCode": "qianwen",
"options": {"deepAnalysis": false, "output": "answer"}
}
]'

The API returns HTTP 202 and one taskId per list entry. Retrieve the state and result with GET /v1/tasks/{task_id}.

Reuse the original Idempotency-Key for a retry of the same request. Use a new value for a new submission.