Primate Intelligence Meta API
The meta API from Primate Intelligence — 4 operation(s) for meta.
The meta API from Primate Intelligence — 4 operation(s) for meta.
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/primateintelligence-ai:primateintelligence-ai-meta-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: Primate Vision Meta API
version: 1.0.0-alpha
description: Public API v1 for Primate Vision — video understanding for the agentic web. P1 (PRI-430) publishes resource schemas; endpoints ship from P3 onward.
contact:
email: support@primateintelligence.ai
servers:
- url: https://api.primateintelligence.ai
description: Production
- url: https://dev-api.primateintelligence.ai
description: Development
tags:
- name: Meta
paths:
/v1/models:
get:
summary: List available models
tags:
- Meta
responses:
'200':
description: 'Model catalog. Requests may say model:"latest"; responses always name the concrete version. The current default is Darwin-preview-1.3B (status: preview). Preview means early access: detection quality and the set of reliably detected actions are still evolving, and results may improve or change between checkpoint updates. The API contract (request/response shapes, billing) is stable.'
content:
application/json:
schema:
type: object
properties:
object:
type: string
enum:
- list
data:
type: array
items:
$ref: '#/components/schemas/Model'
has_more:
type: boolean
required:
- object
- data
- has_more
operationId: getV1Models
x-operation-id-source: derived
/v1/credit-pricing:
get:
summary: Current credit pricing (public, no auth)
tags:
- Meta
responses:
'200':
description: 'Pricing config. Billing is per processed frame (PRI-552): cost = usage.frames × price_per_frame_cents. Legacy fields (price_per_second_cents etc.) remain served for backward compatibility. Read rates from here, never hardcode.'
content:
application/json:
schema:
$ref: '#/components/schemas/CreditPricing'
operationId: getV1CreditPricing
x-operation-id-source: derived
/v1/parse:
post:
summary: Compile a free-text prompt into a CompiledQuery (no analysis created)
description: Stateless prompt compiler. Auth optional (anonymous allowed); rate-limited to 30 req/min per IP. Never touches the GPU and never burns credits — use POST /v1/analyses with validate_only:true when you also want cost/assessability estimates.
tags:
- Meta
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ParseRequest'
responses:
'200':
description: The compiled query and which parser produced it.
content:
application/json:
schema:
$ref: '#/components/schemas/ParseResponse'
'400':
description: empty_prompt — prompt missing, not a string, or blank.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'422':
description: parse_failed — prompt could not be compiled into a query.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'429':
description: rate_limit_exceeded (30 req/min per IP).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
'503':
description: parse_unavailable — parse service temporarily unavailable.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
operationId: postV1Parse
x-operation-id-source: derived
/v1/errors:
get:
summary: Machine-readable error-code registry (§15)
tags:
- Meta
responses:
'200':
description: Closed registry — codes are append-only; SDK retry policy generates from retryable/idem flags.
content:
application/json:
schema:
type: object
properties:
object:
type: string
enum:
- list
data:
type: array
items:
$ref: '#/components/schemas/ErrorRegistryEntry'
has_more:
type: boolean
required:
- object
- data
- has_more
operationId: getV1Errors
x-operation-id-source: derived
components:
schemas:
ParseResponse:
type: object
properties:
compiled_query:
type: object
additionalProperties: {}
description: CompiledQuery — canonical JSON Schema served at /v1/schemas/compiled-query.json. Same structure accepted by POST /v1/analyses `query`.
parse_mode:
type: string
enum:
- haiku
- heuristic
description: 'How the prompt was compiled: "haiku" = LLM parser; "heuristic" = deterministic fallback (used when the LLM is unavailable).'
required:
- compiled_query
- parse_mode
CreditPricing:
type: object
properties:
price_per_second_cents:
type: number
description: 'Legacy ledger-unit rate, in cents — retained for backward compatibility. New integrations should price with frames: cost = usage.frames × price_per_frame_cents.'
example: 1
price_per_frame_cents:
type: number
description: Price per processed frame, in cents (PRI-552) — the billed metering unit. Cost = frames processed × this value. Read the rate from this endpoint, never hardcode it.
example: 0.00015
signup_grant_frames:
type: integer
description: Free signup grant as a frame budget (PRI-552). 108,000 frames = 1 hour of video at 30fps; the same budget covers 6 hours at 5fps or 30 hours at 1fps.
example: 108000
signup_grant_seconds:
type: integer
description: Legacy ledger-unit value of the signup grant — retained for backward compatibility; prefer signup_grant_frames.
example: 6000
card_grant_seconds:
type: integer
description: Legacy ledger-unit value of the card-added bonus grant — retained for backward compatibility.
example: 0
auto_refill_threshold_seconds:
type: integer
description: Balance below which auto-refill (if enabled) triggers.
allowed_purchase_cents:
type: array
items:
type: integer
description: Preset purchase amounts, in cents.
custom_purchase_enabled:
type: boolean
min_purchase_cents:
type: integer
batch_discount_pct:
type: integer
description: 'Batch analyses (POST /v1/analyses/batch): percent discount applied to each prompt after the first. The first prompt is always full price.'
example: 50
batch_min_prompts:
type: integer
description: Minimum prompts accepted per batch request.
example: 2
batch_max_prompts:
type: integer
description: Maximum prompts accepted per batch request.
example: 10
frames_per_purchased_second:
type: integer
description: 'PRI-552 (display-only): how many processed frames one purchased ledger unit covers at current rates — round(price_per_second_cents / price_per_frame_cents). Additive; the ledger and charge math are unchanged.'
example: 6667
purchase_preset_frame_equivalents:
type: array
items:
type: object
properties:
amount_cents:
type: integer
example: 2500
seconds:
type: integer
description: Ledger-seconds this preset credits (unchanged purchase math).
example: 2500
frames:
type: integer
description: Frame-equivalent processing this preset buys at current rates. Display only.
example: 16666667
required:
- amount_cents
- seconds
- frames
description: 'PRI-552 (display-only): frame-equivalent value of each purchase preset, parallel to allowed_purchase_cents.'
pricing_tier:
type: string
description: 'PRI-554: machine-readable pricing-policy status — "preview" while preview pricing is in effect; "standard" once rates stabilize. Integrations should treat a transition away from "preview" as the signal that rates have stabilized.'
example: preview
pricing_tier_note:
type: string
description: 'PRI-554: plain-language pricing policy. Current rates are preview pricing: early-access pricing for a preview model, charged because the metered per-frame cost, streaming ingestion, and low latency deliver value today. The rate may change — up or down — as the model matures, customer demand develops, and processing costs change. Rate changes apply to new processing only and are announced in the changelog before taking effect. Read the live rate from GET /v1/credit-pricing — never hardcode it.'
example: 'Current rates are preview pricing: early-access pricing for a preview model, charged because the metered per-frame cost, streaming ingestion, and low latency deliver value today. The rate may change — up or down — as the model matures, customer demand develops, and processing costs change. Rate changes apply to new processing only and are announced in the changelog before taking effect. Read the live rate from GET /v1/credit-pricing — never hardcode it.'
required:
- price_per_second_cents
- price_per_frame_cents
- signup_grant_frames
- signup_grant_seconds
- card_grant_seconds
- auto_refill_threshold_seconds
- allowed_purchase_cents
- custom_purchase_enabled
- min_purchase_cents
- batch_discount_pct
- batch_min_prompts
- batch_max_prompts
- frames_per_purchased_second
- purchase_preset_frame_equivalents
- pricing_tier
- pricing_tier_note
description: 'Current pricing configuration. Data-driven — a price change is a config update, not a schema change. Batch discount included (PRI-508) — read it from here instead of hardcoding. Current rates are preview pricing: early-access pricing for a preview model, charged because the metered per-frame cost, streaming ingestion, and low latency deliver value today. The rate may change — up or down — as the model matures, customer demand develops, and processing costs change. Rate changes apply to new processing only and are announced in the changelog before taking effect. Read the live rate from GET /v1/credit-pricing — never hardcode it.'
ErrorObject:
type:
- object
- 'null'
properties:
code:
type: string
example: video_unreadable
message:
type: string
required:
- code
- message
Model:
type: object
properties:
id:
type: string
example: Darwin-preview-1.3B
object:
type: string
enum:
- model
status:
type: string
enum:
- stable
- preview
- deprecated
description: 'Lifecycle status. Preview means early access: detection quality and the set of reliably detected actions are still evolving, and results may improve or change between checkpoint updates. The API contract (request/response shapes, billing) is stable.'
default:
type: boolean
aliases:
type: array
items:
type: string
description: Deprecated former ids still accepted on requests (case-insensitive). Responses always emit the canonical `id`.
example:
- darwin-1.3
capabilities:
type: object
properties:
prompt:
type: boolean
structured_query:
type: boolean
narrative:
type: boolean
streaming:
type: boolean
required:
- prompt
- structured_query
- narrative
- streaming
sunset_at:
type:
- string
- 'null'
created_at:
type: string
required:
- id
- object
- status
- default
- aliases
- capabilities
- sunset_at
- created_at
ErrorEnvelope:
type: object
properties:
error:
allOf:
- $ref: '#/components/schemas/ErrorObject'
- type: object
properties:
status:
type: integer
required:
- status
required:
- error
ParseRequest:
type: object
properties:
prompt:
type: string
minLength: 1
description: Free-text video question. Must be a non-empty string.
example: Is there a dog in this video?
required:
- prompt
ErrorRegistryEntry:
type: object
properties:
code:
type: string
kind:
type: string
enum:
- http
- resource
status:
type:
- integer
- 'null'
retryable:
type: boolean
idem:
type: boolean
message:
type: string
docs_url:
type: string
format: uri
required:
- code
- kind
- status
- retryable
- idem
- message
- docs_url
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key (pv_live_… / pv_test_…). Clerk session JWTs are accepted on the same endpoints for first-party clients.