DocsQuery Task Info
OverRouter AI

Query Task Info

POST/api/llm/queryTask

Request Parameters

Headers

Authorizationstringrequired

Bearer token for authentication. See Market Quickstart for Authorization generation.

Content-Typestringrequired

Must be application/json

API-KEYstringrequired

API key, format: ak- followed by the api-key

Body

taskIdstringrequired

Task ID, returned when creating a task

Responses

application/json
codeinteger

Response 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
msgstring

Response message, error description on failure

dataobject

Response data object

taskIdstring

Task ID

statusstring

Task status: success, fail, error

videoUrlListarray

Video URL list

imageUrlListarray

Image URL list

audioUrlListarray

Audio URL list

usageTotalTokenstring

Total tokens consumed

textContentstring

Text 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
}
Built with overrouter.ai© 2026 overrouter.ai