Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/usevyra-com:usevyra-com-uploads-api"
All apis
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.
Get an API 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 Specification
openapi: 3.2.0
info:
title: Usevyra Com Uploads API
version: 1.0.0
contact:
name: Vyra
url: https://www.usevyra.com/docs/api
email: caleb@usevyra.com
termsOfService: https://www.usevyra.com/terms
description: 'Operations tagged Uploads across 2 of this provider''s published API definitions: usevyra-com.json, usevyra-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://vyra-public-api-dd677jigfq-uc.a.run.app
description: Production. Every call is under /v1.
security:
- bearerAuth: []
tags:
- name: Uploads
description: Upload files that have no link.
paths:
/v1/uploads:
post:
tags:
- Uploads
operationId: createUpload
summary: Get upload links for files that have no link
description: 'For files on your machine. Footage that already has an https link needs no upload. Send each file''s bytes with a `PUT` to the `upload.url` returned, with exactly the headers given. A file over 4 GB comes back with `parts`: send that many bytes of the file, in order, to each part''s link. There is no call to say an upload is finished; the links last a day (`expires_at`).
**A `file_id` can be used again.** Send it in `footage` or `references` of any number of videos and revisions on the same account. The first video that uses it brings it in and analyses it, and is charged its media minutes; every later use attaches the same analysed file, with nothing uploaded or analysed again, and its media minutes at $0 (`price.reused_media`).
**The file is kept 7 days after its last use** (`file_expires_at` for one no video has used yet). Each video or revision that uses it, or that revises or re-exports a video made from it, keeps it 7 days from then. After 7 days without use its video is removed, and using the `file_id` answers `400 FILE_EXPIRED`: upload the file again with a new `create_upload`, which gives a new `file_id`. A key may hold up to 1,024 GB of uploads at once.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UploadRequest'
example:
files:
- name: take-1.mov
size_bytes: 812345678
content_type: video/quicktime
responses:
'201':
description: A `file_id` and where to send the bytes, for each file.
content:
application/json:
schema:
$ref: '#/components/schemas/UploadResponse'
example:
files:
- file_id: file_3hT9xQ2mKp8LwZ4vB7nR1s
name: take-1.mov
expires_at: '2026-11-26T18:02:11.000Z'
file_expires_at: '2026-12-02T18:02:11.000Z'
upload:
method: PUT
url: https://storage.googleapis.com/example/take-1.mp4?X-Goog-Signature=abc
headers:
Content-Type: video/quicktime
'400':
description: 'The files cannot be taken as sent. Codes: `FILES_REQUIRED`, `TOO_MANY_FILES`, `INVALID_FILE`, `FILE_TOO_LARGE`, `INVALID_BODY`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
'413':
$ref: '#/components/responses/PayloadTooLarge'
'429':
description: 'A limit. `UPLOAD_LIMIT` is 1,024 GB of uploads a key holds in storage at once. Codes: `UPLOAD_LIMIT`, `RATE_LIMITED`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/Unavailable'
servers:
- url: https://vyra-public-api-dd677jigfq-uc.a.run.app
description: Production. Every call is under /v1.
components:
responses:
ServerError:
description: 'Ours. Try again. Codes: `INTERNAL`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unavailable:
description: 'Ours, for a moment. Try again shortly. Codes: `UNAVAILABLE`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
PayloadTooLarge:
description: 'The body is over 1 MB. Codes: `INVALID_REQUEST`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: 'No key, or a key we do not know or that was revoked. Codes: `API_KEY_REQUIRED`, `API_KEY_INVALID`.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: API_KEY_REQUIRED
message: 'Send your API key as "Authorization: Bearer <key>".'
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
description: What went wrong and what to do.
param:
type: string
description: The field at fault, such as `max_seconds`, or the entry for a file refusal (`FILE_NOT_FOUND`, `FILE_NOT_UPLOADED`, `FILE_EXPIRED`), such as `footage[3]` or `references[0]`.
UploadResponse:
type: object
required:
- files
properties:
files:
type: array
items:
type: object
required:
- file_id
- name
- expires_at
- file_expires_at
properties:
file_id:
type: string
pattern: ^file_[A-Za-z0-9]{22}$
name:
type: string
expires_at:
type: string
format: date-time
description: 'When the upload links lapse: a day.'
file_expires_at:
type: string
format: date-time
description: When the file is removed if no video uses it first. Each use keeps it 7 days from then.
upload:
type: object
description: 'For a file of up to 4 GB: send the bytes here.'
required:
- method
- url
- headers
properties:
method:
type: string
enum:
- PUT
url:
type: string
format: uri
headers:
type: object
additionalProperties:
type: string
part_size:
type: integer
description: 'For a file over 4 GB: the size of each part but the last.'
parts:
type: array
description: 'For a file over 4 GB: send each part''s bytes, in order, to its link.'
items:
type: object
required:
- part_number
- method
- url
- size_bytes
properties:
part_number:
type: integer
minimum: 1
method:
type: string
enum:
- PUT
url:
type: string
format: uri
size_bytes:
type: integer
UploadRequest:
type: object
required:
- files
properties:
files:
type: array
minItems: 1
maxItems: 50
items:
type: object
required:
- name
- size_bytes
- content_type
properties:
name:
type: string
maxLength: 1024
size_bytes:
type: integer
minimum: 1
maximum: 10737418240
description: The file's exact size. Up to 10 GB.
content_type:
type: string
description: A video, audio or image type that is what the file really is, such as `video/mp4`.
ErrorCode:
description: Why a call was refused. Other codes may appear; `message` always says what to do.
anyOf:
- type: string
enum:
- INVALID_BODY
- UNKNOWN_FIELD
- INVALID_TEXT
- TEXT_TOO_LONG
- INVALID_NUMBER
- INVALID_OPTION
- INVALID_IDEMPOTENCY_KEY
- INVALID_RANGE
- FOOTAGE_REQUIRED
- PROMPT_OR_REFERENCE_REQUIRED
- INVALID_SOURCE
- TOO_MANY_SOURCES
- FILE_NOT_FOUND
- FILE_NOT_UPLOADED
- FILE_EXPIRED
- INVALID_EFFORT
- INVALID_MAX_SECONDS
- INVALID_VARIATIONS
- INVALID_VARIATION_BRIEF
- INVALID_VARIATION_SCOPE
- VARIATION_SCOPE_MISMATCH
- INVALID_SIZE
- INVALID_GENERATED_MEDIA_BUDGET
- INVALID_MAX_PRICE
- INVALID_WEBHOOK_URL
- INVALID_FILENAME
- FILES_REQUIRED
- TOO_MANY_FILES
- INVALID_FILE
- FILE_TOO_LARGE
- CHANGE_REQUIRED
- CUT_REQUIRED
- INVALID_VIDEO_IDS
- RESOLUTION_REQUIRED
- REVISION_LIMIT
- NO_BALANCE
- INVALID_REQUEST
- API_KEY_REQUIRED
- API_KEY_INVALID
- INSUFFICIENT_BALANCE
- VIDEO_NOT_FOUND
- NOT_FOUND
- VIDEO_BUSY
- VIDEO_NOT_FINISHED
- VIDEO_EXPIRED
- RATE_LIMITED
- TOO_MANY_RUNNING
- UPLOAD_LIMIT
- INTERNAL
- UNAVAILABLE
- type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: vyra_live_…
description: 'Make a key in the Vyra web app under Settings → Developer. It is shown once. Send it as `Authorization: Bearer vyra_live_…`.'
externalDocs:
description: Vyra API guide
url: https://www.usevyra.com/docs/api
x-refined-from:
- usevyra-com.json
- usevyra-com-openapi.json