Appearance
Paging the team
EscalationService is the out-of-band alarm path for makers. When something looks wrong on the venue — stuck fills, balance drift, a suspected outage — PageTheTeam wakes the FLINT on-call team directly rather than routing through email or support.
High-urgency only
This wakes the on-call. Low-urgency matters belong in Slack / Telegram, not here.
Auth
EscalationService is authenticated exactly like MakerService: a session token (authorization: Bearer <token>, keypair or passwordless email) or an organization API key (x-api-key). The resolved maker_id is attached to every page so the team knows who is escalating. See the Auth flow. UNAUTHENTICATED if the caller is not a recognized maker.
What it returns
| RPC | Request | Response |
|---|---|---|
PageTheTeam | message (free text, required) | page_id, received_at |
The message is delivered verbatim into the on-call alert — keep it short. An empty or whitespace-only message is rejected with INVALID_ARGUMENT. The response confirms the page was accepted and dispatched only; it does not mean anyone has responded yet. Quote the page_id when following up so the maker and the team refer to the same incident.
Recipe
rust
// `maker` is an authenticated `flint_sdk::spot::Maker`.
let receipt = maker
.page_the_team("Fills stuck for SOL/USDC ~5m, balances look frozen")
.await?;
println!("paged on-call as {}", receipt.page_id);ts
import { Maker } from "@superis-labs/flint/spot";
const maker = await Maker.connect({ cluster: "mainnet", apiKey: process.env.SUPERIS_API_KEY! });
const { pageId, receivedAt } = await maker.pageTheTeam(
"Fills stuck for SOL/USDC ~5m, balances look frozen",
);
console.log(`paged on-call as ${pageId} at ${receivedAt.toISOString()}`);python
import os
import flint
from flint import spot
maker = await spot.Maker.connect(
flint.ApiKey(os.environ["SUPERIS_API_KEY"]), flint.Cluster.mainnet()
)
page = await maker.page_the_team(
"Fills stuck for SOL/USDC ~5m, balances look frozen"
)
print(f"paged on-call as {page.page_id}")