Overview
The Lirovo REST API turns a source video into typed, evidence-linked JSON. Every resource (schemas, destinations, jobs, and their artifacts) is scoped to your tenant. The base URL is https://api.lirovo.ai and every path is prefixed with /v1.
Base URL#
All requests go to https://api.lirovo.ai, and every path is prefixed with /v1. Per-PR preview deploys are served at https://preview-{pr}.api.lirovo.ai. Authenticate every request with an API key as a bearer token; the only unauthenticated endpoint is GET /v1/health.
curl https://api.lirovo.ai/v1/healthThe surface#
Lirovo is the structured-extraction layer for video. You register a schema (a JSON Schema describing the typed output you want), submit a job against a source video, and read back a result: the typed JSON plus the evidence that anchors every extracted value to a source moment with a timestamp and a modality (audio or visual). Pass A also builds a compact knowledge graph of nodes and edges, and the run leaves queryable artifacts behind: the transcript, the kept-frame inventory, and per-frame vision descriptions.
The same surface is also exposed as an MCP server at https://api.lirovo.ai/mcp over Streamable HTTP. These pages document the REST endpoints; the schema source of truth is schemas/openapi.yaml.
404 envelope.Resources#
The API is organized around these resources.
Create, list, get, cancel, and delete jobs, and read the typed result.
Register, list, get, and soft-delete reusable JSON Schema extraction shapes.
Register, list, and soft-delete the targets results are pushed to.
Read a job's evidence chain, knowledge graph, transcript, frames, and vision.
Create, list, and revoke API keys for your tenant. Self-service.
Operator-token-gated tenant onboarding via POST /v1/admin/tenants.
Conventions#
These cross-cutting behaviors apply to every endpoint.
Bearer API key, one-way hashed storage, revocation, and request IDs.
URL major /v1 plus an optional Accept-Version date-based minor.
Idempotency-Key on POST /v1/jobs with a 24h TTL for safe retries.
The single error envelope and the stable code enum SDKs switch on.