API Reference

Getting Started

The FrameQuery API allows you to programmatically upload, analyze, and search video content. To use the API, you'll need an API key, which you can generate in your account settings.

Base URL

All API requests should be made to the following base URL:

https://api.framequery.com/v1

Authentication

All API requests require authentication. Include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY

Rate Limiting

API requests are rate-limited to 100 requests per second. If you exceed this limit, you'll receive a 429 Too Many Requests response.

Authentication

Endpoints for authenticating with the FrameQuery API

POST
/api/auth/token

Generate an API token

Parameters

NameTypeRequiredDescription
secretstringYesYour secret key

Videos

Endpoints for managing and analyzing videos

GET
/api/videos

List all videos in your account

Parameters

NameTypeRequiredDescription
pageintegerNoPage number for pagination
limitintegerNoNumber of results per page
statusstringNoFilter by video status (new, processing, processed)
POST
/api/videos/signed-url

Retrieve a signed URL for uploading a video

Parameters

NameTypeRequiredDescription
file namestringYesThe name of the video file to upload
POST
/api/videos/upload

Upload a new video for analysis

Parameters

NameTypeRequiredDescription
filefileYesThe video file to upload
GET
/api/videos/{id}

Get details for a specific video

Parameters

NameTypeRequiredDescription
idstringYesThe video ID
DELETE
/api/videos/{id}

Delete a video

Parameters

NameTypeRequiredDescription
idstringYesThe video ID