DOCUMENTATION
API Reference
Everything you need to integrate UVAI.io into your applications.
Getting Started
UVAI.io provides a simple REST API for processing videos. Here's a quick example:
curl -X POST https://uvai-io.pages.dev/api/v1/edge/process \
-H "Content-Type: application/json" \
-d '{
"video_url": "https://www.youtube.com/watch?v=...",
"language": "en",
"extract_events": true
}'
REST API Endpoints
GET
/api/health
Check system health and backend connectivity.
View Response Example
{
"status": "healthy",
"version": "2.0.0",
"proxy": "cloudflare-edge",
"components": {
"video_processor": true,
"websocket": true
}
}
POST
/api/v1/edge/process
Process a video and extract intelligence.
// Request Body
{
"video_url": "string (required)",
"language": "string (default: en)",
"extract_events": "boolean (default: true)",
"dispatch_agents": "boolean (default: false)",
"webhook_url": "string (optional)"
}
GET
/api/v1/mcp/tools
List available MCP tools for AI assistant integration.
Returns tool definitions compatible with Claude, GPT-4, and other MCP-compatible AI systems.
POST
/api/v1/mcp/execute
Execute an MCP tool.
{
"tool": "extract_transcript | extract_events | analyze_video | video_to_software",
"parameters": {
"video_url": "string",
"...": "tool-specific params"
}
}
Cloudflare Workflows
UVAI.io supports durable Cloudflare Workflows for long-running video processing tasks.
Workflow bindings are being configured. Full workflow support coming soon.