Skip to main content
POST
Estimate Video Analysis Cost

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
string
required
workspace_id
string
required

Body

application/json
creator_video_ids
string[]
required

The videos to price. Ids the workspace does not know are skipped rather than rejected, so a stale selection still gets a price for the rest of it.

Response

Successful Response

videos
VideoAnalysisCostItemResponse · object[]
required
total_cost
integer
required

Generations the whole selection would cost.

available_generations
integer
required

Generations currently left in the workspace.

is_affordable
boolean
required

True when the workspace balance covers the total. A selection holding videos that were already analyzed is still priced in full here -- the trigger, not this endpoint, decides what is actually charged.