← Status Page Generator
Your token

Status Page Generator API

The status page, the checks and every download run free in the browser and need no API. The API is for the one metered step: send your service's parts, the incident (or none, for a new one) and your rough notes, and get back, as JSON, the next public update - its stage, the parts it hits and a short message. The page checks the reply (parts must be in your list, stages and states from the fixed lists, no web address, no time or figure that is not in your notes) before it adds the update.

Base URL: https://api.skillsafe.ai/v1/app-api. Every response is {"data": ...} or {"error": {"code", "message"}}; read error.code and error.message rather than the HTTP status alone.

The task field

This app has one task. Always send "task": "update".

taskWhat it doesReply
updateTurns rough incident notes into the next public update: title, impact (minor, major, critical or maintenance), stage (investigating, identified, monitoring, resolved; or scheduled, in_progress, completed for maintenance), affected parts with their state, a customer-facing message and up to two notes for you. It never names a part that is not in components and never adds a time or figure that is not in the input.One JSON object

Input fields

FieldTypeMeaning
taskstring"update"
servicestringThe service's name.
componentsstringJSON text: a list of {name, status}, status one of operational, degraded, partial, major, maintenance.
incidentstringJSON text of the incident the update is for (title, kind, impact, stage, affected, window for maintenance, updates oldest first), or "" for a new incident.
notesstringYour rough notes. The page sends at most 5,000 characters: longer notes keep their start and end and lose the middle, with a marker line.
nowstringThe current time in the page's zone, such as 2026-11-29 14:40 UTC.
clipped_notestringEmpty, or a sentence saying the middle of notes was cut.

The reply

job.output.output is text holding one JSON object: title (at most 70 characters), impact, stage, affected (a list of {name, status}; every part is operational once the stage is resolved or completed), message (two to four sentences, at most 450 characters) and notes (0 to 2 strings, not for publishing). If the balance ran low, truncated is true and the object may stop early; the page uses it only if the message arrived whole.

Worked examples

1. A new incident from rough notes

Input:

{
  "task": "update",
  "service": "Ledgerly",
  "components": "[{\"name\":\"Web app\",\"status\":\"operational\"},{\"name\":\"API\",\"status\":\"operational\"},{\"name\":\"Card payments\",\"status\":\"operational\"},{\"name\":\"Bank transfers\",\"status\":\"operational\"},{\"name\":\"Email reminders\",\"status\":\"operational\"},{\"name\":\"Mobile app\",\"status\":\"operational\"}]",
  "incident": "",
  "notes": "14:02 alerts firing - stripe webhook returning 500s, roughly 20% of card payments failing at checkout. bank transfer payments look fine. mobile app uses the same checkout so same problem there. dev (Sam) is on it, maybe the cert rotation on pay-gw-2 last night?? not confirmed",
  "now": "2026-11-29 14:40 UTC",
  "clipped_note": ""
}

Reply:

{
  "title": "Card payments failing for some customers",
  "impact": "major",
  "stage": "investigating",
  "affected": [
    {
      "name": "Card payments",
      "status": "partial"
    },
    {
      "name": "Mobile app",
      "status": "partial"
    }
  ],
  "message": "Since 14:02 UTC about 20% of card payments are failing at checkout, including in the mobile app. We are investigating the cause. Paying by bank transfer works normally in the meantime. We will post another update as soon as we know more.",
  "notes": [
    "The notes guess at a cause; it is left out of the public update until it is confirmed.",
    "Mobile app is listed as affected because the notes say it shares the checkout."
  ]
}

2. A follow-up on an open incident

Input:

{
  "task": "update",
  "service": "Ledgerly",
  "components": "[{\"name\":\"Web app\",\"status\":\"operational\"},{\"name\":\"API\",\"status\":\"operational\"},{\"name\":\"Card payments\",\"status\":\"partial\"},{\"name\":\"Bank transfers\",\"status\":\"operational\"},{\"name\":\"Email reminders\",\"status\":\"operational\"},{\"name\":\"Mobile app\",\"status\":\"operational\"}]",
  "incident": "{\"title\":\"Card payments failing for some customers\",\"kind\":\"incident\",\"impact\":\"major\",\"stage\":\"investigating\",\"affected\":[\"Card payments\"],\"updates\":[{\"stage\":\"investigating\",\"at\":\"2026-11-29 14:00\",\"text\":\"About 20% of card payments are failing at checkout. Bank transfers work normally. We are investigating.\"}]}",
  "notes": "found it - expired TLS cert on one of the payment gateways (pay-gw-2). new cert deployed 14:31, failure rate dropped from ~20% to under 1% within 5 min. keeping it open for an hour to watch. the reminder emails queued during the outage are going out now, may arrive late",
  "now": "2026-11-29 14:40 UTC",
  "clipped_note": ""
}

Reply:

{
  "title": "Card payments failing for some customers",
  "impact": "major",
  "stage": "monitoring",
  "affected": [
    {
      "name": "Card payments",
      "status": "partial"
    },
    {
      "name": "Email reminders",
      "status": "degraded"
    }
  ],
  "message": "A fix was applied at 14:31 UTC and card payment failures have dropped to under 1%. We are monitoring to make sure it holds. Reminder emails that were queued during the issue are being sent now and may arrive late. We will post another update as soon as we know more.",
  "notes": [
    "The cause (expired certificate on a gateway) is left out of the public text; add it after the post-incident review if wanted."
  ]
}

3. Closing an incident

Input:

{
  "task": "update",
  "service": "Pinecrest Servers",
  "components": "[{\"name\":\"EU West\",\"status\":\"degraded\"},{\"name\":\"EU North\",\"status\":\"operational\"},{\"name\":\"US East\",\"status\":\"operational\"},{\"name\":\"US West\",\"status\":\"operational\"},{\"name\":\"Login\",\"status\":\"operational\"},{\"name\":\"Matchmaking\",\"status\":\"operational\"}]",
  "incident": "{\"title\":\"High ping on EU West\",\"kind\":\"incident\",\"impact\":\"minor\",\"stage\":\"monitoring\",\"affected\":[\"EU West\"],\"updates\":[{\"stage\":\"investigating\",\"at\":\"2026-11-29 11:50\",\"text\":\"Players on EU West are seeing higher ping than usual. Matches still start.\"},{\"stage\":\"monitoring\",\"at\":\"2026-11-29 12:35\",\"text\":\"We moved traffic to a new route and ping is back to normal for most players. We are watching it before we close this.\"}]}",
  "notes": "ping on EU West stable at normal levels (35-40ms) for the last 2 hours since the reroute. upstream provider confirmed their fibre repair is done. closing it",
  "now": "2026-11-29 14:40 UTC",
  "clipped_note": ""
}

Reply:

{
  "title": "High ping on EU West",
  "impact": "minor",
  "stage": "resolved",
  "affected": [
    {
      "name": "EU West",
      "status": "operational"
    }
  ],
  "message": "The high ping on EU West is fixed. Ping has stayed at normal levels (35-40ms) for the last 2 hours, since we moved traffic to a new route, and the underlying repair is now complete. Thank you for your patience.",
  "notes": [
    "The notes did not give an exact time the fix went out, so the message does not state one."
  ]
}

4. Maintenance starting

Input:

{
  "task": "update",
  "service": "Brightdesk",
  "components": "[{\"name\":\"Help desk\",\"status\":\"operational\"},{\"name\":\"Live chat\",\"status\":\"operational\"},{\"name\":\"Knowledge base\",\"status\":\"operational\"},{\"name\":\"Email inbox\",\"status\":\"operational\"},{\"name\":\"Reporting\",\"status\":\"operational\"}]",
  "incident": "{\"title\":\"Database upgrade\",\"kind\":\"maintenance\",\"impact\":\"maintenance\",\"stage\":\"scheduled\",\"affected\":[\"Reporting\",\"Live chat\"],\"window\":{\"starts\":\"2026-11-29 09:30\",\"ends\":\"2026-11-29 11:30\"},\"updates\":[{\"stage\":\"scheduled\",\"at\":\"2026-11-27 09:00\",\"text\":\"We are upgrading our database. Reporting will be read-only and live chat may reconnect once or twice during the window.\"}]}",
  "notes": "starting the db upgrade now. reporting switched to read only. chat will blip a couple of times. still expect to finish inside the window",
  "now": "2026-11-29 09:40 America/New York",
  "clipped_note": ""
}

Reply:

{
  "title": "Database upgrade",
  "impact": "maintenance",
  "stage": "in_progress",
  "affected": [
    {
      "name": "Reporting",
      "status": "maintenance"
    },
    {
      "name": "Live chat",
      "status": "maintenance"
    }
  ],
  "message": "The database upgrade has started. Reporting is read-only for now, and live chat may reconnect a couple of times. We still expect to finish within the planned window, which ends at 11:30. We will post another update when the work is complete.",
  "notes": [
    "The notes did not give a time for the next update, so none was promised."
  ]
}

Errors

HTTPWhat to do
401The token is missing, expired or a guest token on a run. Get a personal token on the token page.
402The balance is below what the run reserves. Top up at skillsafe.ai/account/billing.
400The body is not a JSON object of the fields above.
429Wait and retry with the same Idempotency-Key.

Step 1 — a tiny client helper

One function that sends JSON and unwraps the {data, error} envelope.

BASE="https://api.skillsafe.ai/v1/app-api"
TOKEN="paste-your-token-here"   # from https://status-page-generator.skillsafe.ai/tokens.html
api() { # api METHOD PATH [JSON-BODY]
  curl -s -X "$1" "$BASE$2" -H "Content-Type: application/json" \
    ${TOKEN:+-H "Authorization: Bearer $TOKEN"} ${3:+--data "$3"}
}

Step 2 — a token

A guest token is enough for /me and /estimate. A run is metered, so it needs your personal token: sign in on the token page and copy it.

# a guest token (enough for /me and /estimate); a run needs your personal token from /tokens.html
TOKEN=$(curl -s -X POST "$BASE/guest" -H "Content-Type: application/json" -d '{"slug":"status-page-generator"}' | jq -r '.data.token')

Step 3 — who am I, and my balance

subject_type is guest or user; credits is the balance (1 credit = $0.0001).

api GET /me | jq '.data | {subject_type, credits}' 

Step 4 — price a run for free

/estimate charges nothing and starts no job. hold_credits is the amount reserved while a run is in flight, not the price; the run is charged what it uses.

# input.json: the run input object - {"task": "update", "service": "...", "components": "[...]", "incident": "", "notes": "...", "now": "...", "clipped_note": ""}
api POST /estimate "$(cat input.json)" | jq '.data | {hold_credits, min_credits, model, model_alias, markup_bps, warnings}' 

Step 5 — run it and wait for the job

Send an Idempotency-Key derived from the input: a retry with the same key is never billed twice.

KEY="status-page-generator:update:$(shasum -a 256 input.json | cut -c1-16):a1"
JOB=$(curl -s -X POST "$BASE/run" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: $KEY" --data @input.json | jq -r '.data.job_id')
while :; do
  J=$(api GET "/jobs/$JOB"); S=$(echo "$J" | jq -r '.data.status')
  case "$S" in succeeded|failed|cancelled) break;; esac; sleep 2
done
echo "$J" | jq -r '.data.output.output' > reply.json   # one JSON object: title, impact, stage, affected, message, notes
echo "$J" | jq '.data | {charged_credits, truncated}' 

Step 6 — or stream it

/run-stream sends Server-Sent Events while the job runs and the finished job at the end.

# Server-Sent Events: tick/delta events while the job runs, then a final event with the job
curl -N -s -X POST "$BASE/run-stream" -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" \
  -H "Idempotency-Key: status-page-generator:update:$(shasum -a 256 input.json | cut -c1-16):a1" --data @input.json