# varg - [varg](https://docs.varg.ai/index.md): AI video generation platform. Install the skill, prompt your agent, get videos. - [Quickstart](https://docs.varg.ai/quickstart.md): Get up and running with varg in 2 minutes - [MCP Server](https://docs.varg.ai/mcp-server.md): Connect Claude, ChatGPT, VS Code, Cursor, and other AI tools to varg.ai - [Authentication](https://docs.varg.ai/authentication.md): API keys, login, credentials, and billing - [Bring Your Own Keys](https://docs.varg.ai/byok.md): Using your own provider API keys with varg - [Models](https://docs.varg.ai/models/index.md): All AI models available through varg — video, image, lipsync, upscale, speech, music, and transcription - [Model specs for agents](https://docs.varg.ai/models/agent-specs.md): Every varg model as a Markdown spec and a public JSON Schema — inputs, limits, routes, prices and the exact REST and MCP call - [Seedance 2](https://docs.varg.ai/models/video/seedance-2.md): ByteDance's flagship video generation model — text-to-video up to 4k, image-to-video, and reference-to-video with multi-modal @-references - [Kling V3](https://docs.varg.ai/models/video/kling-v3.md): Best overall video generation model — flexible duration, high quality text-to-video and image-to-video - [Wan 2.5](https://docs.varg.ai/models/video/wan-2.md): Budget-friendly video generation with strong character motion and audio support - [Minimax](https://docs.varg.ai/models/video/minimax.md): Versatile video generation with good motion quality at moderate cost - [LTX](https://docs.varg.ai/models/video/ltx.md): Fastest video generation model, at a flat $0.50 a run — supports native audio and keyframe control - [Grok Imagine Video](https://docs.varg.ai/models/video/grok-imagine-video.md): xAI's video generation model with native audio, video editing, and multiple resolutions - [Kling Legacy](https://docs.varg.ai/models/video/kling-legacy.md): Previous generation Kling video models — V2.6, V2.5, V2.1, V2 - [Video Analysis](https://docs.varg.ai/models/video/analyze.md): Watch a video by URL and get a structured content report — summary, timeline, transcript, on-screen text - [Nano Banana (Gemini)](https://docs.varg.ai/models/image/nano-banana.md): Google Gemini-powered image generation and editing, with reference-based editing - [Ideogram 4.5](https://docs.varg.ai/models/image/ideogram.md): Posters, logos and designs with accurate text — text-to-image and editing with references, masks and a high-precision mode - [Flux](https://docs.varg.ai/models/image/flux.md): Black Forest Labs image generation — three tiers from fast to premium quality - [Phota](https://docs.varg.ai/models/image/phota.md): Identity-preserving image generation with profile-based character control - [Grok Imagine Image](https://docs.varg.ai/models/image/grok-imagine-image.md): xAI's cheapest image generation and editing model - [Recraft](https://docs.varg.ai/models/image/recraft.md): Purpose-built for graphic design — icons, illustrations, brand assets with precise color control - [Qwen Image](https://docs.varg.ai/models/image/qwen.md): Alibaba's image models — multi-angle generation and unified image generation/editing - [Seedream](https://docs.varg.ai/models/image/seedream.md): ByteDance's image models — Seedream 5 Lite for text-to-image with reference images, Seedream V4.5 for precise image editing - [Soul](https://docs.varg.ai/models/image/soul.md): Character-focused image generation with 80+ style presets — ideal for consistent characters across scenes - [VEED Fabric](https://docs.varg.ai/models/lipsync/veed-fabric.md): Fast talking head generation from a single image and audio — simplest lipsync pipeline - [Sync Lipsync](https://docs.varg.ai/models/lipsync/sync.md): High-quality lip synchronization — apply speech audio to existing video - [OmniHuman](https://docs.varg.ai/models/lipsync/omnihuman.md): ByteDance's full-body human animation from a single image and audio - [Image Upscale](https://docs.varg.ai/models/upscale/image-upscale.md): Enhance and upscale images with 6 models at different quality-cost tradeoffs - [Video Upscale](https://docs.varg.ai/models/upscale/video-upscale.md): Enhance video resolution with 4 models from budget to premium quality - [ElevenLabs Speech](https://docs.varg.ai/models/speech/elevenlabs.md): Industry-leading text-to-speech with 21+ voices, multiple languages, and 7 model variants - [Music Generation](https://docs.varg.ai/models/music/music.md): AI music generation for video soundtracks, background music, and jingles - [Whisper Transcription](https://docs.varg.ai/models/transcription/whisper.md): Audio-to-text transcription with OpenAI Whisper — fal and Groq variants - [SDK Overview](https://docs.varg.ai/sdk/index.md): vargai SDK for programmatic AI video generation - [Components](https://docs.varg.ai/sdk/components.md): All varg JSX components and their props - [AI Models](https://docs.varg.ai/sdk/models.md): Quick reference for all supported models — see per-model pages for detailed docs - [CLI Reference](https://docs.varg.ai/sdk/cli.md): varg command-line interface - [Templates](https://docs.varg.ai/templates/index.md): Copy-paste templates for common video types - [Slideshow Template](https://docs.varg.ai/templates/slideshow.md): Create image slideshows with transitions, zoom effects, and music - [Talking Character Template](https://docs.varg.ai/templates/talking-character.md): Create AI talking head videos with lipsync, voiceover, and captions - [Transformation Template](https://docs.varg.ai/templates/transformation.md): Create before/after comparison videos for fitness, makeover, and product content - [AI Agent Context](https://docs.varg.ai/ai-agents/index.md): Complete context for AI assistants to help users create videos with varg - [Claude Code Setup](https://docs.varg.ai/ai-agents/claude-code.md): Configure Claude Code for video generation with varg - [Cursor Setup](https://docs.varg.ai/ai-agents/cursor.md): Configure Cursor for video generation with varg - [varg vs Remotion vs Hyperframes](https://docs.varg.ai/comparisons/varg-vs-remotion-vs-hyperframes.md): How varg, Remotion, and Hyperframes compare for programmatic video — and why they solve different problems. - [varg API](https://docs.varg.ai/api/index.md): Unified REST API for AI media generation at api.varg.ai/v2 - [OpenAPI spec](https://docs.varg.ai/api/openapi.md): Machine-readable OpenAPI 3.1 description of the varg API — generate typed clients, import into Postman, or hand it to an AI agent - [Folders](https://docs.varg.ai/api/folders.md): Group files into folders and file generated output automatically - [Render API](https://docs.varg.ai/render-api/index.md): Submit TSX code and get rendered videos — zero dependencies, just curl - [Presets](https://docs.varg.ai/api/presets.md): Browse and apply reusable parameter values — voices, styles, avatars - [List presets](https://docs.varg.ai/api-reference/presets/list-presets.md): Browse the preset catalogue: reusable parameter values you cannot guess (voice ids, style ids). Auth is optional; a Bearer token additionally includes the account's private presets. Any query parameter other than `type`, `namespace`, `tool`, `q` and `limit` is treated as a metadata filter (for examp… - [Get preset filter axes](https://docs.varg.ai/api-reference/presets/get-preset-filter-axes.md): The metadata filter vocabulary, derived from stored presets. Returns a map of axis name to `{ value: count }`, where the count is the number of presets that `?=` on `GET /presets` would return. Scope with `type`, since voices and styles have different axes. Auth is optional. - [Get a preset](https://docs.varg.ai/api-reference/presets/get-a-preset.md): One preset plus `tools`: a ready-to-merge request fragment for each tool it can be delivered into, keyed by tool name. Auth is optional; a Bearer token also resolves the account's private presets. - [Apply presets to a request body](https://docs.varg.ai/api-reference/presets/apply-presets-to-a-request-body.md): Merges one or more presets into a request body you intend to send to a generation endpoint and returns the finished payload. The tool is inferred from `payload.model`. Presets that cannot be applied (unknown, no mapping for the model's tool, or dropped by the model's schema) are reported in `rejecte… - [Recommend presets for an intent](https://docs.varg.ai/api-reference/presets/recommend-presets-for-an-intent.md): Ranks presets against a free-text description of what you want, using keyword overlap over name, description and metadata. Presets with no match are excluded. `confidence` is comparable only within one response. Auth is optional. - [Generate an image](https://docs.varg.ai/api-reference/generation/generate-an-image.md): Create an image generation job. Also handles image editing (send a source image in `files` with an edit-capable model like `nano_banana_pro/edit`) and image upscaling (`clarity_upscaler`, `aura_sr`, `topaz`, ...). - [Generate a video](https://docs.varg.ai/api-reference/generation/generate-a-video.md): Create a video generation job. Handles text-to-video, image-to-video (send a start frame in `files`), lipsync (`sync_v2`, `veed_fabric_1_0`, `omnihuman_v1_5`, ...), video editing (`grok_imagine_edit`), avatars (`heygen_avatar`), and video upscaling (`topaz_video`, `seedvr_video`). - [Analyze a video](https://docs.varg.ai/api-reference/generation/analyze-a-video.md): Watch a video by URL and get a structured content report: summary, visual timeline with timestamps, speech transcript, and on-screen text. Powered by `video-analyze` (the only model — `model` may be omitted). - [Generate speech (TTS)](https://docs.varg.ai/api-reference/generation/generate-speech-tts.md): Convert text to speech. ElevenLabs models (`eleven_v3`, `eleven_turbo_v2_5`, `eleven_multilingual_v2`, ...). - [Generate music](https://docs.varg.ai/api-reference/generation/generate-music.md): Generate a music track from a text prompt (`music_v1`, `eleven_music`). - [Transcribe audio](https://docs.varg.ai/api-reference/generation/transcribe-audio.md): Transcribe an audio file by URL (`whisper`, `groq_whisper_large_v3_turbo`, ...). - [Run an ffmpeg operation](https://docs.varg.ai/api-reference/generation/run-an-ffmpeg-operation.md): Media processing via ffmpeg. One endpoint, four operation modes selected by the `model` field: - [Render TSX to video](https://docs.varg.ai/api-reference/generation/render-tsx-to-video.md): Submit varg TSX code and get back a rendered video (or image frames). No local setup needed — the render runs in the cloud, generating AI assets and stitching them together. - [Run a custom pipeline](https://docs.varg.ai/api-reference/generation/run-a-custom-pipeline.md): Run a registered multi-step pipeline (e.g. `v2vStitch`). Pipelines are access-gated per account — contact varg to get access to a pipeline. The `model` field is the pipeline name; remaining fields are defined by the pipeline's own input schema (discover it via `GET /tools/pipeline?model=`). - [List tools](https://docs.varg.ai/api-reference/tools/list-tools.md): List every registered tool (capability) with a short description. Auth is optional. - [Get tool metadata](https://docs.varg.ai/api-reference/tools/get-tool-metadata.md): Full metadata for one tool: JSON Schema for its input, output shape, and a worked example. Auth is optional. Pass `?model=` to enrich `provider_options` with the explicit per-provider schema for that model (instead of the generic passthrough bag). - [Call a tool generically](https://docs.varg.ai/api-reference/tools/call-a-tool-generically.md): Generic equivalent of the sugar routes — `POST /tools/image/call` is the same as `POST /image`. Useful for dynamic clients that discover tools at runtime via `GET /tools`. - [List a tool's models](https://docs.varg.ai/api-reference/tools/list-a-tools-models.md): The models of one tool, paginated by canonical model. Same route and pricing data as `GET /models`, plus a real generation `example` and the explicit per-model `input_schema` (JSON Schema). Auth is optional; `pipeline` models are visible only to callers granted access. - [List models](https://docs.varg.ai/api-reference/tools/list-models.md): The public model catalogue: every canonical model with its provider routes, capability data, pricing rule and operational metadata. Auth is optional; models of the `pipeline` tool appear only for callers granted access to them. Pass a canonical name (auto-routing) or a route's `model_key` (exact rou… - [List jobs](https://docs.varg.ai/api-reference/jobs/list-jobs.md): List the caller's 50 most recent jobs, newest first. No pagination or filters; for older work use `GET /files` or `GET /billing/usage`. - [Get a job](https://docs.varg.ai/api-reference/jobs/get-a-job.md): Full job view. Poll this until `status` is terminal (`completed`, `failed`, or `cancelled`), then read `output.outputs[0].url`. - [Get job status (lightweight)](https://docs.varg.ai/api-reference/jobs/get-job-status-lightweight.md): Minimal status projection — cheaper to poll than the full job view. - [Get job pricing breakdown](https://docs.varg.ai/api-reference/jobs/get-job-pricing-breakdown.md) - [Refresh a job](https://docs.varg.ai/api-reference/jobs/refresh-a-job.md): Force a re-poll of the provider and mirror the latest state onto the job. A job that is already terminal is returned unchanged. - [Cancel a job](https://docs.varg.ai/api-reference/jobs/cancel-a-job.md): Abort a job. A job that is still queued, being sent, uploading references or waiting for its next attempt is cancelled at once and nothing is charged. A job that is already rendering is stopped at the provider where the provider allows it; some providers (BytePlus) refuse to stop a task that has sta… - [Retry a failed job](https://docs.varg.ai/api-reference/jobs/retry-a-failed-job.md): Only `failed` or `cancelled` jobs can be retried. Re-reserves the estimated cost. - [Get what a job and its run were charged](https://docs.varg.ai/api-reference/jobs/get-what-a-job-and-its-run-were-charged.md): Ledger view of what the job, and the whole run it belongs to (the root job plus every job it spawned), were actually charged. Unlike `GET /jobs/{id}/price`, nothing here falls back to an estimate: `charged_cents` is money that moved, `estimated_cents` is a quote, and `held_cents` is credits set asid… - [Approve, retry or reject a paused job](https://docs.varg.ai/api-reference/jobs/approve-retry-or-reject-a-paused-job.md): Resumes or ends a multi-step pipeline job that is paused in `awaiting_confirmation` after a step that asked for confirmation. The job's `step_state` shows each step's status and intermediate output. - [Re-run a finished pipeline job from a later step](https://docs.varg.ai/api-reference/jobs/re-run-a-finished-pipeline-job-from-a-later-step.md): Regenerates one step of a finished multi-step pipeline job ("redo part 2") without paying for the earlier steps again. Creates a **new** job with the source job's input (plus `overrides`); the steps before `step` are carried over from the source job at no cost, and only `step` and the steps after it… - [Upload a file](https://docs.varg.ai/api-reference/files/upload-a-file.md): Upload a file (max 200 MB) as a raw binary body or as `multipart/form-data`. For a raw body, set `Content-Type` to the file's media type; any non-JSON `Content-Type` is treated as the media type. When it's missing or generic, varg sniffs the type from magic bytes. Multipart uploads take the file in… - [List files](https://docs.varg.ai/api-reference/files/list-files.md): List the caller's files. Filter by creation criteria (`?tool=speech`, `?model=eleven_turbo_v2`, `?q=hello`), by kind (`?kind=image|video|audio` for media type, `?kind=upload|generated` for origin), or by date range (`?from=`, `?to=`, ISO 8601). `tool`, `model` and `q` cannot be combined with `kind`,… - [Import a file by URL](https://docs.varg.ai/api-reference/files/import-a-file-by-url.md): Register a file from a URL. varg-hosted URLs (`s3.varg.ai`, `uu.varg.ai`, ...) are registered without re-uploading; external URLs are streamed to varg storage. SSRF-protected (private IPs and localhost are rejected). - [Probe a URL's media metadata](https://docs.varg.ai/api-reference/files/probe-a-urls-media-metadata.md): Inspect a media URL (dimensions, duration) without storing it. - [Check for an existing file by hash](https://docs.varg.ai/api-reference/files/check-for-an-existing-file-by-hash.md): Dedup pre-check — returns whether your account already has a file with this content hash. Lets clients skip the upload entirely. - [Get file metadata](https://docs.varg.ai/api-reference/files/get-file-metadata.md) - [Delete a file](https://docs.varg.ai/api-reference/files/delete-a-file.md): Soft-deletes the file (it disappears from lists; the underlying object is garbage-collected later). - [Rate or comment on a file](https://docs.varg.ai/api-reference/files/rate-or-comment-on-a-file.md): `like`/`dislike` upserts your rating (one per account per file). `comment` is append-only. - [List feedback for a file](https://docs.varg.ai/api-reference/files/list-feedback-for-a-file.md) - [Remove your rating on a file](https://docs.varg.ai/api-reference/files/remove-your-rating-on-a-file.md) - [Start a large file upload](https://docs.varg.ai/api-reference/files/start-a-large-file-upload.md): Upload flow for files too large or awkward for `POST /files` (up to 200 MB): - [Upload bytes to an upload session](https://docs.varg.ai/api-reference/files/upload-bytes-to-an-upload-session.md): Second step of the large-file flow started by `POST /files/upload-session`. Send the raw file bytes as the request body (not multipart) with the `Content-Type` from the session. Maximum size is 200 MB. A session accepts one upload and expires after 1 hour. - [List files with lineage](https://docs.varg.ai/api-reference/files/list-files-with-lineage.md): Lists uploads and generated files in one list, newest first, each with its lineage (tool, model, prompt, cost) and favorite flag. Compared to `GET /files` it can filter by folder, creator and favorites. Uploads have `lineage: null`. - [Get a file with lineage](https://docs.varg.ai/api-reference/files/get-a-file-with-lineage.md): Returns one file with its full lineage, including the cost breakdown of the job tree when the job spawned sub-generations. - [Rename a file](https://docs.varg.ai/api-reference/files/rename-a-file.md): Sets the file's title and/or subtitle. Fields you omit keep their current value. - [Favorite or unfavorite a file](https://docs.varg.ai/api-reference/files/favorite-or-unfavorite-a-file.md): Idempotent. Sending `true` bookmarks the file for the caller's account, `false` removes the bookmark. - [Resolve a file to the job that created it](https://docs.varg.ai/api-reference/lineage/resolve-a-file-to-the-job-that-created-it.md): Given a `file_id` or a varg URL, returns the job that produced the file together with its recipe (prompt, model, tool, cost) — so an agent can "create something similar". Send `file_id` or `url`; `file_id` wins when both are present. - [List folders](https://docs.varg.ai/api-reference/folders/list-folders.md): Lists the caller's folders. File counts are not included; use the single-folder endpoint for those. - [Create a folder](https://docs.varg.ai/api-reference/folders/create-a-folder.md): Creates a folder. It is the same object the dashboard shows. There is no delete endpoint; remove folders from the dashboard. - [Get a folder](https://docs.varg.ai/api-reference/folders/get-a-folder.md): Returns one folder, including its `file_count`. - [Rename a folder or change its slug](https://docs.varg.ai/api-reference/folders/rename-a-folder-or-change-its-slug.md): Send `name`, `slug`, or both. An empty body is rejected with 400. - [List files in a folder](https://docs.varg.ai/api-reference/folders/list-files-in-a-folder.md): Lists the folder's files, most recently added first. This endpoint has no tool, kind, search or favorites filters; use `GET /files` with the `workspace` query parameter for those. - [Add files to a folder](https://docs.varg.ai/api-reference/folders/add-files-to-a-folder.md): Adds up to 100 files to the folder. A file can be in several folders. Partial success: the response sorts every requested id into `linked`, `already_linked` or `not_found` (unknown or not owned by the caller), so one bad id does not lose the rest. - [Remove a file from a folder](https://docs.varg.ai/api-reference/folders/remove-a-file-from-a-folder.md): Removes the file from this folder only. The file itself is kept and stays in any other folder. To delete the file, use `DELETE /files/{id}`. - [Browse and search templates](https://docs.varg.ai/api-reference/templates/browse-and-search-templates.md): Lists approved community templates, newest first. Works with any API key; `isFavorited` is only meaningful when the key is bound to a user. - [List template tags](https://docs.varg.ai/api-reference/templates/list-template-tags.md): Tag vocabulary used by approved templates. - [Get a template](https://docs.varg.ai/api-reference/templates/get-a-template.md): Returns one template including its TSX source in `document.content`. Approved templates are visible to everyone; others only to their author (everyone else gets 404). - [Increment the use counter](https://docs.varg.ai/api-reference/templates/increment-the-use-counter.md): Bumps the template's use counter. It does not check that the template is approved, and no body is needed. Rendering a template already counts as a use, so only call this when you use the template some other way. - [Render a template to video](https://docs.varg.ai/api-reference/templates/render-a-template-to-video.md): Renders the template's TSX as an ordinary render job, billed and polled exactly like `POST /render`. Approved templates, or your own, can be rendered. The body is optional and carries render options only; the code always comes from the template. - [Publish a document as a template](https://docs.varg.ai/api-reference/templates/publish-a-document-as-a-template.md): Copies one of your media documents into a new template and submits it for moderation. The template is a frozen copy, so later edits to the document do not change it. Requires a key bound to a user (a personal API key, or `on_behalf_of_user_id`). - [Withdraw a template](https://docs.varg.ai/api-reference/templates/withdraw-a-template.md): Deletes your own template and its frozen document copy. Requires a key bound to a user. - [List your templates](https://docs.varg.ai/api-reference/templates/list-your-templates.md): Your own templates in any moderation status. Requires a key bound to a user. - [List your favorite templates](https://docs.varg.ai/api-reference/templates/list-your-favorite-templates.md): Approved templates you have favorited. Requires a key bound to a user. - [Toggle favorite](https://docs.varg.ai/api-reference/templates/toggle-favorite.md): Favorites the template if it is not favorited, otherwise removes the favorite. Requires a key bound to a user. - [Estimate a price without creating a job](https://docs.varg.ai/api-reference/pricing/estimate-a-price-without-creating-a-job.md): Send the same body you would send to a generation endpoint and get the price back. Also accepts a batch format with an `items` array where each item carries `tool`, `model`, and `params`. - [Get the price catalog (public)](https://docs.varg.ai/api-reference/pricing/get-the-price-catalog-public.md): The full model catalog with per-provider price estimates, grouped by tool. No authentication required. - [Get balance](https://docs.varg.ai/api-reference/billing/get-balance.md): Balance breakdown in cents (credits). `available` = total − reserved. `reserved` is held by in-flight jobs and is committed on completion or released on failure. - [Get usage records](https://docs.varg.ai/api-reference/billing/get-usage-records.md) - [Get transaction ledger](https://docs.varg.ai/api-reference/billing/get-transaction-ledger.md): Account ledger rows (spend/topup history). Negative `amount_cents` = charge, positive = credit. Job charges carry context (`job_id`, `tool`, `model`, `billed_units`). - [Spend summary](https://docs.varg.ai/api-reference/analytics/spend-summary.md): Totals for a range, the comparison period (previous period by default) and the current balance. - [Spend over time](https://docs.varg.ai/api-reference/analytics/spend-over-time.md): Spend per hour, day, week or month in `timezone`, optionally split by one dimension (top N groups plus `other`). - [Spend breakdown](https://docs.varg.ai/api-reference/analytics/spend-breakdown.md): Spend ranked by one or two dimensions. Rows plus `other` always add up to `total`. Returns 400 `too_many_groups` when the grouping yields more than 5000 groups. - [List charges or runs](https://docs.varg.ai/api-reference/analytics/list-charges-or-runs.md): The ledger charges behind the numbers (`group=charge`), or those charges grouped by run (`group=run`) with each run's lifetime total alongside. Cursor-paginated: pass `next_cursor` as `cursor`. - [Files generated over time](https://docs.varg.ai/api-reference/analytics/files-generated-over-time.md): Media files generated per hour, day, week or month in `timezone`, split into video, image, audio and other. Every generated file counts once, when it was made (clips inside a render and since-deleted files included; uploads and cache replays not). Filters apply through the job that made the file. No… - [Analytics definitions](https://docs.varg.ai/api-reference/analytics/analytics-definitions.md): Metric definitions and time bases, dimensions, filters, limits, and the earliest charge on the account (`available_from`). Use it to discover what the other analytics endpoints accept. - [Get the authenticated account](https://docs.varg.ai/api-reference/account/get-the-authenticated-account.md) - [List API keys](https://docs.varg.ai/api-reference/account/list-api-keys.md): Requires an app session (Supabase JWT), not an API key. - [Create an API key](https://docs.varg.ai/api-reference/account/create-an-api-key.md): Creates a new API key. The plaintext key is returned **once** in the `api_key` field — store it securely. Requires an app session (JWT). - [Rename an API key](https://docs.varg.ai/api-reference/account/rename-an-api-key.md): Requires an app session (Supabase JWT), not an API key. - [Revoke an API key](https://docs.varg.ai/api-reference/account/revoke-an-api-key.md): Requires an app session (Supabase JWT), not an API key. - [Reveal an API key](https://docs.varg.ai/api-reference/account/reveal-an-api-key.md): Returns the full key again. Works only for keys created with `revealable: true`; other keys are shown once, at creation. Allowed for the key's owner (or a manager of the owning team) and for people the key is shared with. The response is never cacheable. Requires an app session (Supabase JWT), not a… - [List who an API key is shared with](https://docs.varg.ai/api-reference/account/list-who-an-api-key-is-shared-with.md): The key's owner and the people it is shared with. Only the key's owner (or a manager of the owning team) can list; people the key is shared with get 404. Requires an app session (Supabase JWT), not an API key. - [Share an API key](https://docs.varg.ai/api-reference/account/share-an-api-key.md): Shares the key with people by email, so they can reveal and use it. Only the key's owner (or a manager of the owning team) can share. Emails with no varg account are returned in `not_found` and nothing is shared with them. A key can be shared with at most 50 people. Rate limited per user. Requires a… - [Remove someone from an API key](https://docs.varg.ai/api-reference/account/remove-someone-from-an-api-key.md): Ends a person's access to the key. The key's owner (or a manager of the owning team) can remove anyone; a person the key is shared with can remove themselves. Requires an app session (Supabase JWT), not an API key. - [Get a connection's team binding](https://docs.varg.ai/api-reference/account/get-a-connections-team-binding.md): Returns which team (and default folder) an OAuth connection works in. Call it with a connected-app token to read that connection's own binding; an app session must pass `client_id`. A connected app can only address itself. API keys have no connection and get 400. - [Set a connection's team binding](https://docs.varg.ai/api-reference/account/set-a-connections-team-binding.md): Binds an OAuth connection to a team and optional default folder. Send `team_id: null` (or omit it) to move the connection back to the personal account. A connected app can only change its own binding; an app session must pass `client_id` in the body. API keys have no connection and get 400. Returns… ## OpenAPI Specs - [openapi](/openapi.yaml) ## Optional - [GitHub](https://github.com/vargHQ/sdk) - [Discord](https://discord.gg/VAecJay7R9) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.