Skip to content
Docs menu
Integrate

REST API

Authenticate with an API key, read errors and pages, and find every route in the OpenAPI document.

Everything in the console is an HTTP call to the REST API, and you can make the same calls from scripts, CI jobs and your own tools.

Base address https://fullsea.io/api/v1
Format JSON with camelCase fields; times in RFC 3339; ids are UUIDs
Authentication Authorization: Bearer fsk_… — an API key with the api scope
Reference /openapi.json

Authenticate

Create a key in Settings → API keys with the api scope (a key can have both api and mcp). The fsk_… secret is shown once. Send it on every request:

sh
curl https://fullsea.io/api/v1/me -H "Authorization: Bearer $FULLSEA_API_KEY"

GET /me returns your user, plan, limits, usage and AI credit. Browser sessions use a cookie and a CSRF header instead; scripts should always use a key.

Common calls

Call What it does
GET /catalog Sizes, database engines (with their status), runtimes and plans
GET /usage What you use against your plan's limits
GET /projects · POST /projects List and create projects
GET /apps · POST /apps List apps; create one from an image or a Git repository
POST /apps/{id}/deploy Deploy a new release
GET /apps/{id}/logs?lines=200 The latest log lines
PATCH /apps/{id}/env Set and unset environment variables key by key
GET /databases · POST /databases List and create databases
GET /databases/{id}/credentials Connection details
GET /templates · POST /templates/{code}/deploy List templates and deploy one
GET /operations/{id}/events Follow a long-running change

Creating, deploying and deleting are asynchronous: they answer straight away with the resource and an operation. Follow it with GET /operations/{id}/events?after=<sequence>&waitMs=30000, which waits up to 30 seconds for new events, until the operation's status is succeeded or failed.

sh
curl -X POST https://fullsea.io/api/v1/databases \
  -H "Authorization: Bearer $FULLSEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "shop-db", "engine": "postgres"}'

Pages

Lists take ?cursor=&limit= (1 to 200, 50 by default) and return {"items": […], "nextCursor": "…"}. Pass nextCursor back as cursor until it is null.

Errors

Every error has the same body; retryable says whether the same request may succeed later unchanged:

json
{
  "code": "quota_exceeded",
  "message": "Your Starter plan allows 6 apps; you use 6.",
  "requestId": "req_0193…",
  "retryable": false,
  "details": { "resource": "apps", "limit": 6, "used": 6, "requested": 1 }
}
Code HTTP Meaning
invalid_request, validation_failed 400 The body is wrong; details.fields says where
unauthenticated 401 No key, or it is unknown, expired or revoked
forbidden 403 The key lacks the scope, or the account is suspended
not_found 404 No such resource on your account
conflict 409 The resource is not in a state that allows this yet
quota_exceeded 403 Over a plan limit; details names it
plan_restricted 403 The plan does not include this size, engine or feature
payment_required 402 Not enough AI credit, or a payment is due
no_capacity, provider_unavailable 503 No room right now, or a dependency is down; try again
rate_limited 429 Too many requests; wait for Retry-After seconds
internal 500 Something broke on our side; it is logged with the requestId

Quote the requestId when you contact support.

Limits

Requests are rate limited per key and per address. A 429 carries Retry-After; back off and try again. Keys can be revoked at any time in Settings, and revoking one stops it immediately.