DocsQuery Task Info
OverRouter AI
Query Task Info
POST
/api/llm/queryTaskRequest Parameters
Headers
AuthorizationstringrequiredBearer token for authentication. See Market Quickstart for Authorization generation.
Content-TypestringrequiredMust be application/json
API-KEYstringrequiredAPI key, format: ak- followed by the api-key
Body
taskIdstringrequiredTask ID, returned when creating a task
Responses
application/json
codeintegerResponse status code
200: Success - Request processed successfully
401: Unauthorized - Missing or invalid authentication credentials
402: Insufficient Credits - Account balance insufficient for this operation
404: Not Found - Requested resource or endpoint does not exist
422: Validation Error - Request parameters failed validation
429: Rate Limited - Request rate limit exceeded
455: Service Unavailable - System is currently under maintenance
500: Server Error - An unexpected error occurred while processing the request
501: Generation Failed - Content generation task failed
505: Feature Disabled - Requested feature is currently disabled
msgstringResponse message, error description on failure
dataobjectResponse data object
taskIdstringTask ID
statusstringTask status: success, fail, error
videoUrlListarrayVideo URL list
imageUrlListarrayImage URL list
audioUrlListarrayAudio URL list
usageTotalTokenstringTotal tokens consumed
textContentstringText content, chat model response text
Code Examples
curl -X POST /api/llm/queryTask \
-H "Content-Type: application/json" \
-H "Authorization: See Market Quickstart for Authorization generation" \
-H "API-KEY: API key, ak- followed by the api-key" \
-d '{
"taskId": "your-task-id"
}'200Success Response
{
"code": 0,
"message": "success",
"data": {
"status": "success",
"videoUrlList": [
"https://ark-content-generation-cn-beijing.tos-cn-beijing.volces.com/doubao-seedance-1-5-pro/02177546969249300000000000000000000ffffac19371bf2b97f.mp4?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20260406%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20260406T100212Z&X-Tos-Expires=86400&X-Tos-Signature=7e4966955f062a41f71fa889e10b2491e95423c322b9f27ab57756d770311862&X-Tos-SignedHeaders=host"
],
"imageUrlList": null,
"audioUrlList": null,
"usageTotalToken": "108900"
},
"timestamp": 1775478524003,
"success": true
}