Video Analysis

Analyze an uploaded MP4 or MOV with standard or deep timestamp-aware multimodal reasoning. If an input is local, [upload a local input](/quick-guide#upload-an-input-file) and use the returned `data.url`. Save `data.id`, [poll the Task](/quick-guide#get-task-status), and follow the [error and retry policy](/quick-guide#errors-and-retry-policy).

Authentication

AuthorizationBearer

Send your API key as Authorization: Bearer <BEATAPI_API_KEY>.

Headers

Idempotency-KeystringOptional
Optional retry key. Reusing the same key with the same normalized request returns the accepted task.

Request

This endpoint expects an object.
video_urlstringRequiredformat: "uri"

BeatAPI-hosted MP4 or MOV input URL returned by POST /v1/files for the current account. Maximum verified duration is 600 seconds.

promptstringRequired1-12000 characters
Analysis instruction. Ask for timestamped output when temporal precision matters.
analysis_depthenumOptionalDefaults to standard

Standard is the default low-cost route; deep uses the higher-reasoning route.

max_output_tokensintegerOptional256-8192Defaults to 2048

Requested answer budget. Provider-reported output usage can include hidden reasoning tokens above this value; BeatAPI records the variance for audit and settles actual reported usage within the task reservation.

Response

Analysis accepted for asynchronous processing.
dataobject
Accepted or current BeatAPI task state.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
409
Conflict Error
429
Too Many Requests Error