Skip to main content

Endpoints

Use aggregate() for counts, groups, facets, and metrics.

Request body

aggregate() does not accept return_fields and does not return Shot objects.

Example

Example with filters

Response

aggregate() returns an envelope containing the aggregate rows and any migration warnings:
Use response["results"] for the aggregate rows. When the server includes warnings, the SDK also emits them as Python UserWarning messages.

Use VideoDB in your agent

VideoDB lets an AI agent watch, search and clip video.Free to start: $10 of credits, no credit card. Steps for every client