Skip to main content
The API keeps its durable state in Firestore: self-serve API key hashes, per-integrator usage, the public merge counter and the upstream counts (architecture, data flows). It reaches Firestore through the Cloud Run service account, so there is no credential to rotate here. Closes themselves keep no state in Firestore.

Blast radius

No funds are at risk. Severity is SEV3, or SEV2 if self-serve integrators are refused for more than 15 minutes.

Steps

  1. Confirm it is Firestore:
    Expected during an outage: 503, and error lines naming the Firestore store or the stats store. Check the Google Cloud status page for Firestore in the project’s region.
  2. Do not unset FIRESTORE_PROJECT_ID. Without it the API falls back to in-memory stores: self-serve keys would stop resolving altogether and counts would reset on every restart. Waiting is the better choice.
  3. If self-serve integrators are blocked for long, provision a temporary static key for an affected partner by the static API key steps, and remove it once Firestore is back.
  4. Post the public update if integrators are affected, from Incident response.

Confirm the fix

Expected: 200. Then sign in on the key page with a testnet wallet: the keys list loads. Merges that landed during the outage stay uncounted; the counter is a public total, not a ledger of record.