varg.ai Files API

Upload, import, probe, and manage files

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 16

POST /files Upload a file #
GET /files List files #
POST /files/import Import a file by URL #
POST /files/probe Probe a URL's media metadata #
GET /files/check Check for an existing file by hash #
GET /files/{id} Get file metadata #
DELETE /files/{id} Delete a file #
POST /files/{id}/feedback Rate or comment on a file #
GET /files/{id}/feedback List feedback for a file #
DELETE /files/{id}/feedback Remove your rating on a file #
POST /files/upload-session Start a large file upload #
PUT /files/upload/{session_id} Upload bytes to an upload session #
GET /resources/files List files with lineage #
GET /resources/files/{id} Get a file with lineage #
PATCH /resources/files/{id} Rename a file #
POST /resources/files/{id}/favorite Favorite or unfavorite a file #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/varg-ai:varg-ai-files-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

varg-ai-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: varg Files API
  version: 2.0.0
  description: 'Unified REST API for AI media generation at `api.varg.ai/v2`.


    One API key, ~80 models across 8 providers, async jobs, stable output URLs

    on `s3.varg.ai`, files with lineage, and transparent billing: 1 credit =

    1 cent = $0.01, and models are priced pass-through — you pay what the

    provider charges, no markup. Every amount comes as integer credits

    (`*_cents` / `credits` fields) and as dollars (`*_usd` fields).


    **The async job pattern:** every generation request returns `202 Accepted`

    with a job object (`status: queued`). Poll `GET /jobs/{id}` until the job

    reaches a terminal status (`completed`, `failed`, or `cancelled`), then read

    `output.outputs[0].url`. Alternatively, set `options.webhook_url` in the

    request to receive an HMAC-signed callback when the job finishes.


    **Rate limits** (sliding one-minute windows; a `429` carries `Retry-After`

    and `X-RateLimit-*`):

    - every request with an API key or session: 1,200 a minute per credential;

    - every request without one: 120 a minute per IP;

    - job submits: 60 a minute per key (300 across a team);

    - keyless search (`GET /skills/search`): 3 a minute per IP, then

    `429 sign_in_required` — sign in (`vargai login`) or send a key to keep

    searching.'
servers:
- url: https://api.varg.ai/v2
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/varg-ai/openapi/varg-ai-files-api-openapi.yml