GRGlobalRouter Docs
Console

Videos / GET

Get video content

Download generated video content as raw bytes.

GET /api/v1/videos/{jobId}/content

Returns the selected completed artifact using the upstream or stored video MIME type, such as video/mp4. The response is not a JSON envelope.

Back to Videos endpoint list

Request parameters

FieldTypeRequiredDescription
AuthorizationheaderyesBearer API key with tasks scope.
jobIdpathyesVideo generation job ID, at least 1 character.
indexquerynoArtifact index to download, >= 0. Defaults to 0.

Request examples

Get video content request examples
curl "https://api.globalrouter.com/api/v1/videos/job_123/content?index=0" \
  -H "Authorization: Bearer $GR_API_KEY" \
  --output video.mp4

Response fields

FieldTypeRequiredDescription
bodybinaryyesRaw video bytes.
Content-TypeheaderyesArtifact MIME type, for example video/mp4.

Response example

Response example
Binary video bytes with Content-Type: video/mp4

Errors

HTTPCodeDescription
404VIDEO_CONTENT_NOT_AVAILABLEThe job does not have a readable artifact at the requested index.