API reference

Download authenticated video content

GET/v1/videos/{task_id}/content

Download MP4 with the owning Key after success and settlement, up to 512 MiB. Expiry is an error; Range returns 416. No regeneration.

Authentication and permissions

Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.

Authorization: Bearer $GLOOP_API_KEY

Authentication schemes: BearerAuth

Authentication schemes: VideoContentSignature

Request

Path parameters

Query parameters

  • variantstringOptional
    Default value
    "video"
    Enum
    ["video"]
  • expiresintegerOptional
    Format
    "int64"

Responses and errors

HTTP 200

Request succeeded.

video/mp4

Type
string
Format
binary
{
  "type": "string",
  "format": "binary"
}

HTTP 400

Request failed.

application/json

Type
object
Required fields
error

HTTP 401

The key is missing, invalid, expired, or revoked.

application/json

Type
object
Required fields
error

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 404

Object or capability unavailable.

No response body.

HTTP 409

Request conflict, not ready, or submission unknown. Query the original record first; never blindly resend.

No response body.

HTTP 410

The object or content is no longer valid.

No response body.

HTTP 416

Request failed.

No response body.

HTTP 429

Request/queue rate limit.

application/json

Type
object
Required fields
error

HTTP 500

Internal authentication or data storage failure.

application/json

Type
object
Required fields
error