/api/v1/videos/{jobId}Read task status, artifacts, and usage by job ID. After success or failure, use the result to reconcile final cost.
Back to Videos endpoint listRequest parameters
| Field | Type | Required | Description |
|---|---|---|---|
path.jobId | string | Yes | path parameters。 |
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | See the OpenAPI schema for field details. |
generation_id | string | No | See the OpenAPI schema for field details. |
status | string | No | Allowed values: pending, running, completed, failed, canceled, timeout. |
polling_url | string | No | See the OpenAPI schema for field details. |
unsigned_urls | string[] | No | See the OpenAPI schema for field details. |
usage | Usage | No | usage.cost is the upstream cost fact when present, including 0. GR billing may apply local discounts when writing final cost. |
usage.prompt_tokens | integer | No | See the OpenAPI schema for field details. |
usage.completion_tokens | integer | No | See the OpenAPI schema for field details. |
usage.total_tokens | integer | No | See the OpenAPI schema for field details. |
usage.cost | number | No | usage.cost |
usage.is_byok | boolean | No | See the OpenAPI schema for field details. |
usage.cost_details | object | No | See the OpenAPI schema for field details. |
usage.prompt_tokens_details | object | No | See the OpenAPI schema for field details. |
usage.completion_tokens_details | object | No | See the OpenAPI schema for field details. |
usage.server_tool_use | object | No | See the OpenAPI schema for field details. |
Errors
401
UNAUTHORIZEDMissing or invalid Authorization Bearer token.
403
FORBIDDENThe current API key is not authorized for this scope, model, or management capability.
422
VALIDATION_ERRORThe request body, path parameters, or query parameters do not match the endpoint schema.
Notes
- Use a GlobalRouter API key; upstream OpenRouter API keys are never exposed to tenants.