API changelog
What changed in the Sproutboat Cloud API, by date: new routes, new fields, new limits and fixes, since the OpenAPI description went live on 22 November 2026.
Dated changes to the Cloud API, newest first. The OpenAPI file always describes the current API. While the API is a draft (1.0.0-draft.1), a change can still break a client, and each such change is marked Breaking. So far nothing is: every change below adds a field, a route or a limit, or fixes a wrong answer.
25 November 2026
- Key limit. A key that holds
app:writemay make 2,000 requests a minute, up from 600; a key that cannot write keeps 600. A deploy sends one request per new asset file plus the polls of the rollout, so three site deploys at once passed 600 on 23 November and got429 key-rate-limitedhalf way through their uploads. Keys made before today that could deploy were raised too. The 429 still carriesretry_after_sand aRetry-Afterheader. The CLI now waits that long and sends the request again (up to five times) instead of failing. - Secrets that the app does not declare.
PUT /v1/apps/{project}/secrets/{name}andPATCH /v1/apps/{project}/secretsnow answer with awarningslist (empty when there is nothing to say; absent from older answers). A name that is stored, but that the app’sbindingsdo not declare as asecret, comes back as{ "code": "secret-not-declared", "name", "message", "fix" }. The status stays 200 and the value is kept: the Worker’senvis built from the declared bindings, so it does not see the value until a deploy declares the name. Wrangler needs no declaration; here it is a warning and not a refusal, so a secret can be set before the deploy that declares it.sproutboat secrets putandsecrets bulkprint thefixline.DELETEanswerswarnings: []. - Metrics are typed.
GET /v1/apps/{project}/metricsnow has a full schema (AppMetrics): the envelope, each point, the totals, and the order of every array (status,outcomes,trigand the histograms). A client generator gets real types instead of open objects. A test compares the live answer with the schema. request_cpuis documented.totals.request_cpuand each point’srequest_cpuare{ hist, p50_ms, p95_ms, p99_ms, sum_ms }: the CPU time per request, in the buckets ofduration_bounds_ms. The key is absent, not zero or null, for a host from before the logs update and for a quiet minute, so read it as optional.- Docs. The CLI’s login token works as a Bearer, and this page.
24 November 2026
- Invocations.
GET /v1/apps/{project}/invocationsand/invocations/tail(grantlogs:read) group an app’s log lines into one entry per run: a request (fetch), a cron run (scheduled), a queue or other background wake-up (trigger) or output that no run claimed (system). Field names follow OpenTelemetry where they map. Console lines are matched to a request by order, not by id (logs_matched_by: order). - Times, CPU and cron in logs. A host from the logs update stamps each stored line with a time. The invocations route takes
fromandto(epoch milliseconds or an ISO 8601 date-time) and returnscpu_msper request and the cron expression (attributes["faas.cron"]).GET /v1/apps/{project}/logsreturnstimes, one per line. An older host has none of these: the fields arenulland a range answers an empty list (window.timessays which). - Request CPU in metrics. Hosts from the same update report each request’s CPU time, which appears as
request_cpu(see above). - Limits and usage.
GET /v1/limitsalso returnscontact(where to ask for more room) and, inusage,builds_24handbuilds_next_slot_s(seconds until a build slot frees). Quota messages name the same contact. - Wire shape. The live tail’s Wrangler frames carry
handler, andcpuTimewhen the host reports it.
23 November 2026
- Runtime logs.
GET /v1/apps/{project}/logs(recent lines) andGET /v1/apps/{project}/tail(live) read an app’s console output. They need the new grantlogs:read, which Deploy, Deploy and data and Admin keys and every key made bysproutboat loginhold; keys made before today that could deploy gained it. Read-only keys and viewers do not have it, because console output can hold anything the app prints. Secret values of 8 characters or more are replaced by[redacted]before a line leaves the Cloud, and query strings are removed. - App limit before the build. A new app over the team’s app limit is refused when the build is submitted, before the build runs.
GET /v1/limitsreturnsnew_app_refusal(the answer that creating one more app would get, ornull), so a client can stop before it uploads anything. The CLI does. - Certificates. A team’s wildcard certificate is ordered when the team is created, not at its first deploy, and the platform name’s
certificatestate inGET /v1/apps/{project}says whatpendingmeans. - Secret maps are
x-sensitive. The maps that hold secret values (secretsandsecrets_patch.setof an app spec,setofPATCH .../secrets) are markedx-sensitive: trueas a whole in the OpenAPI file, not only their values, so a generator or a provider can keep them out of state and logs.
22 November 2026
- The OpenAPI 3.1 description goes live at sproutboat.com/docs/openapi.yaml, with the API reference generated from it and the Build a provider walkthrough. Every route a team key can call is in it, with the grant it needs.
- Typed errors. Every error
reasonhas its own schema (ErrorQuotaApps,ErrorRouteTaken,ErrorBlobsMissing,ErrorKeyRateLimitedand so on), so a generator can give each one a type. Branch on the status and thereason, never on the wording oferror. - Limits. The closed-alpha limits are described: the per-key request limit, the per-team limits on builds, uploads and data requests, the quotas of
GET /v1/limits, and the 429 and 403 reasons that go with them (quota-builds,quota-upload,upload-rate,quota-appsand the others), withRetry-Afterwhere there is a wait. - Secret values are marked sensitive. Each secret value is
format: password,writeOnlyandx-sensitive: true: no route ever returns one. - Route drift test. The Cloud’s tests fail if the router and the OpenAPI file disagree on a route or the grant it needs.