Content
Add videos to ContentIndexer by uploading a file or referencing an external URL (including YouTube links). Referenced content is fetched and stored on our infrastructure.
/v1/content/uploadUpload a video file (multipart/form-data)/v1/content/referenceReference a YouTube URL or external link/v1/contentList your content (limit, offset)/v1/content/{contentId}Delete content and associated dataUpload a file
curl -X POST "https://api.contentindexer.com/v1/content/upload" \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "file=@/path/to/video.mp4" \ -F "name=My Wedding Video"
Reference a URL
curl -X POST "https://api.contentindexer.com/v1/content/reference" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"name": "Reference Video"
}'Content response shape
{
"id": "cnt_01HXG5K3...",
"name": "My Wedding Video",
"source_url": "https://example.com/video.mp4",
"duration_s": 247,
"size_bytes": 104857600,
"status": "ready",
"created_at": "2025-06-01T12:00:00Z"
}