your serverless backend
Functions, queues, schedulers, cron, key-value and object storage as APIs. No servers to run.
// Upload file → Store metadata → Enqueue job → Function processes
const BASE = 'https://api.rocketstack.dev';
// 1. Upload file to Storage (multipart)
const form = new FormData();
form.append('file', file);
form.append('path', 'uploads/report.pdf');
await fetch(BASE + '/storage/objects', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY' },
body: form
});
// 2. Store metadata in KV (key in path)
await fetch(BASE + '/kv/items/file-report-pdf', {
method: 'PUT',
headers: { 'Authorization': 'Bearer API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ value: { uploaded: Date.now() } })
});
// 3. Enqueue to queue (queue has deliveryTarget → function)
await fetch(BASE + '/queues/qu_xxx/messages', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ payload: { file: 'report.pdf' } })
});
// 4. Schedule nightly sync via Cron
await fetch(BASE + '/cron', {
method: 'POST',
headers: { 'Authorization': 'Bearer API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'nightly-sync',
schedule: { expression: '0 2 * * *' },
deliveryTarget: { type: 'function', functionId: 'fn_sync' }
})
});Primitives that work together
Queues trigger functions. Cron schedules jobs. KV stores state. Compose what you need — no glue code required.
- Compose primitives:Build workflows without managing infra.
- Reliable by default:Retries, timeouts, idempotency, audit trails.
- Any stack:REST + SDKs generated from OpenAPI.
Start with a single API key.
The APIs
Build with powerful primitives
Functions, queues, schedulers, cron, storage — no infrastructure to run.
# Deploy functions from an MCP-enabled client.
# Deploy a function via MCP
mcp.call("rocketstack.functions.deploy", {
"name": "stripe-webhook",
"runtime": "nodejs",
"entry": "index.ts",
"bundlePath": "./dist.zip",
"triggers": [{ "type": "http" }]
})
# Get the deployed function
mcp.call("rocketstack.functions.get", { "id": "fn_123" })
# List all functions
mcp.call("rocketstack.functions.list", {})
# Invoke a function
mcp.call("rocketstack.functions.invoke", {
"id": "fn_123",
"payload": { "event": "payment.success" }
})SDKs for your stack
Official clients generated from our OpenAPI spec.
Use the same API key. Works across all primitives.
Works great for
Observability
See requests, errors, and latency for your API traffic.
Get started in 3 steps
Get started in 3 steps
Get your API key and start building
- No credit card required
- Instant key in your dashboard
- Use curl, fetch, or any HTTP client
Then see how developers combine primitives in practice.
Explore workflowsCommon workflows
Compose primitives into reliable pipelines in minutes.
Webhook processing
Absorb spikes, retry safely, and keep handlers fast.
View exampleScheduled jobs
Run nightly syncs, reports, and cleanup without servers.
View exampleFile processing
Upload with presigned URLs, then process asynchronously.
View exampleGenerate code
Use the chat to get RocketStack code from a short description.
Try itExamples use standard HTTP and generated SDKs.
Ready to ship faster?




Ready to ship faster?