Spectatr.ai

Content Delivery

Cloud storage

Every rendered clip and compilation, copied into your own bucket the moment it renders.


Supported buckets

ProviderWhat we need from you
Google Cloud StorageBucket name, region, and an HMAC key (access key and secret) for a service account that can create objects in the bucket.
Amazon S3Bucket name, region, and an access key pair for an IAM user that can s3:PutObject on the prefix. Alternatively, grant our AWS account write access on the bucket.

Where files land

RenderObject key
Clipspectatr/segment/{accountId}/{matchId}/{clipId}/{aspectRatio}_{language}.mp4
Clip with scoreboard overlayspectatr/segment/{accountId}/{matchId}/{clipId}/{aspectRatio}_{language}_scoreboard.mp4
Clip with its replay attachedspectatr/segment/{accountId}/{matchId}/{clipId}/replay_with_parent_{aspectRatio}.mp4
Compilationspectatr/compilation/{accountId}/{matchId or global}/{compilationId}/{aspectRatio}.mp4

Aspect ratios are written with an underscore, for example 16_9 and 9_16. {clipId} and {compilationId} are the id you receive in webhook events. Read metadata from the events, not from the key, because the layout can gain new variants.

When a file lands

Timing
The file is uploaded straight after the render finishes, from the same render.
Webhook
With a webhook configured, render.available follows, carrying the full URL of the object in your bucket.
GCS URL
https://storage.googleapis.com/{bucket}/{key}
S3 URL
https://{bucket}.s3.{region}.amazonaws.com/{key}
Failure
A failed upload sends no event for that file, and our operations team is alerted.
Re-render
A clip that is trimmed or re-verified renders again and overwrites the same key.

Checking access

When you share a key, we write one test object, spectatr/.spectatr-write-check.txt, to confirm we can publish. You can delete it.