Vixdeo Usage API
Current billing-period quota. Useful to surface remaining videos in your own dashboards before you trip a `402 payment-required`.
Current billing-period quota. Useful to surface remaining videos in your own dashboards before you trip a `402 payment-required`.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vixdeo-com:vixdeo-com-usage-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Vixdeo Usage API
summary: 'Programmatic access to Vixdeo''s production line: submit a Video Blueprint, follow it to the finished video.'
description: 'Vixdeo public API: submit a Video Blueprint and follow its production to the finished
video. A blueprint submitted here is narrated as its author wrote it. Pieces that Vixdeo
writes itself — through the MCP server at `/v1/mcp` — carry a claim record that shows where
each claim comes from, or that it has none.
**Authentication.** Every endpoint requires `Authorization: Bearer `
where the credential is either an API key (`vbp_live_*`, created in
Settings → Agent access with scopes and an optional expiry) or an OAuth 2.1
access token (`vbp_oat_*`) obtained by an MCP host through
`/.well-known/oauth-authorization-server` (dynamic client registration +
PKCE). Both resolve to the same principal. JWT tokens from the internal app
are not accepted on this surface. Revoking a key — or disconnecting an
application — takes effect on the next request; a 401 carries
`WWW-Authenticate` with the RFC 9728 `resource_metadata` URL.
**Errors.** Every non-2xx response uses
RFC 7807 Problem Details and
`Content-Type: application/problem+json`. Match on `type` to
detect specific error families (e.g. `unsupported-vbp-version`,
`payment-required`, `rate-limit-exceeded`).
**Idempotency.** Every state-mutating `POST` requires an
`Idempotency-Key` header. Retries with the same key and an identical
body replay the original response byte-for-byte (with
`Idempotent-Replay: true`); retries with the same key but a different
body return `409 idempotency-conflict`. Records persist for 24h.
**Rate limiting.** Tiered per API key. Every response carries
`X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` and
`X-RateLimit-Bucket` reflecting the most-constrained bucket, plus
per-bucket scoped triplets like
`X-RateLimit-Limit-productions_per_minute`. A 429 response carries
`Retry-After` (seconds).
**Webhooks.** Subscribe to lifecycle events (`production.completed`,
`production.failed`, `production.cancelled`). Deliveries are signed
with HMAC-SHA256; verify the `X-Vixdeo-Signature` header before
trusting a payload. Failed deliveries retry on a backoff schedule of
1m / 5m / 30m / 2h / 12h, then dead-letter.
**Versioning.** Breaking changes ship under `/v2`. The public
contract for v1 is the snapshot in `core.vbp_schema_v1` plus the
schemas in `api.v1.schemas` — additive changes only.
**Quickstart.** See the API quickstart
for cURL, Python and JavaScript walkthroughs of "create your first
production".'
termsOfService: https://vixdeo.com/terms
contact:
name: Vixdeo API support
url: https://vixdeo.com/developers/agents
email: support@vixdeo.com
license:
name: Proprietary — Vixdeo Terms of Service
url: https://vixdeo.com/terms
version: '1.0'
servers:
- url: /v1
- url: https://vixdeo.com/v1
description: Production
- url: http://localhost:8000/v1
description: Local development
tags:
- name: Usage
description: Current billing-period quota. Useful to surface remaining videos in your own dashboards before you trip a `402 payment-required`.
paths:
/usage:
get:
tags:
- Usage
summary: Current period quota for the caller's organization
description: 'Return the org''s quota status for the current calendar month.
The :func:`core.quota.check_quota` helper reads quota without
mutating it; we additionally pull the underlying row for
``period_start`` (which the dataclass status doesn''t carry) so
integrators can render a "resets in X days" indicator without
a second round-trip.'
operationId: get_usage_usage_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UsageOut'
'401':
description: 'Missing or invalid `Authorization: Bearer vbp_*` header.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
application/json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Authenticated, but the API key lacks the required scope (`read` < `write` < `admin`) or is locked to a different channel/organization than the resource.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
application/json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Request body failed schema validation. `extensions.errors` lists per-field violations.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
application/json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limit exceeded. The `Retry-After` header (seconds) and `extensions.retry_after_seconds` indicate when to retry. `extensions.bucket` names which bucket tripped.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
application/json:
schema:
$ref: '#/components/schemas/Problem'
security:
- VbpApiKey: []
components:
schemas:
UsageOut:
properties:
plan_id:
type: string
title: Plan Id
videos_used:
type: integer
title: Videos Used
videos_limit:
type: integer
title: Videos Limit
videos_remaining:
type: integer
title: Videos Remaining
overage_allowed:
type: boolean
title: Overage Allowed
period_start:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Period Start
period_end:
type: string
format: date-time
title: Period End
organization_id:
type: string
title: Organization Id
additionalProperties: false
type: object
required:
- plan_id
- videos_used
- videos_limit
- videos_remaining
- overage_allowed
- period_end
- organization_id
title: UsageOut
examples:
- organization_id: org_4HpL2xR
overage_allowed: false
period_end: '2026-05-01T00:00:00Z'
period_start: '2026-04-01T00:00:00Z'
plan_id: studio
videos_limit: 50
videos_remaining: 36
videos_used: 14
Problem:
properties:
type:
type: string
title: Type
description: Stable identifier for this class of error. Opaque URI under `https://vixdeo.com/errors/` — match on the slug after the last `/`, e.g. `quota-exceeded`, `unsupported-vbp-version`.
examples:
- https://vixdeo.com/errors/payment-required
title:
type: string
title: Title
description: Short human-readable summary, stable across occurrences.
examples:
- Payment Required
status:
type: integer
title: Status
description: HTTP status code, mirrors the response status line.
examples:
- 402
detail:
anyOf:
- type: string
- type: 'null'
title: Detail
description: Long-form message specific to this occurrence.
examples:
- Plan studio has reached its monthly limit (30/30).
instance:
anyOf:
- type: string
- type: 'null'
title: Instance
description: URI path of the request that produced the error.
examples:
- /v1/productions
extensions:
anyOf:
- type: object
- type: 'null'
title: Extensions
description: Machine-readable context relevant to `type`. For example, `payment-required` carries `plan`, `videos_used`, `videos_limit`; `rate-limit-exceeded` carries `bucket`, `limit`, `window_seconds`, `retry_after_seconds`.
examples:
- plan: studio
videos_limit: 30
videos_used: 30
additionalProperties: true
type: object
required:
- type
- title
- status
title: Problem
description: 'RFC 7807 Problem Details document.
Match on ``type`` (an opaque, stable URI under
``https://vixdeo.com/errors/``) to detect specific error families
without parsing ``detail``. Machine-readable context lives in
``extensions``.'
examples:
- detail: Plan studio has reached its monthly limit (30/30).
extensions:
period_resets_at: '2026-05-01T00:00:00+00:00'
plan: studio
videos_limit: 30
videos_used: 30
instance: /v1/productions
status: 402
title: Payment Required
type: https://vixdeo.com/errors/payment-required
securitySchemes:
VbpApiKey:
type: http
scheme: bearer