Menu
Platform
AI
Alerts and status pages
App store purchases
Credits
Generated Assets
Knowledge
KV
Localization
Notifications
Organizations
Payments
Queues
Realtime
Sandboxes
Storage
Workflows
API reference
- Overview
- Access API keys
- Agent sessions API
- Agent versions API
- Agents API
- AI models API
- Artifact references API
- Artifacts API
- Assets API
- Auth configs API
- Bank receipts API
- Bank transfer accounts API
- Buckets API
- Builds API
- Catalogs API
- Chat profiles API
- Chat reports API
- Chat sticker packs API
- Checkout policies API
- Checkout sessions API
- Config changes API
- Config flags API
- Config segments API
- Connection providers API
- Connections API
- Connectors API
- Credit grants API
- Customer organizations API
- Customer subscriptions API
- Databases API
- Documents API
- Email domains API
- End users API
- Entities API
- Entitlement grants API
- Entries API
- Environments API
- Episodes API
- Error events API
- Error groups API
- Events API
- Exchange rates API
- Generations API
- Glossaries API
- Goals API
- Identities API
- Inbound emails API
- Inbound endpoints API
- Inbound messages API
- Inbound sms API
- Invitations API
- Job runs API
- Jobs API
- Knowledge schemas API
- KV API
- KV namespaces API
- Lease events API
- Leases API
- Licence keys API
- Licence tokens API
- Mail domains API
- Mail routes API
- Mailbox connect links API
- Mailbox OAUTH apps API
- Mailboxes API
- Memberships API
- Memories API
- Memory stores API
- Merchant accounts API
- Message topics API
- Messages API
- OAUTH clients API
- Objects API
- Organization roles API
- Orgs API
- Owner pools API
- Phone numbers API
- Portal sessions API
- Preferences API
- Price catalogs API
- Processor events API
- Projects API
- Queued executions API
- Queues API
- Realtime channels API
- Realtime members API
- Realtime messages API
- Recipients API
- Relations API
- Releases API
- Revenue API
- Revenue facts API
- Revenue sources API
- Runs API
- Sandbox shapes API
- Schedules API
- Scrubbing policies API
- Search API
- Search indexes API
- Secret versions API
- Secrets API
- Service enablements API
- Service observations API
- Services API
- Serving routes API
- Session events API
- Sessions API
- Signing key versions
- Signing keys
- Sms numbers API
- Source maps API
- Spaces API
- Store connections API
- Store purchases API
- Subscriptions API
- Suppressions API
- Tax threshold statuses API
- Templates API
- Test clocks API
- Token exchanges API
- Transfers API
- Trust policies API
- Trusted issuers API
- Uptime checks API
- Uptime manifests API
- Uptime sources API
- Usage events API
- Usage invoices API
- Usage meter prices API
- Usage meters API
- Usage reservations API
- Usage settings API
- Usage tiers API
- Volumes API
- Waits API
- Webhook deliveries API
- Webhook endpoints API
- Workflows API
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
Sylphx documentation
What Sylphx is, the first call, and how an account is put together.
Sylphx runs your application's supporting services — the deployment, the
database, the key-value store, the object storage, the search index, the user
accounts, the events, the email, the logs and the AI calls. They are one
product, not ten: one account, one key, one bill, and one API at
https://api.sylphx.com.
#The first call
Every key can read who it belongs to. There is no setup for it, and no scope to grant.
sylphx access whoamiThe answer is the caller: the principal behind the request, the org,
project and env the key is scoped to, and the scopes it carries. Clients
read it once at start-up and fill their defaults from it, so a call can name a
resource without repeating where it lives.
- API
- https://api.sylphx.com
- Header
- Authorization: Bearer <key>
- Version
- v1, in the path
- Errors
- Contract routes answer application/problem+json (RFC 9457 style); a few older routes, such as whoami and the organization routes, still answer a plain JSON error body
#Install a client
curl -fsSL https://sylphx.com/install/cli | bash
npm install -g @sylphx/cli
cargo install sylphx-cli --lockedAll three talk to the same API with the same key. The CLI is generated from the
same schema as the SDKs, so a command and a method are the same call:
sylphx data databases list and sylphx.data.databases.list({}) differ only in
spelling. Agents and coding assistants covers the MCP server.
#Sign in
Run the login
bashsylphx loginApprove it in the browser
The CLI opens
sylphx.com/device?user_code=…in your browser with the code already filled in, and waits. Approve the request there, and the key is written to your operating system's keychain — not to a file in the project. The key lives 30 days; runsylphx loginagain after that. SetSYLPHX_NO_BROWSER=1to print the link without opening it. On a machine with no keychain, provideSYLPHX_API_KEYfor each command instead of storing a login. Published CLI compatibility lists version differences.Try the first call
bashsylphx access whoami
On a machine with no browser — a build agent, a container, a coding agent — pass an Access key instead of approving one:
sylphx login --api-key - # the key on stdin
SYLPHX_API_KEY=sylphx_sk_… sylphx data databases list#How an account is put together
Three things, and only three, decide where a resource lives and who may read it: an organization, a project and an environment.
- Organization — the account. It is created once and billed once. Members and their roles belong to it, so a person joins the organization rather than a project.
- Project — one product's resources, grouped. Most teams run one project per application, and a project is what a repository usually links to.
- Environment — a deployment target inside a project:
production,staging,development, or any name you like. Its mode,liveortest, decides which keys may touch it, so a test key can never write production data.
- Organization
- orgs/{org}
- Project
- orgs/{org}/projects/{project}
- Environment
- orgs/{org}/projects/{project}/envs/{env}
Everything else hangs below that path: a database, a bucket, a hosting service, a webhook endpoint, an email sender. Accounts and projects has the model in full, and Environments covers modes and where secrets live.
One path, one name everywhere
A resource's name is its path. The same string addresses it in the CLI, in the SDK, in an MCP tool call and over plain HTTP, which is why a call can be translated between the four clients without looking anything up.
#Keys
A key carries the scopes it is allowed to use. An environment-scoped key acts
only in that environment; an organization-wide secret key has no project or
environment binding. sylphx login issues an organization-wide key, which can
create projects and change project-wide Hosting service definitions when your
role allows it. For a machine doing those writes, create an
organization-wide key,
not an environment-scoped key.
Scopes read <service>:<action> — hosting:read, data:write, secrets:write.
A key created for a browser or a mobile app is a publishable key, and it cannot
read or write your resources at all.
The secret is shown once, when the key is created or rolled. Send it as
Authorization: Bearer <key>.Keys and scopes
covers the two kinds, the scope list and rotation.
#Where to go next
Agents and coding assistants
The MCP server, a key for a machine, and a project created end to end without a browser.
Read moreAccounts and projects
The account model, identifiers and the five member roles.
Read moreKeys and scopes
The two kinds of key, what each scope grants, and how rotation works.
Read morePlans, usage and limits
Free and Pro, what each includes, and what happens when you reach the cap.
Read more