GRGlobalRouter Docs
Console

Videos / GET

Get video

Query OpenRouter video task status.

endpoint list

Mobile view shows the endpoint list. Use desktop view for parameters and examples.

MethodEndpointDescription
POST/api/v1/videosCreate an OpenRouter video task.
GET/api/v1/videos/modelsList models available for OpenRouter video generation.
GET/api/v1/videos/{jobId}Query OpenRouter video task status.
GET/api/v1/videos/{jobId}/contentRead artifact content from a completed OpenRouter video task.
GET/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 list

Request parameters

FieldTypeRequiredDescription
path.jobIdstringYespath parameters。

Response fields

FieldTypeRequiredDescription
idstringNoSee the OpenAPI schema for field details.
generation_idstringNoSee the OpenAPI schema for field details.
statusstringNoAllowed values: pending, running, completed, failed, canceled, timeout.
polling_urlstringNoSee the OpenAPI schema for field details.
unsigned_urlsstring[]NoSee the OpenAPI schema for field details.
usageUsageNousage.cost is the upstream cost fact when present, including 0. GR billing may apply local discounts when writing final cost.
usage.prompt_tokensintegerNoSee the OpenAPI schema for field details.
usage.completion_tokensintegerNoSee the OpenAPI schema for field details.
usage.total_tokensintegerNoSee the OpenAPI schema for field details.
usage.costnumberNousage.cost
usage.is_byokbooleanNoSee the OpenAPI schema for field details.
usage.cost_detailsobjectNoSee the OpenAPI schema for field details.
usage.prompt_tokens_detailsobjectNoSee the OpenAPI schema for field details.
usage.completion_tokens_detailsobjectNoSee the OpenAPI schema for field details.
usage.server_tool_useobjectNoSee the OpenAPI schema for field details.

Errors

401UNAUTHORIZED

Missing or invalid Authorization Bearer token.

403FORBIDDEN

The current API key is not authorized for this scope, model, or management capability.

422VALIDATION_ERROR

The 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.