The public API is currently v0 — endpoints, paths, and shapes may change before general availability. Subscribe to the changelog for breaking-change notices.
Base URLs
All URLs in the endpoint reference are relative to the production base URL.
Authentication
Every request requires an API key in theAuthorization header:
All requests to the vly.ai API must include your API key in the Authorization header as a bearer token. Generate keys from your Workspace settings → API keys.
Quick start
The four steps to make your first API call:1
Generate an API key
In vly, Workspace settings → API keys → Create new key. Copy and store securely.
2
Export it as an environment variable
3
Make your first request
4
Browse the endpoints
See the sidebar for the full catalog. Each endpoint page has an interactive playground.
Endpoint catalog
Projects
Create, list, get, update vly projects.
Deployments
Trigger and inspect deployments.
Agents
Trigger an AI agent run programmatically.
Files
Upload assets to a project.
Billing
Inspect plan usage and credits.
Webhooks
Send and verify webhook events.
SDKs
First-class SDKs for the languages most vly users work in:TypeScript / JavaScript
npm install @vly/sdk — full type safety, streaming support, retries.Python
pip install vly — async + sync clients, type hints, retries.CLI
npm install -g @vly/cli — terminal access to the same API.Webhooks
Signature verification helpers for every supported language.
Common patterns
Pagination
List endpoints return up to 20 items by default and include anext_cursor:
next_cursor as the cursor query parameter on the next request to get the next page. See Pagination.
Errors
All errors return a consistent shape:Rate limits
Default rate limit is 60 requests/minute per API key. Burst capacity allows ~10 requests in the first second. Plans above Pro raise the limit. When rate-limited, the API returns429 Too Many Requests with a Retry-After header. See Rate limits.
Idempotency
ForPOST endpoints that create resources (Create project, Create deployment, Trigger agent), pass an Idempotency-Key header to safely retry:
Webhooks
For long-running operations (agent runs, deployments), use webhooks rather than polling. Register webhook endpoints in Workspace settings → Webhooks, and you’ll receivePOST requests when events occur.
Verify webhook signatures using the X-Vly-Signature header. Helpers in every SDK.
Versioning
The API is versioned by URL path:/v1/.... Breaking changes trigger a new major version (/v2/...); minor changes are backward-compatible additions. We commit to supporting old versions for 12 months after deprecation.
Support
Authentication
Detailed reference.
Rate limits
Limits, headers, retry guidance.
Errors
Full error code reference.
#api channel in Discord.