API Reference
Complete REST API reference for Scalix Cloud, covering authentication, request and response formats, error handling, and every service endpoint.
Base URL
https://api.scalix.worldAuthentication
All requests require an API key in the Authorization header:
curl -H "Authorization: Bearer scalix_sk_your_key_here" \
https://api.scalix.world/v1/...Request format
- Content-Type:
application/json - Project context: set automatically via API key scope, or override with the
x-scalix-projectheader (the console also acceptsx-project-id)
Response format
Successful responses return bare JSON — the resource object or array itself, with no wrapper:
[ { "id": "..." }, { "id": "..." } ]request_id is included on error responses (below) for support
correlation; success bodies do not carry it.
Error format
{
"error": "Human-readable message",
"code": "ERROR_CODE",
"request_id": "req_abc123",
"docs_url": "https://docs.scalix.world/api-reference/errors#ERROR_CODE"
}Service endpoints
Most services live under /v1/*. The Nova data plane (SQL, schema, branches,
PITR) plus Encryption, Migrations and Realtime live under /api/v1/*. The
table below is generated from the OpenAPI spec and covers every service —
if an operation exists, it has a page in this navigation and a row here.
(scalix-cloud api <tag> <op> in the CLI prints the same inventory with exact
paths.)
| Service | Base Path | Description |
|---|---|---|
| Account | /v1/me, /v1/user/* | Account API for Scalix Cloud to inspect the current API key's identity, effective scopes, unlocked MCP tools, plan rate limits, and profile. |
| Activity | /v1/activity/* | 1 operation |
| AI | /v1/ai/* | Scalix AI inference API: chat completions, streaming, embeddings, image generation, speech, transcription, RAG, and web research through one API. |
| Auth | /v1/auth/* | End-user authentication (signup, login, OAuth, MFA) |
| Billing | /v1/billing/*, /v1/public/* | Billing API for Scalix Cloud: plans and pricing, hosted checkout and portal, subscriptions, invoices, payment methods, credits and the credit ledger, spending cap, usage analytics and forecast, tax info and calculation, GDPR data-subject ops, and service/module/infra agreements |
| Build | /v1/build/* | Build API to start, monitor, cancel, and read logs for container image builds in Scalix Cloud, with every build scoped to your project. |
| Compliance | /v1/compliance/* | Compliance API to query and export the tenant audit log, manage GDPR data-subject requests, and check compliance status in Scalix Cloud. |
| Compute | /v1/compute/*, /v1/run/* | Compute API to deploy, scale, restart, roll back, and inspect container and VM workloads and Scalix Run services in Scalix Cloud. |
| Computers | /v1/computers/* | Persistent Linux machines: the root disk and network address survive stop/start, and only DELETE reclaims the disk. |
| Cron | /v1/cron/schedules/* | Cron API to create, update, list, and trigger scheduled jobs in Scalix Cloud and review each schedule's execution history. |
| Database | /api/v1/*, /v1/databases, /v1/databases/* | Database API to run single and batch SQL queries, read query logs, and get anomaly detection, optimization, scaling, and natural-language-to-SQL help. |
| Domains | /v1/domains/* | Custom domains API to add, verify, and remove domains for a Scalix Cloud project and provision SSL certificates using the required DNS records. |
/v1/email/* | Email API to send templated and raw transactional mail from Scalix Cloud, manage templates and org sending settings, register and verify your own sending domains, and read delivery events, suppressions, and analytics. | |
| Encryption | /api/v1/encryption/* | Encryption API to encrypt and decrypt data through Scalix Cloud, returning ciphertext or plaintext for field-level and application-level protection. |
| Environment | /v1/env/* | Environment variables API to list, set, and remove project-level configuration and secrets in Scalix Cloud, with secret values masked on read. |
| Events | /v1/events/* | Event bus API for Scalix Cloud to create topics, publish events, manage pub/sub subscriptions, and track delivery status across your project. |
| Functions | /v1/functions/* | Functions API to deploy, update, invoke, and delete serverless functions in Scalix Cloud, plus read invocation history and runtime logs. |
| Glitches | /v1/glitches/* | 5 operations |
| Integrations | /v1/integrations/* | Integrations API to connect GitHub, GitLab, and Bitbucket repos to a Scalix Cloud project, manage the GitHub App, and mint installation tokens. |
| Key-Value | /v1/kv/* | Key-value store API for Scalix Cloud with get, set, delete, exists, and list operations plus optional TTL on writes for caching and sessions. |
| Load Balancer | /v1/lb/* | Load balancer API to create and manage layer-7 load balancers in Scalix Cloud and attach or remove backends for distributing traffic. |
| MCP | /api/v1/mcp/* | Model Context Protocol API to list and call the MCP tools your token unlocks, letting AI agents operate Scalix Cloud through tool calls. |
| Metering | /api/v1/*, /v1/usage/*, /v1/user/* | Usage metering API to retrieve aggregate and per-API-key usage, budgets, and billing stats for the current period in Scalix Cloud. |
| Migrations | /api/v1/tenants/* | Database migrations API to register schema migrations for a tenant and fetch the pending migration plan for a Scalix Cloud database. |
| Notifications | /v1/notifications/* | 10 operations |
| PITR | /api/v1/tenants/* | Point-in-time recovery API to restore a ScalixNova tenant database to an earlier moment through a single REST endpoint in Scalix Cloud. |
| Realtime | /api/v1/tenants/* | Realtime API to create subscriptions and open WebSocket streams for live, per-tenant database change updates in Scalix Cloud. |
| Regions | /v1/regions/* | Public region catalog API: the live list of Scalix Cloud regions with status, datacenter locations, jurisdictions, ingress domains, service capabilities (compute/database/storage) and aggregate capacity |
| Registry | /v1/registry/v2/* | OCI container registry API for Scalix Cloud implementing the Distribution v2 spec: push and pull image blobs, manifests, tags, and the catalog. |
| Sandboxes | /v1/sandboxes/* | Ephemeral microVM sandboxes for agent code execution |
| Schema | /api/v1/schema/* | Schema API to introspect a Scalix Cloud database: list tables, views, and relationships, inspect a table, search columns, and analyze PII. |
| Search | /v1/search/* | Search API for the curated Scalix Search index to run ranked queries, manage source registrations, trigger ingest runs, and read index stats. |
| Shield | /v1/shield/* | AI crawler control — policies, analytics, robots.txt |
| Storage | /v1/storage/* | Object storage API for Scalix Cloud with S3-compatible buckets and objects: upload, download, list, delete, read metadata, and presign URLs. |
| Support | /v1/support/* | 11 operations |
| System | /api/v1/*, /healthz, /openapi.json, /readyz | System API for Scalix Cloud service status, liveness and readiness probes, and the live OpenAPI specification for diagnostics and monitoring. |
| Vectors | /api/v1/tenants/* | Vector database API for Scalix Cloud to create collections, upsert embeddings in batches, and run nearest-neighbour similarity search per tenant. |
| VPC | /v1/vpc/* | VPC API to list, inspect, and manage private networks and VPC peers for a Scalix Cloud project (VPC provisioning is a planned capability). |
| WAF | /v1/waf/* | Web application firewall API for Scalix Cloud to create, update, and delete WAF rules, review recent security events, and read WAF statistics. |
| Webhooks | /api/v1/tenants/* | Webhooks API to register endpoint URLs for tenant event types and list registered webhooks in Scalix Cloud for outbound event delivery. |
Rate limits
Rate limits vary by plan:
| Plan | Requests/sec | Daily AI Limit |
|---|---|---|
| Free | 20 | 500 |
| Chat Plus | 20 | 500 |
| Starter | 50 | Unlimited |
| Pro | 100 | Unlimited |
| Team | 200 | Unlimited |
| Business | 500 | Unlimited |
| Enterprise | 1000 | Unlimited |
Auth endpoints (signup, login) are limited to 3 req/min per IP by default, regardless of plan.
GET /v1/me reports your exact live limit. Per-org increases are granted on request.
Rate limit headers are included in every response:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1716230400Pagination
Pagination conventions vary by endpoint: most list endpoints accept
limit/offset query parameters (for example function invocations), and
Shield events use cursor pagination. Check each endpoint's parameters.
curl "https://api.scalix.world/v1/functions/functions/{id}/invocations?limit=20&offset=0"