Skip to content
sproutboatDocs
Esc
↑↓navigate↵open⌘Jpreview
On this page

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:write may 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 got 429 key-rate-limited half way through their uploads. Keys made before today that could deploy were raised too. The 429 still carries retry_after_s and a Retry-After header. 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} and PATCH /v1/apps/{project}/secrets now answer with a warnings list (empty when there is nothing to say; absent from older answers). A name that is stored, but that the app’s bindings do not declare as a secret, comes back as { "code": "secret-not-declared", "name", "message", "fix" }. The status stays 200 and the value is kept: the Worker’s env is 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 put and secrets bulk print the fix line. DELETE answers warnings: [].
  • Metrics are typed. GET /v1/apps/{project}/metrics now has a full schema (AppMetrics): the envelope, each point, the totals, and the order of every array (status, outcomes, trig and the histograms). A client generator gets real types instead of open objects. A test compares the live answer with the schema.
  • request_cpu is documented. totals.request_cpu and each point’s request_cpu are { hist, p50_ms, p95_ms, p99_ms, sum_ms }: the CPU time per request, in the buckets of duration_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}/invocations and /invocations/tail (grant logs: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 from and to (epoch milliseconds or an ISO 8601 date-time) and returns cpu_ms per request and the cron expression (attributes["faas.cron"]). GET /v1/apps/{project}/logs returns times, one per line. An older host has none of these: the fields are null and a range answers an empty list (window.times says 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/limits also returns contact (where to ask for more room) and, in usage, builds_24h and builds_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, and cpuTime when the host reports it.

23 November 2026

  • Runtime logs. GET /v1/apps/{project}/logs (recent lines) and GET /v1/apps/{project}/tail (live) read an app’s console output. They need the new grant logs:read, which Deploy, Deploy and data and Admin keys and every key made by sproutboat login hold; 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/limits returns new_app_refusal (the answer that creating one more app would get, or null), 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 certificate state in GET /v1/apps/{project} says what pending means.
  • Secret maps are x-sensitive. The maps that hold secret values (secrets and secrets_patch.set of an app spec, set of PATCH .../secrets) are marked x-sensitive: true as 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 reason has its own schema (ErrorQuotaApps, ErrorRouteTaken, ErrorBlobsMissing, ErrorKeyRateLimited and so on), so a generator can give each one a type. Branch on the status and the reason, never on the wording of error.
  • 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-apps and the others), with Retry-After where there is a wait.
  • Secret values are marked sensitive. Each secret value is format: password, writeOnly and x-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.

Was this page helpful?