00Widget MCP
00Widget provides an MCP server that allows AI agents and automations to publish structured state updates to native Apple surfaces including iOS widgets, Live Activities, the Dynamic Island, and Apple TV dashboards, as well as Meta Quest. It enables agents to report progress, results, and approvals without rendering UI, using predefined SwiftUI templates.
Endpoint and access
Optional OAuth sign-in: the endpoint lists tools without signing in. Account tools can prompt OAuth in your client; other task prerequisites may also apply.
https://api.00widget.com/mcpWhat its tools do
12 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to 00widget.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
- Popularity 1 GitHub star
What you can do with it
- Publish agent status to iOS widgets and Lock Screen
- Update Live Activities for long-running agent tasks
- Display agent progress on Apple TV dashboards
- Send structured state updates to Meta Quest
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- 00widget 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 12 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
12 advertised
list_cards — List cards
List every dashboard card this credential's tenant has published, as stored. Use it to discover the ids already in use before publishing, and to read back what a widget shows.
{
"type": "object",
"properties": {
"includeShared": {
"type": "boolean",
"description": "Also return cards other tenants have shared with this one, when sharing is enabled."
}
}
}{
"type": "object",
"required": [
"cards"
],
"properties": {
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"template",
"title",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Namespace it if another integration might pick the same name."
},
"icon": {
"type": "string",
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept.",
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
}
},
"additionalProperties": true
},
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"role",
"confirm"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for the button. It is the `/v1/actions/<id>/run` path segment and is echoed back in the webhook delivery."
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card.",
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"description": "Optional short heading such as Cause, Impact, or Next."
}
},
"additionalProperties": true
},
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both.",
"additionalProperties": true
},
"deadline": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space.",
"additionalProperties": true
},
"progress": {
"type": "number",
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"sharedBy": {
"type": "object",
"required": [
"ownerEmail",
"shareId"
],
"properties": {
"shareId": {
"type": "string"
},
"ownerEmail": {
"type": "string"
}
},
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
},
"additionalProperties": true
},
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"description": "Short legend label for this kind of event or span."
}
},
"additionalProperties": true
},
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"description": "The event series this entry belongs to."
}
},
"additionalProperties": true
},
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history.",
"additionalProperties": true
},
"updatedAt": {
"type": "string"
},
"comparison": {
"type": "object",
"required": [
"value",
"label",
"signal"
],
"properties": {
"label": {
"type": "string",
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry.",
"additionalProperties": true
},
"staleAfter": {
"type": "string"
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
},
"additionalProperties": true
}
},
"shared": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"template",
"title",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Namespace it if another integration might pick the same name."
},
"icon": {
"type": "string",
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept.",
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
}
},
"additionalProperties": true
},
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"role",
"confirm"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for the button. It is the `/v1/actions/<id>/run` path segment and is echoed back in the webhook delivery."
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card.",
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"description": "Optional short heading such as Cause, Impact, or Next."
}
},
"additionalProperties": true
},
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both.",
"additionalProperties": true
},
"deadline": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space.",
"additionalProperties": true
},
"progress": {
"type": "number",
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"sharedBy": {
"type": "object",
"required": [
"ownerEmail",
"shareId"
],
"properties": {
"shareId": {
"type": "string"
},
"ownerEmail": {
"type": "string"
}
},
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
},
"additionalProperties": true
},
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"description": "Short legend label for this kind of event or span."
}
},
"additionalProperties": true
},
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"description": "The event series this entry belongs to."
}
},
"additionalProperties": true
},
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history.",
"additionalProperties": true
},
"updatedAt": {
"type": "string"
},
"comparison": {
"type": "object",
"required": [
"value",
"label",
"signal"
],
"properties": {
"label": {
"type": "string",
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry.",
"additionalProperties": true
},
"staleAfter": {
"type": "string"
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
},
"additionalProperties": true
},
"description": "Cards other tenants have shared with this one. Only present when asked for."
}
},
"additionalProperties": true
}{
"title": "List cards",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_card — Get a card
Read one published card by its stable id. Returns `{ card }`, the same envelope every other read on this API uses.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The card's stable id."
}
}
}{
"type": "object",
"required": [
"card"
],
"properties": {
"card": {
"type": "object",
"required": [
"id",
"template",
"title",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Namespace it if another integration might pick the same name."
},
"icon": {
"type": "string",
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept.",
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
}
},
"additionalProperties": true
},
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"role",
"confirm"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for the button. It is the `/v1/actions/<id>/run` path segment and is echoed back in the webhook delivery."
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card.",
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"description": "Optional short heading such as Cause, Impact, or Next."
}
},
"additionalProperties": true
},
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both.",
"additionalProperties": true
},
"deadline": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space.",
"additionalProperties": true
},
"progress": {
"type": "number",
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"sharedBy": {
"type": "object",
"required": [
"ownerEmail",
"shareId"
],
"properties": {
"shareId": {
"type": "string"
},
"ownerEmail": {
"type": "string"
}
},
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
},
"additionalProperties": true
},
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"description": "Short legend label for this kind of event or span."
}
},
"additionalProperties": true
},
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"description": "The event series this entry belongs to."
}
},
"additionalProperties": true
},
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history.",
"additionalProperties": true
},
"updatedAt": {
"type": "string"
},
"comparison": {
"type": "object",
"required": [
"value",
"label",
"signal"
],
"properties": {
"label": {
"type": "string",
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry.",
"additionalProperties": true
},
"staleAfter": {
"type": "string"
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}{
"title": "Get a card",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}upsert_card — Publish a card
Create or replace one dashboard card, for standing state the operator checks on — a balance, a queue depth, today's total. For work with a start and an end that you will report on while it runs, start_live_activity is the better surface: it reaches the Lock Screen and Dynamic Island, where a card only reaches a Home Screen widget on a rationed refresh budget. The `id` is the identity of the thing being shown, so reuse it on every publish — never embed a timestamp or run id, or each update becomes a new card. Publishing several cards from one snapshot? Use upsert_cards_batch instead.
{
"type": "object",
"required": [
"id",
"template",
"title"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1,
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Letters, digits and . _ : - only, because it is also a URL path segment."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 60,
"minItems": 2,
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 60,
"minItems": 2,
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 60,
"minItems": 2,
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension."
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording."
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number."
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The row's label."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A second line under the row's title."
}
}
},
"maxItems": 20,
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"payload": {
"type": "object",
"description": "Private context delivered to your webhook when the button is pressed. Write-only: it is stripped from the stored card and never returned by any read, shared card, or device cache.",
"propertyNames": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 512
}
},
"webhookId": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1,
"description": "Named action webhook that receives this button press. Omit for the default webhook. Write-only: it is stripped from the stored card and never returned by reads or shares."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card."
}
}
},
"maxItems": 8,
"description": "Buttons. They are not tied to `template: action` — any template can carry them, so a `chart` card can plot a series and offer a Retry button. `action` is simply the template whose whole point is the buttons, with no visual of its own. How many are drawn depends on the surface: a small widget shows 1, medium 2, large and extra-large 4, and the iOS app and Apple TV show all of them; the Lock Screen accessories show none, and a widget the operator has set to Compact density shows one fewer (none at all on a small one). Order them most useful first, because the tail is what gets cut. Only `role: normal` with `confirm: false` can run straight from a widget; anything else routes through the iOS app for confirmation. A press is delivered to the action's private `webhookId`, or to the account's `default` webhook when none is set. The destination must already be registered under `/v1/integrations/` or the press fails with a 409. Registration needs the `webhook:manage` scope, which an MCP credential does not have — the operator registers webhooks with an API token, from whatever runs each endpoint."
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"maxLength": 60,
"description": "Optional short heading such as Cause, Impact, or Next."
}
}
},
"maxItems": 8,
"minItems": 1,
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both."
},
"deadline": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When the thing this card is about is due, drawn as a countdown the device ticks locally. Publish a date here rather than writing the remaining time into `value`: a widget reloads at most twice an hour, so a republished string is wrong for most of the time it is on screen."
},
"deepLink": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"maxLength": 64,
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space."
},
"progress": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
}
},
"maxItems": 3,
"minItems": 1,
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label for this kind of event or span."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "The event series this entry belongs to."
}
}
},
"maxItems": 60,
"minItems": 1,
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history."
},
"updatedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When this state was true, as an ISO-8601 instant with seconds and an offset (2026-04-26T18:45:00Z). Omit it and the server stamps the time the publish arrived."
},
"comparison": {
"type": "object",
"required": [
"value",
"label"
],
"properties": {
"label": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry."
},
"staleAfter": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "After this the widget dims the card into a 'stale' state so the reading is visibly old. A hint only: nothing hides or deletes the card."
},
"statusIcon": {
"type": "string",
"maxLength": 64,
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
}
}{
"type": "object",
"required": [
"card"
],
"properties": {
"card": {
"type": "object",
"required": [
"id",
"template",
"title",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Namespace it if another integration might pick the same name."
},
"icon": {
"type": "string",
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept.",
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
}
},
"additionalProperties": true
},
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"role",
"confirm"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for the button. It is the `/v1/actions/<id>/run` path segment and is echoed back in the webhook delivery."
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card.",
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"description": "Optional short heading such as Cause, Impact, or Next."
}
},
"additionalProperties": true
},
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both.",
"additionalProperties": true
},
"deadline": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space.",
"additionalProperties": true
},
"progress": {
"type": "number",
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"sharedBy": {
"type": "object",
"required": [
"ownerEmail",
"shareId"
],
"properties": {
"shareId": {
"type": "string"
},
"ownerEmail": {
"type": "string"
}
},
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
},
"additionalProperties": true
},
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"description": "Short legend label for this kind of event or span."
}
},
"additionalProperties": true
},
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"description": "The event series this entry belongs to."
}
},
"additionalProperties": true
},
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history.",
"additionalProperties": true
},
"updatedAt": {
"type": "string"
},
"comparison": {
"type": "object",
"required": [
"value",
"label",
"signal"
],
"properties": {
"label": {
"type": "string",
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry.",
"additionalProperties": true
},
"staleAfter": {
"type": "string"
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}{
"title": "Publish a card",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}upsert_cards_batch — Publish several cards at once
Create or replace up to 32 cards in one call. Always prefer this over repeated upsert_card when one snapshot produces several related cards: it makes a single widget-reload decision instead of burning WidgetKit's daily reload budget once per card. Set `replacePrefix` to your own id namespace and the snapshot also deletes what it no longer contains, which is the only way to stop reporting something without leaving a dead card behind.
{
"type": "object",
"required": [
"cards"
],
"properties": {
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"template",
"title"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1,
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Letters, digits and . _ : - only, because it is also a URL path segment."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 60,
"minItems": 2,
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 60,
"minItems": 2,
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 60,
"minItems": 2,
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension."
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording."
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number."
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The row's label."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A second line under the row's title."
}
}
},
"maxItems": 20,
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"payload": {
"type": "object",
"description": "Private context delivered to your webhook when the button is pressed. Write-only: it is stripped from the stored card and never returned by any read, shared card, or device cache.",
"propertyNames": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"additionalProperties": {
"type": "string",
"maxLength": 512
}
},
"webhookId": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1,
"description": "Named action webhook that receives this button press. Omit for the default webhook. Write-only: it is stripped from the stored card and never returned by reads or shares."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card."
}
}
},
"maxItems": 8,
"description": "Buttons. They are not tied to `template: action` — any template can carry them, so a `chart` card can plot a series and offer a Retry button. `action` is simply the template whose whole point is the buttons, with no visual of its own. How many are drawn depends on the surface: a small widget shows 1, medium 2, large and extra-large 4, and the iOS app and Apple TV show all of them; the Lock Screen accessories show none, and a widget the operator has set to Compact density shows one fewer (none at all on a small one). Order them most useful first, because the tail is what gets cut. Only `role: normal` with `confirm: false` can run straight from a widget; anything else routes through the iOS app for confirmation. A press is delivered to the action's private `webhookId`, or to the account's `default` webhook when none is set. The destination must already be registered under `/v1/integrations/` or the press fails with a 409. Registration needs the `webhook:manage` scope, which an MCP credential does not have — the operator registers webhooks with an API token, from whatever runs each endpoint."
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"maxLength": 60,
"description": "Optional short heading such as Cause, Impact, or Next."
}
}
},
"maxItems": 8,
"minItems": 1,
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both."
},
"deadline": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When the thing this card is about is due, drawn as a countdown the device ticks locally. Publish a date here rather than writing the remaining time into `value`: a widget reloads at most twice an hour, so a republished string is wrong for most of the time it is on screen."
},
"deepLink": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"maxLength": 64,
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space."
},
"progress": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
}
},
"maxItems": 3,
"minItems": 1,
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label for this kind of event or span."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "The event series this entry belongs to."
}
}
},
"maxItems": 60,
"minItems": 1,
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history."
},
"updatedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When this state was true, as an ISO-8601 instant with seconds and an offset (2026-04-26T18:45:00Z). Omit it and the server stamps the time the publish arrived."
},
"comparison": {
"type": "object",
"required": [
"value",
"label"
],
"properties": {
"label": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry."
},
"staleAfter": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "After this the widget dims the card into a 'stale' state so the reading is visibly old. A hint only: nothing hides or deletes the card."
},
"statusIcon": {
"type": "string",
"maxLength": 64,
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
}
},
"maxItems": 32,
"minItems": 1,
"description": "Every card from one producer snapshot, sent together. Ids must be unique within the batch. This is one coalesced widget-reload decision instead of one per card, which is why it is preferred over looping the single-card endpoint."
},
"replacePrefix": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]+$",
"maxLength": 96,
"minLength": 1,
"description": "Delete this tenant's cards whose id starts with this prefix and that are absent from `cards`. Use the namespace you already publish under (\"myapp-\"), so one producer's snapshot can never remove another's cards. Every card in the batch must start with it, which is what stops a typo from deleting everything."
}
}
}{
"type": "object",
"required": [
"cards"
],
"properties": {
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"template",
"title",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Namespace it if another integration might pick the same name."
},
"icon": {
"type": "string",
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept.",
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
}
},
"additionalProperties": true
},
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"role",
"confirm"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for the button. It is the `/v1/actions/<id>/run` path segment and is echoed back in the webhook delivery."
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card.",
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"description": "Optional short heading such as Cause, Impact, or Next."
}
},
"additionalProperties": true
},
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both.",
"additionalProperties": true
},
"deadline": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space.",
"additionalProperties": true
},
"progress": {
"type": "number",
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"sharedBy": {
"type": "object",
"required": [
"ownerEmail",
"shareId"
],
"properties": {
"shareId": {
"type": "string"
},
"ownerEmail": {
"type": "string"
}
},
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
},
"additionalProperties": true
},
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"description": "Short legend label for this kind of event or span."
}
},
"additionalProperties": true
},
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"description": "The event series this entry belongs to."
}
},
"additionalProperties": true
},
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history.",
"additionalProperties": true
},
"updatedAt": {
"type": "string"
},
"comparison": {
"type": "object",
"required": [
"value",
"label",
"signal"
],
"properties": {
"label": {
"type": "string",
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry.",
"additionalProperties": true
},
"staleAfter": {
"type": "string"
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
},
"additionalProperties": true
}
},
"removed": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ids deleted because they were under `replacePrefix` and absent from this snapshot. Present only when `replacePrefix` was sent."
}
},
"additionalProperties": true
}{
"title": "Publish several cards at once",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}delete_card — Delete a card
Remove a published card. Widgets showing it stop showing it.
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The card's stable id."
}
}
}{
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
}
},
"additionalProperties": true
}{
"title": "Delete a card",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}list_live_activities — List Live Activities
The Live Activities this tenant currently has running, with their content state. Pass includeEnded to also get the ones that finished in the last day — which is how to check whether an end actually landed, or to find an activity whose externalActivityId you lost.
{
"type": "object",
"properties": {
"includeEnded": {
"type": "boolean",
"description": "Also return activities that ended within the last 24 hours."
}
}
}{
"type": "object",
"required": [
"activities"
],
"properties": {
"ended": {
"type": "array",
"items": {
"type": "object",
"required": [
"activityInstanceId",
"externalActivityId",
"kind",
"title",
"endedAt"
],
"properties": {
"kind": {
"type": "string"
},
"title": {
"type": "string"
},
"endedAt": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"finalState": {
"type": "string"
},
"finalSubtitle": {
"type": "string"
},
"activityInstanceId": {
"type": "string"
},
"externalActivityId": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Present only when includeEnded was set."
},
"activities": {
"type": "array",
"items": {
"type": "object",
"required": [
"activityInstanceId",
"externalActivityId",
"kind",
"title",
"state",
"updatedAt"
],
"properties": {
"icon": {
"type": "string"
},
"kind": {
"enum": [
"generic",
"progress",
"charging",
"appliance",
"job",
"timer"
],
"type": "string",
"default": "generic"
},
"unit": {
"type": "string"
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the activity."
},
"icon": {
"type": "string",
"description": "SF Symbol name for this row."
},
"unit": {
"type": "string",
"description": "Unit shown after the row's `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Rows with `finished` or `offline` are hidden, and the activity counts the rest as its active total."
},
"progress": {
"type": "number",
"description": "This row's own progress, 0-1."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this row. `status` remains its health/lifecycle meaning.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for what this row is doing right now, drawn beside its own icon — arrow.up while charging, pause.fill while held."
}
},
"additionalProperties": true
}
},
"state": {
"type": "string"
},
"title": {
"type": "string"
},
"value": {
"type": "string"
},
"endsAt": {
"type": "string"
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string"
},
"staleAt": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri"
},
"progress": {
"type": "number"
},
"subtitle": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"statusIcon": {
"type": "string"
},
"relevanceScore": {
"type": "number"
},
"activityInstanceId": {
"type": "string"
},
"externalActivityId": {
"type": "string"
},
"countdownGranularity": {
"enum": [
"second",
"minute"
],
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}{
"title": "List Live Activities",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}start_live_activity — Start a Live Activity
Start a Live Activity on the Lock Screen and Dynamic Island. Use this for work with a start and an end that you will report on while it runs — a build, a deploy, a test or capture run, a batch job, a wash cycle, a charge, a delivery. It is the right surface whenever the operator wants to watch progress without opening anything, and the only one that can be. Always end it. `title`, `kind` and `deepLink` are frozen when it starts and cannot be changed by an update, so anything that must move belongs in the content state fields. Calling this again with an id that is already running restarts it, which is visible to the user.
{
"type": "object",
"required": [
"externalActivityId",
"kind",
"title",
"state"
],
"properties": {
"icon": {
"type": "string",
"maxLength": 64,
"description": "SF Symbol name, overriding the one `kind` implies."
},
"kind": {
"enum": [
"generic",
"progress",
"charging",
"appliance",
"job",
"timer"
],
"type": "string",
"default": "generic",
"description": "Picks the default glyph when no `icon` is set: generic, progress, charging, appliance, job, timer. Frozen once the activity starts."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Unit shown after `value`."
},
"alert": {
"type": "object",
"required": [
"title"
],
"properties": {
"body": {
"type": "string",
"maxLength": 240,
"description": "Banner body."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Banner headline."
}
},
"description": "Sends this one push as a visible notification. For state changes worth interrupting someone for — finished, failed — and nothing else; it does not rename the activity."
},
"chart": {
"type": "object",
"required": [
"points"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 60,
"minItems": 2,
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 60,
"minItems": 2,
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 60,
"minItems": 2,
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension."
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording."
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number."
}
},
"description": "A plot of the number this activity is about — watts climbing, queue depth dropping. Send the whole window on every update. It outranks `progress` for the space, and `items` suppress it entirely on the Lock Screen and Dynamic Island."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this row, unique within the activity."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "SF Symbol name for this row."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Unit shown after the row's `value`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The row's label."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The row's reading, as a display string."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Rows with `finished` or `offline` are hidden, and the activity counts the rest as its active total."
},
"progress": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "This row's own progress, 0-1."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this row. `status` remains its health/lifecycle meaning."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A second line under the row's title."
},
"statusIcon": {
"type": "string",
"maxLength": 64,
"description": "A second SF Symbol for what this row is doing right now, drawn beside its own icon — arrow.up while charging, pause.fill while held."
}
}
},
"maxItems": 6,
"description": "Up to 6 rows, for an activity that is several things at once — three chargers, a queue of jobs, a set of checks. Rows REPLACE the progress bar and SUPPRESS any `chart` on the Lock Screen and Dynamic Island, silently and with no error, so send items or a chart but not both."
},
"state": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Free-form short text for where the run is up to — \"running\", \"Rinse\", \"waiting for approval\". Rendered as text; no value has special meaning, and setting it to \"finished\" does not end the activity."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The name of the thing. FROZEN for the life of the activity — no update can change what the Lock Screen shows, only a restart can. So it must never carry a value that moves: \"CI build #1234\" and \"Dishwasher\" are titles, \"42 min left\" and \"64% charged\" are not. Put those in `value`, `progress` or `endsAt`."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The headline, as a display string. With `items`, an explicit value outranks the derived active-item count."
},
"endsAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "When the run is expected to finish. iOS then renders a countdown from the device clock, so you do not need to publish updates just to tick time forward. Prefer this over server-ticked percentages."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual meaning of the activity's current state. It changes the renderer-owned accent, symbol, and accessibility wording without changing the free-form state text."
},
"staleAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "After this iOS renders the activity as out of date, so a run whose producer has gone quiet says so instead of looking current. Send it on every push, a little past when you next expect to publish. It is the only thing that makes a stalled producer visible to the operator, and it costs nothing when you do keep publishing."
},
"deepLink": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "HTTPS URL opened when the activity is tapped. FROZEN at start, like `title` and `kind`."
},
"progress": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Progress bar, 0-1. A `chart` outranks it for the space, and `items` replace it entirely."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A line of prose under the title. Updatable."
},
"statusIcon": {
"type": "string",
"maxLength": 64,
"description": "A second SF Symbol for what the activity is doing right now, drawn beside the main one — bolt.fill while boosting, exclamationmark.triangle.fill when something needs attention. Unlike `icon`, which says what the activity IS, this says what it is DOING, so it is content state and changes on every update."
},
"relevanceScore": {
"type": "number",
"minimum": 0,
"description": "How this activity ranks against others in Smart Stack on the Lock Screen and Apple Watch; higher wins, with no fixed ceiling. Start low on a long run and raise it as the activity becomes urgent."
},
"externalActivityId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Your own id for this run. It addresses the activity on every later update and on the end call, so keep it until the end returns 2xx. Starting on an id that is already running RESTARTS it: the running activity is ended and a new one replaces it, which the user sees as one dismissing and another animating in. That is how to change a frozen `title`, `kind` or `deepLink`, and it is not something to do on a tick."
},
"countdownGranularity": {
"enum": [
"second",
"minute"
],
"type": "string",
"description": "How the `endsAt` countdown reads. `second` (default) keeps the native ticking clock; `minute` renders a rounded estimate like ~12 min and updates locally at minute boundaries. Ignored without `endsAt`."
}
}
}{
"type": "object",
"required": [
"ok",
"activityInstanceId",
"restarted",
"pending",
"pushToStartAttempted",
"pushToStartRecentlyActive",
"pushToStartPrunedStale",
"apnsResults",
"warnings"
],
"properties": {
"ok": {
"type": "boolean"
},
"pending": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Advisory notes about how this activity will RENDER, on a call that otherwise succeeded. Empty when there is nothing to say. These never affect whether the request worked; act on them anyway, because the operator's Lock Screen is the one thing you cannot look at."
},
"restarted": {
"type": "boolean",
"description": "True when an activity was already running under this id, so it was ended and replaced rather than started fresh. The user saw one dismiss and another animate in."
},
"apnsResults": {
"type": "array",
"items": {
"type": "object",
"required": [
"status"
],
"properties": {
"apnsId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "APNs' own id for the push."
},
"reason": {
"type": "string",
"description": "APNs failure reason, when it failed."
},
"status": {
"type": "number",
"description": "The HTTP status APNs answered with; 200 is delivered."
},
"retryAfterSeconds": {
"type": "number"
}
},
"additionalProperties": true
}
},
"activityInstanceId": {
"type": "string",
"description": "The server's id for this exact activity."
},
"pushToStartAttempted": {
"type": "number",
"description": "How many devices were sent the push that starts the activity. ZERO means nobody will see this one, or anything else you publish: the operator has no device registered, so tell them to open the 00Widget app and allow notifications rather than continuing to publish."
},
"pushToStartPrunedStale": {
"type": "number",
"description": "Devices that had not run the app in 30 days, so were not sent the start and were removed. They return on their own the next time the app launches."
},
"pushToStartRecentlyActive": {
"type": "number",
"description": "Of the devices sent the start, how many have run the 00Widget app in the last 7 days. Fewer than `pushToStartAttempted` means some were sent it and may never show it; compare `registeredDevices` on your next update."
}
},
"additionalProperties": true
}{
"title": "Start a Live Activity",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}update_live_activity — Update a Live Activity
Push new content state to a running Live Activity. A new `title` is stored and returned by list_live_activities but the Lock Screen keeps the original — it is frozen at start.
{
"type": "object",
"required": [
"externalActivityId"
],
"properties": {
"icon": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "New SF Symbol name. `null` falls back to the one `kind` implies."
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 24
},
{
"type": "null"
}
],
"description": "New unit. `null` removes it."
},
"alert": {
"type": "object",
"required": [
"title"
],
"properties": {
"body": {
"type": "string",
"maxLength": 240,
"description": "Banner body."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Banner headline."
}
},
"description": "Sends this one push as a visible notification. For state changes worth interrupting someone for — finished, failed — and nothing else; it does not rename the activity."
},
"chart": {
"anyOf": [
{
"type": "object",
"required": [
"points"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 60,
"minItems": 2,
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 60,
"minItems": 2,
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 60,
"minItems": 2,
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension."
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording."
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number."
}
}
},
{
"type": "null"
}
],
"description": "The whole current window, replacing the last one. `null` removes the plot."
},
"items": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this row, unique within the activity."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "SF Symbol name for this row."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Unit shown after the row's `value`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The row's label."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The row's reading, as a display string."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Rows with `finished` or `offline` are hidden, and the activity counts the rest as its active total."
},
"progress": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "This row's own progress, 0-1."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this row. `status` remains its health/lifecycle meaning."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A second line under the row's title."
},
"statusIcon": {
"type": "string",
"maxLength": 64,
"description": "A second SF Symbol for what this row is doing right now, drawn beside its own icon — arrow.up while charging, pause.fill while held."
}
}
},
"maxItems": 6
},
{
"type": "null"
}
],
"description": "The complete row list, replacing what is there. `[]` or `null` returns the activity to its top-level fields and lets a `chart` show again."
},
"state": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Where the run is up to now."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Accepted and stored, but it does NOT change the running activity: the title is frozen when it starts. Leave it out of updates."
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"description": "New headline display string. `null` removes it."
},
"endsAt": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$"
},
{
"type": "null"
}
],
"description": "A new expected finish. `null` removes the countdown, and takes `countdownGranularity` with it."
},
"signal": {
"anyOf": [
{
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "New contextual signal for the activity shell. `null` returns to the kind's normal accent."
},
"staleAt": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$"
},
{
"type": "null"
}
],
"description": "New stale time. Send it on every update, a little past when you next expect to publish, so the activity marks itself out of date if this is the last update you send. `null` removes it, which leaves a stalled activity looking current — only do that on the way to `end`."
},
"progress": {
"anyOf": [
{
"type": "number",
"maximum": 1,
"minimum": 0
},
{
"type": "null"
}
],
"description": "New progress, 0-1. `null` removes the bar — which is what a run that has finished should send."
},
"subtitle": {
"anyOf": [
{
"type": "string",
"maxLength": 240
},
{
"type": "null"
}
],
"description": "New prose under the title. `null` removes it."
},
"statusIcon": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "New runtime glyph. `null` removes it — which is what an activity that has stopped doing the thing should send."
},
"relevanceScore": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"description": "New Smart Stack ranking. Spike it on the finishing update so the wrist surfaces it."
},
"externalActivityId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "The id you started the activity with."
},
"countdownGranularity": {
"anyOf": [
{
"enum": [
"second",
"minute"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "How the countdown reads. Omitted, the activity keeps its current setting."
}
}
}{
"type": "object",
"required": [
"ok",
"activityInstanceId",
"apnsResult",
"recipientResults",
"pendingUpdated",
"registeredDevices",
"secondsSincePreviousUpdate",
"staleAtPushed",
"warnings"
],
"properties": {
"ok": {
"type": "boolean"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Advisory notes about how this activity will RENDER, on a call that otherwise succeeded. Empty when there is nothing to say. These never affect whether the request worked; act on them anyway, because the operator's Lock Screen is the one thing you cannot look at."
},
"apnsResult": {
"anyOf": [
{
"type": "object",
"required": [
"status"
],
"properties": {
"apnsId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "APNs' own id for the push."
},
"reason": {
"type": "string",
"description": "APNs failure reason, when it failed."
},
"status": {
"type": "number",
"description": "The HTTP status APNs answered with; 200 is delivered."
},
"retryAfterSeconds": {
"type": "number"
}
},
"additionalProperties": true
},
{
"type": "null"
}
]
},
"staleAtPushed": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The stale date THIS push carried, not the one stored. `null` means this push set none, so nothing marks the activity out of date if you stop here — send `staleAt` on the next one."
},
"pendingUpdated": {
"type": "boolean",
"description": "True when the new state was stored but no device holds a token for this activity yet, so nothing was pushed. A device that registers later is sent the current state then, so nothing needs re-sending."
},
"recipientResults": {
"type": "array",
"items": {
"type": "object",
"required": [
"status"
],
"properties": {
"apnsId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "APNs' own id for the push."
},
"reason": {
"type": "string",
"description": "APNs failure reason, when it failed."
},
"status": {
"type": "number",
"description": "The HTTP status APNs answered with; 200 is delivered."
},
"retryAfterSeconds": {
"type": "number"
}
},
"additionalProperties": true
}
},
"registeredDevices": {
"type": "number",
"description": "How many of the operator's devices hold a token for this activity and were pushed this update. Set it against `pushToStartAttempted`: the difference is devices that were sent the start and have not registered it."
},
"activityInstanceId": {
"type": "string"
},
"secondsSincePreviousUpdate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "How long this activity spent showing its previous state. There is no error for going quiet — every call you make answers 200 and the ones you skip return nothing — so this is the signal that you have. If it is larger than the work between updates should take, the operator has been reading a stale Lock Screen as current."
}
},
"additionalProperties": true
}{
"title": "Update a Live Activity",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}end_live_activity — End a Live Activity
End a running Live Activity with a final frame. Always end what you start. This cannot be undone: an ended activity cannot be resumed, only replaced by starting a new one, which the user sees as the old one dismissing and a new one animating in.
{
"type": "object",
"required": [
"externalActivityId"
],
"properties": {
"finalUnit": {
"anyOf": [
{
"type": "string",
"maxLength": 24
},
{
"type": "null"
}
],
"description": "Unit after `finalValue`. Omitted keeps the current unit; `null` removes it."
},
"finalChart": {
"anyOf": [
{
"type": "object",
"required": [
"points"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40
},
"maxItems": 60,
"minItems": 2,
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 60,
"minItems": 2,
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 60,
"minItems": 2,
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension."
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
}
},
"maxItems": 60,
"minItems": 2,
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording."
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number."
}
}
},
{
"type": "null"
}
],
"description": "The final plot window. Omitted keeps the current chart, which is usually worth keeping — the history is still true once the work is done; `null` removes it."
},
"finalItems": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"maxLength": 96,
"minLength": 1,
"description": "Stable id for this row, unique within the activity."
},
"icon": {
"type": "string",
"maxLength": 64,
"description": "SF Symbol name for this row."
},
"unit": {
"type": "string",
"maxLength": 24,
"description": "Unit shown after the row's `value`."
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The row's label."
},
"value": {
"type": "string",
"maxLength": 80,
"description": "The row's reading, as a display string."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Rows with `finished` or `offline` are hidden, and the activity counts the rest as its active total."
},
"progress": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "This row's own progress, 0-1."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this row. `status` remains its health/lifecycle meaning."
},
"subtitle": {
"type": "string",
"maxLength": 240,
"description": "A second line under the row's title."
},
"statusIcon": {
"type": "string",
"maxLength": 64,
"description": "A second SF Symbol for what this row is doing right now, drawn beside its own icon — arrow.up while charging, pause.fill while held."
}
}
},
"maxItems": 6
},
{
"type": "null"
}
],
"description": "The complete final row list. Omitted keeps the current rows; `[]` or `null` removes them."
},
"finalState": {
"type": "string",
"maxLength": 120,
"description": "The last state text. Defaults to \"finished\"."
},
"finalValue": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"description": "Headline on the final frame — \"3/3\". Omitted keeps the current value; `null` removes it."
},
"finalEndsAt": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$"
},
{
"type": "null"
}
],
"description": "Send `null` to remove the countdown: a finished activity otherwise keeps it, and the Lock Screen timer counts up past zero until the frame is dismissed. It does not control dismissal — `dismissalDate` does."
},
"finalSignal": {
"anyOf": [
{
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Contextual signal for the final frame. Omitted keeps the current signal; `null` clears it."
},
"dismissalDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"description": "Keeps the final frame on the Lock Screen until this time, within Apple's four-hour window. Omitted, the activity is dismissed immediately."
},
"finalProgress": {
"anyOf": [
{
"type": "number",
"maximum": 1,
"minimum": 0
},
{
"type": "null"
}
],
"description": "Progress on the final frame: `1` for a run that completed, `null` to remove the bar. Omitted keeps the current progress, which is right for a run cancelled part-way."
},
"finalSubtitle": {
"type": "string",
"maxLength": 240,
"description": "What happened, on the last frame — \"passed in 4m 12s\". There is no `finalTitle`, because the title is frozen, so say it here."
},
"finalStatusIcon": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Runtime glyph on the final frame. `null` removes it, which is what an activity that has stopped doing the thing should send."
},
"externalActivityId": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "The id you started the activity with."
}
}
}{
"type": "object",
"required": [
"ok",
"apnsResult",
"recipientResults"
],
"properties": {
"ok": {
"type": "boolean"
},
"apnsResult": {
"anyOf": [
{
"type": "object",
"required": [
"status"
],
"properties": {
"apnsId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "APNs' own id for the push."
},
"reason": {
"type": "string",
"description": "APNs failure reason, when it failed."
},
"status": {
"type": "number",
"description": "The HTTP status APNs answered with; 200 is delivered."
},
"retryAfterSeconds": {
"type": "number"
}
},
"additionalProperties": true
},
{
"type": "null"
}
]
},
"recipientResults": {
"type": "array",
"items": {
"type": "object",
"required": [
"status"
],
"properties": {
"apnsId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "APNs' own id for the push."
},
"reason": {
"type": "string",
"description": "APNs failure reason, when it failed."
},
"status": {
"type": "number",
"description": "The HTTP status APNs answered with; 200 is delivered."
},
"retryAfterSeconds": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}{
"title": "End a Live Activity",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}get_dashboard — Read everything at once
Every published card and every running Live Activity in one call. Prefer it over list_cards plus list_live_activities when you want the whole picture — it is one request instead of two and the two halves are read together.
{
"type": "object",
"properties": {}
}{
"type": "object",
"required": [
"cards",
"activities"
],
"properties": {
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"template",
"title",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identity of the thing being shown, reused on every publish so the card updates rather than duplicating. Never embed a timestamp or run id. Namespace it if another integration might pick the same name."
},
"icon": {
"type": "string",
"description": "SF Symbol name for the card: sun.max, bolt.car, flame, washer, creditcard."
},
"unit": {
"type": "string",
"description": "Suffix shown after `value`: kW, %, jobs. Prefixes such as currency symbols belong in the formatted `value` instead; use `value: \"$338.99\"` and omit `unit`, not `value: \"338.99\"` with `unit: \"$\"`."
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"description": "The series behind a `chart` card. Republish the whole window every time — nothing is appended and no history is kept.",
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the card."
},
"unit": {
"type": "string",
"description": "Unit shown after `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string already formatted for a person."
},
"amount": {
"type": "number",
"description": "The row's magnitude, used to draw it: ranked bars in a `list` (measured against the largest row) or proportional segments in a `breakdown` (measured against the total, so never send percentages). Send it alongside `value`, not instead of it — `value` is the label."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Colours the row. In a `history` card it is the entire content: each item is one past outcome and only its status is drawn."
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when this row is tapped, instead of the card's own `deepLink`. Only medium and large Home Screen widgets can address a single row; everywhere smaller the whole card is one tap target and the card's link is used."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this quantity. Keep health/outcome meaning in `status`; items deliberately do not duplicate the chart/activity `signal` field.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
}
},
"additionalProperties": true
},
"description": "Rows. A `list` shows them as rows, ranked as bars when they carry an `amount`; a `history` draws their `status` as pips, oldest first; a `breakdown` splits one bar by their `amount`."
},
"title": {
"type": "string",
"description": "The name of the thing. It renders on one line at caption size, so keep it short and stable — a value that moves belongs in `value`."
},
"value": {
"type": "string",
"description": "The headline, as a display string already formatted for a person: \"3.2\", \"$338.99\", \"4m 12s\", \"Healthy\". It is never parsed back into a number."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Drives the card's tint and badge on every surface. `good`/`warning`/`critical` for health, `running`/`finished`/`paused`/`offline` for lifecycle."
},
"actions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"role",
"confirm"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for the button. It is the `/v1/actions/<id>/run` path segment and is echoed back in the webhook delivery."
},
"role": {
"enum": [
"normal",
"destructive"
],
"type": "string",
"default": "normal",
"description": "`destructive` marks the button as dangerous and stops it running from a widget; it routes through the iOS app for confirmation instead."
},
"label": {
"type": "string",
"description": "What the button says. Short enough for a widget: \"Boost 1h\", \"Retry\"."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Ask the person before running. Also stops the button running from a widget, for the same reason `role: destructive` does."
},
"confirmation": {
"type": "object",
"required": [
"title",
"message"
],
"properties": {
"title": {
"type": "string",
"description": "Question shown as the confirmation title, such as \"Approve launch?\"."
},
"message": {
"type": "string",
"description": "Plain-language consequence shown beneath the confirmation title."
}
},
"description": "Custom copy for the foreground confirmation alert. Older actions may omit it; clients then explain that 00Widget will send the named action for the card.",
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"briefing": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"text"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this detail. Order sections from most important to least: smaller surfaces show only a prefix."
},
"text": {
"type": "string",
"description": "One self-contained plain-text detail. Do not send Markdown. Make it useful without relying on a later section, because smaller widgets may stop here."
},
"label": {
"type": "string",
"description": "Optional short heading such as Cause, Impact, or Next."
}
},
"additionalProperties": true
},
"description": "Progressive details, most important first. The card's value and subtitle are the compact conclusion and old-client fallback."
}
},
"description": "Ordered prose behind a `briefing` card. Keep `value` as the compact conclusion and `subtitle` as its first explanation: old clients render the unknown template as a summary and still show both.",
"additionalProperties": true
},
"deadline": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri",
"description": "HTTPS URL opened when the card is tapped. Point it at the dashboard or detail page this card summarises."
},
"priority": {
"type": "integer",
"description": "Where this card sits among the tenant's cards. Higher comes first; absent counts as 0 and ties break by `id`, which is the order everything had before. It decides the order of `GET /v1/cards`, the app's dashboard, and which cards fill a Home Screen grid widget that has not been configured with specific ones."
},
"producer": {
"type": "object",
"required": [
"label"
],
"properties": {
"icon": {
"type": "string",
"description": "Optional SF Symbol shown beside the producer on roomy Apple surfaces."
},
"label": {
"type": "string",
"description": "Human-readable name of the agent, automation, or service that published the card."
}
},
"description": "Who published this card. Use the operator's own agent or automation name, not a provider logo; compact surfaces omit this attribution to preserve space.",
"additionalProperties": true
},
"progress": {
"type": "number",
"description": "How full the thing is, 0-1, drawn as a bar. Required in practice by `template: progress`, ignored where there is nowhere to draw it. Keep `value` as the label, so the card can show both: \"184 of 240\"."
},
"sharedBy": {
"type": "object",
"required": [
"ownerEmail",
"shareId"
],
"properties": {
"shareId": {
"type": "string"
},
"ownerEmail": {
"type": "string"
}
},
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A short, single-line label under the title or value. It truncates rather than wraps on widgets, so aim for about 40 characters, put essential numbers and qualifiers first, and do not repeat the title. For a chart whose `reference` matters, lead with its formatted meaning and value: \"$300 baseline · Mar–Aug 2026\"."
},
"template": {
"enum": [
"summary",
"progress",
"list",
"action",
"chart",
"history",
"breakdown",
"briefing",
"timeline"
],
"type": "string",
"description": "How the card is drawn. Pick by the shape of the data, not the domain: `summary` for one headline number or short state; `progress` for something filling up; `list` for 2-6 things with their own values; `action` for buttons; `chart` for one number moving over time; `history` for a run of pass/fail outcomes; `breakdown` for a whole split into parts; `briefing` for a conclusion followed by ordered prose; `timeline` for irregular timestamped events and duration spans. When unsure, `summary` degrades best at every widget size."
},
"timeline": {
"type": "object",
"required": [
"startAt",
"endAt",
"lanes",
"series",
"entries"
],
"properties": {
"endAt": {
"type": "string",
"description": "End of the fixed observation window."
},
"lanes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable lane id, referenced by every timeline entry."
},
"label": {
"type": "string",
"description": "Short label for one observed subject, such as Whole house, Garage, or Production."
}
},
"additionalProperties": true
},
"description": "One to three horizontal subjects, in display order."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable event-series id, referenced by every timeline entry."
},
"icon": {
"type": "string",
"description": "Optional SF Symbol for the series. Renderers own its colour and marker treatment."
},
"label": {
"type": "string",
"description": "Short legend label for this kind of event or span."
}
},
"additionalProperties": true
},
"description": "One to four event kinds, in stable legend order."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"laneId",
"seriesId",
"at"
],
"properties": {
"at": {
"type": "string",
"description": "When the event happened, or when a duration began."
},
"id": {
"type": "string",
"description": "Stable id for this event within the published window."
},
"endAt": {
"type": "string",
"description": "When a duration ended. Omit for an instantaneous event."
},
"label": {
"type": "string",
"description": "Optional entry-specific detail. The series label already names the event kind."
},
"laneId": {
"type": "string",
"description": "The lane on which this entry is drawn."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Optional health or lifecycle meaning for this entry. Never use it merely to choose a colour."
},
"seriesId": {
"type": "string",
"description": "The event series this entry belongs to."
}
},
"additionalProperties": true
},
"description": "Events and spans in the window. The server stores them oldest first; republish the complete window."
},
"startAt": {
"type": "string",
"description": "Beginning of the fixed observation window."
}
},
"description": "Timestamped events and spans behind a `timeline` card. Republish the complete fixed window; the server sorts entries and does not append history.",
"additionalProperties": true
},
"updatedAt": {
"type": "string"
},
"comparison": {
"type": "object",
"required": [
"value",
"label",
"signal"
],
"properties": {
"label": {
"type": "string",
"description": "What the change is compared with, such as vs Monday or from last week."
},
"value": {
"type": "string",
"description": "Already-formatted change, such as +18 or -12%."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"default": "neutral",
"description": "Whether this change is favorable, neutral, cautionary, or unfavorable in context."
}
},
"description": "A concise interpretation beside the headline, for example +18 vs Monday. This is distinct from chart style `delta`, which controls bar geometry.",
"additionalProperties": true
},
"staleAfter": {
"type": "string"
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for a runtime state that changes independently of what the card is — bolt.fill while boosting, arrow.up while charging. Drawn at every widget size, including grid cells."
}
},
"additionalProperties": true
}
},
"activities": {
"type": "array",
"items": {
"type": "object",
"required": [
"activityInstanceId",
"externalActivityId",
"kind",
"title",
"state",
"updatedAt"
],
"properties": {
"icon": {
"type": "string"
},
"kind": {
"enum": [
"generic",
"progress",
"charging",
"appliance",
"job",
"timer"
],
"type": "string",
"default": "generic"
},
"unit": {
"type": "string"
},
"chart": {
"type": "object",
"required": [
"points",
"style",
"stacking"
],
"properties": {
"max": {
"type": "number",
"description": "Pins the top of the plot."
},
"min": {
"type": "number",
"description": "Pins the bottom of the plot. Without a range the plot scales to the series, so a flat-but-noisy one looks dramatic. Send at least `min: 0` whenever the absolute scale is the point."
},
"style": {
"enum": [
"line",
"bar",
"delta",
"range"
],
"type": "string",
"default": "line",
"description": "`line` is a sparkline with a soft area fill; `bar` grows every bar from the bottom of the range; `delta` anchors at zero instead, so signed values grow up or down from a zero rule; `range` draws floating low/high intervals with optional publisher-defined value markers."
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional category labels aligned with points. Small surfaces omit them; large widgets and detail views show a readable subset."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "2-60 values, oldest first, plotted evenly spaced. There are no timestamps: send a fixed rolling window. The small surfaces — Lock Screen, small widget, grid cells — average a long series down to what they can draw, so the window you send is always the window shown; send the resolution the data actually has."
},
"ranges": {
"type": "array",
"items": {
"type": "object",
"required": [
"low",
"high"
],
"properties": {
"low": {
"type": "number",
"description": "Bottom of the observed or expected interval."
},
"high": {
"type": "number",
"description": "Top of the observed or expected interval."
},
"value": {
"type": "number",
"description": "Optional representative value marked inside the interval. Its meaning is supplied by the chart's rangeValueLabel; clients never infer one."
}
},
"additionalProperties": true
},
"description": "Two to sixty low/high intervals. The server derives legacy points from each value, or from its midpoint when value is absent."
},
"series": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"points"
],
"properties": {
"id": {
"type": "string",
"description": "Stable series id, used to keep renderer-owned presentation consistent."
},
"label": {
"type": "string",
"description": "Short legend label."
},
"points": {
"type": "array",
"items": {
"type": "number"
},
"description": "Non-negative values aligned one-for-one with every other series, label, and category."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Optional role, flow, and contextual signal hints. Renderers choose all actual colors and patterns.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"description": "One to four semantic series for vertical bars, stacked or grouped when multiple. The server derives legacy points as their totals for older clients."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning shared by a single points or range series and inherited by any multi-series entry that omits a semantic dimension.",
"additionalProperties": true
},
"stacking": {
"enum": [
"stacked",
"grouped"
],
"type": "string",
"default": "stacked",
"description": "How multiple bar series share each category: stacked into one column or grouped side by side."
},
"reference": {
"type": "number",
"description": "A target, budget, SLO or threshold, drawn as a dashed rule across the plot. Usually the difference between a trend you can read and one you can act on, because above-or-below needs no axis labels. The rule has no numeric label; when its exact value matters, lead the card's short `subtitle` with its formatted meaning and value."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label"
],
"properties": {
"id": {
"type": "string",
"description": "Stable category id for the time period or bucket."
},
"label": {
"type": "string",
"description": "Short display label. The server derives the legacy labels array from categories."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation of this category, such as a favorable off-peak or unfavorable peak period."
}
},
"additionalProperties": true
},
"description": "Rich categories aligned with points. Use category signal for meanings that vary per bar, such as favorable off-peak and unfavorable peak periods. The server derives labels."
},
"rangeValueLabel": {
"type": "string",
"description": "Short meaning shared by every supplied ranges[].value marker, such as Daily average, Median, or Current. Omit it rather than guessing."
},
"referenceMetadata": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "Short name for the rule, such as Target, Baseline, Budget, or Capacity."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether a quantity flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What the series represents; affects emphasis and fill treatment, never a producer-selected color."
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string",
"description": "Contextual interpretation from the producer's perspective, not an intrinsic property of the value."
}
},
"description": "Meaning of the rule. Renderers choose its color, dash, emphasis, and accessibility wording.",
"additionalProperties": true
}
},
"description": "Optional label and semantic meaning for the numeric reference. Kept separate so older clients still receive and draw the legacy reference number.",
"additionalProperties": true
}
},
"additionalProperties": true
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title"
],
"properties": {
"id": {
"type": "string",
"description": "Stable id for this row, unique within the activity."
},
"icon": {
"type": "string",
"description": "SF Symbol name for this row."
},
"unit": {
"type": "string",
"description": "Unit shown after the row's `value`."
},
"title": {
"type": "string",
"description": "The row's label."
},
"value": {
"type": "string",
"description": "The row's reading, as a display string."
},
"status": {
"enum": [
"unknown",
"good",
"warning",
"critical",
"running",
"finished",
"paused",
"offline"
],
"type": "string",
"default": "unknown",
"description": "Rows with `finished` or `offline` are hidden, and the activity counts the rest as its active total."
},
"progress": {
"type": "number",
"description": "This row's own progress, 0-1."
},
"semantic": {
"type": "object",
"properties": {
"flow": {
"enum": [
"inbound",
"outbound"
],
"type": "string",
"description": "Whether this item flows into or out of the measured system."
},
"role": {
"enum": [
"actual",
"forecast",
"baseline",
"target",
"capacity",
"balance",
"remainder"
],
"type": "string",
"description": "What this item represents. Renderers choose the emphasis; producers never choose a color."
}
},
"description": "Optional role and flow hints for this row. `status` remains its health/lifecycle meaning.",
"additionalProperties": true
},
"subtitle": {
"type": "string",
"description": "A second line under the row's title."
},
"statusIcon": {
"type": "string",
"description": "A second SF Symbol for what this row is doing right now, drawn beside its own icon — arrow.up while charging, pause.fill while held."
}
},
"additionalProperties": true
}
},
"state": {
"type": "string"
},
"title": {
"type": "string"
},
"value": {
"type": "string"
},
"endsAt": {
"type": "string"
},
"signal": {
"enum": [
"favorable",
"neutral",
"caution",
"unfavorable"
],
"type": "string"
},
"staleAt": {
"type": "string"
},
"deepLink": {
"type": "string",
"format": "uri"
},
"progress": {
"type": "number"
},
"subtitle": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"statusIcon": {
"type": "string"
},
"relevanceScore": {
"type": "number"
},
"activityInstanceId": {
"type": "string"
},
"externalActivityId": {
"type": "string"
},
"countdownGranularity": {
"enum": [
"second",
"minute"
],
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}{
"title": "Read everything at once",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_status — Check what this connection can reach
Whether anything will actually see what you publish, what this credential may do, how much rate budget is left, and what this deployment has enabled. Worth one call before publishing for the first time: if `delivery.canPushWidgets` is false, nothing you publish will be seen by anyone, and the operator needs to install the app and allow notifications rather than you trying again. `attention.liveActivities` names any activity of yours that has stopped telling the operator the truth; it is empty when there is nothing wrong.
{
"type": "object",
"properties": {}
}{
"type": "object",
"required": [
"account",
"delivery",
"published",
"attention",
"features",
"subscription",
"rateLimits"
],
"properties": {
"account": {
"type": "object",
"required": [
"tenantId",
"credentialKind",
"scopes",
"credentialExpiresAt"
],
"properties": {
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this credential may do."
},
"tenantId": {
"type": "string"
},
"credentialKind": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string"
}
},
"additionalProperties": true
},
"delivery": {
"type": "object",
"required": [
"devices",
"widgetPushTokens",
"liveActivityStartTokens",
"liveActivityStartTokensRecentlyActive",
"canPushWidgets",
"canStartLiveActivities",
"widgetReloadMinSpacingSeconds",
"widgetReloadBurst",
"widgetReloadRefillSeconds",
"secondsUntilNextWidgetReload",
"widgetPushApnsDiagnosticsEnabled"
],
"properties": {
"devices": {
"type": "number"
},
"canPushWidgets": {
"type": "boolean",
"description": "False means no device can receive a widget reload: what you publish is stored and seen by nobody."
},
"widgetPushTokens": {
"type": "number"
},
"widgetReloadBurst": {
"type": "number",
"description": "How many reloads a widget may receive back-to-back after a quiet stretch."
},
"canStartLiveActivities": {
"type": "boolean",
"description": "False means a Live Activity cannot appear on any device."
},
"liveActivityStartTokens": {
"type": "number",
"description": "Devices a Live Activity start is sent to. Devices that have not run the app in 30 days are not counted and are not sent starts."
},
"widgetPushLastDeliveries": {
"type": "array",
"items": {
"type": "object",
"required": [
"attemptedAt",
"status",
"attempts"
],
"properties": {
"apnsId": {
"type": "string",
"description": "APNs' own id for the push."
},
"reason": {
"type": "string",
"description": "APNs failure reason, when it failed."
},
"status": {
"type": "number",
"description": "The HTTP status APNs answered with; 200 is delivered."
},
"attempts": {
"type": "number",
"description": "How many times this reload was tried before giving up."
},
"attemptedAt": {
"type": "string"
},
"tokenPrefix": {
"type": "string",
"description": "First 8 characters of the push token, enough to tell devices apart."
}
},
"additionalProperties": true
},
"description": "The latest APNs result per registered widget push token, newest first. Only present while diagnostics are enabled."
},
"widgetReloadRefillSeconds": {
"type": "number",
"description": "How often one additional widget reload becomes available."
},
"secondsUntilNextWidgetReload": {
"type": "number"
},
"widgetReloadMinSpacingSeconds": {
"type": "number",
"description": "The shortest gap between two reload pushes to the same widget."
},
"widgetPushApnsDiagnosticsEnabled": {
"type": "boolean",
"description": "Whether this deployment is recording the APNs result of each widget reload. Off normally, because every attempt costs a row written."
},
"liveActivityStartTokensRecentlyActive": {
"type": "number",
"description": "Of those, devices that have run the app in the last 7 days."
}
},
"additionalProperties": true
},
"features": {
"type": "object",
"required": [
"sharing",
"mcp"
],
"properties": {
"mcp": {
"type": "boolean"
},
"sharing": {
"type": "boolean"
}
},
"additionalProperties": true
},
"attention": {
"type": "object",
"required": [
"liveActivities"
],
"properties": {
"liveActivities": {
"type": "array",
"items": {
"type": "object",
"required": [
"externalActivityId",
"secondsSinceUpdate",
"staleAt",
"reason"
],
"properties": {
"reason": {
"enum": [
"no-stale-date",
"past-stale-date"
],
"type": "string"
},
"staleAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalActivityId": {
"type": "string"
},
"secondsSinceUpdate": {
"type": "number"
}
},
"additionalProperties": true
},
"description": "Activities you own that are not telling the operator the truth. `past-stale-date` means the safety net worked and iOS is already drawing it as out of date, but the run outlived its estimate and needs updating or ending. `no-stale-date` is the dangerous one: nothing will ever mark it stale, so a Lock Screen shows its last state as current indefinitely — send `staleAt` on the next update. Empty when there is nothing to say; activities shared to you are never listed, because you cannot update them."
}
},
"additionalProperties": true
},
"published": {
"type": "object",
"required": [
"cards",
"liveActivities"
],
"properties": {
"cards": {
"type": "number"
},
"liveActivities": {
"type": "number"
}
},
"additionalProperties": true
},
"rateLimits": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"limit",
"remaining",
"resetAt"
],
"properties": {
"label": {
"type": "string"
},
"limit": {
"type": "number"
},
"resetAt": {
"type": "string"
},
"remaining": {
"type": "number"
}
},
"additionalProperties": true
},
"description": "Only windows this account has touched; anything absent has its full allowance."
},
"subscription": {
"type": "object",
"required": [
"enabled",
"required"
],
"properties": {
"state": {
"type": "object",
"required": [
"status",
"active"
],
"properties": {
"active": {
"type": "boolean"
},
"status": {
"enum": [
"active",
"trial",
"grace",
"expired",
"revoked",
"none"
],
"type": "string"
},
"provider": {
"enum": [
"apple",
"meta"
],
"type": "string"
},
"autoRenew": {
"type": "boolean"
},
"expiresAt": {
"type": "string"
},
"productId": {
"type": "string"
},
"environment": {
"type": "string"
}
},
"additionalProperties": true
},
"enabled": {
"type": "boolean"
},
"required": {
"type": "boolean",
"description": "Whether writes are refused without an active subscription."
}
},
"additionalProperties": true
}
},
"additionalProperties": true
}{
"title": "Check what this connection can reach",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_integration_guide — Read the 00Widget integration guide
The rules no argument schema can carry: which template fits which shape of data, what a Live Activity freezes at start, and what publishing etiquette costs you if you ignore it. Read it before publishing for the first time. ALWAYS pass `section`: pick `cards` or `live-activities` for the surface you decided on, which is half the size of the default and all of it relevant. Only fall back to `essentials` if you genuinely do not know yet which of the two you are publishing to.
{
"type": "object",
"properties": {
"section": {
"enum": [
"essentials",
"cards",
"live-activities",
"actions",
"everything"
],
"type": "string",
"default": "essentials",
"description": "Which part to return; pick by what you have already decided to publish. `cards` — dashboard cards: the templates, chart semantics and item rows. `live-activities` — starting, updating and ending a run on the Lock Screen. `actions` — the shape of a button on a card. `essentials` (the default) is `cards` AND `live-activities` together, so it is roughly twice the size of either and half of it will be about the surface you are not using; take it only when you do not yet know which you need. `everything` is the full public document, including the HTTP and code-level material an MCP client has no use for. Every section names what it omits and where to find it, so narrowing costs you nothing you cannot ask for."
}
}
}{
"type": "object",
"required": [
"section",
"markdown"
],
"properties": {
"section": {
"enum": [
"essentials",
"cards",
"live-activities",
"actions",
"everything"
],
"type": "string",
"description": "The guide section that was returned."
},
"markdown": {
"type": "string",
"description": "The requested integration guide as Markdown."
}
},
"additionalProperties": true
}{
"title": "Read the 00Widget integration guide",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 4 of 4 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 763 ms
- 95th percentile latency
- 1089 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 483 ms · metadata changed · 12 tool(s); protected-resource metadata advertises OAuth
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · probe · passed · 669 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · repository · passed · metadata changed · updated
- · probe · passed · 1136 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
Try asking
Reviewed prompts from cited playbooks. Connect the listed servers before using them.
Integrate this project with 00Widget so its state shows up on iOS widgets and Live Activities. Read the integration contract: https://api.00widget.com/llms.md. Identify surfaces like build state or queue depth. Pick a template (summary, progress, list, action, chart, history, breakdown, briefing, or timeline). Add a publish path that POSTs to /v1/cards/upsert with a stable id. Use Live Activities for time-bounded events. Ensure no secrets or PII are in card fields.Agent playbooks using this server
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http 00widget-mcp https://api.00widget.com/mcpCodex
codex mcp add 00widget-mcp --url https://api.00widget.com/mcpCursor
{
"mcpServers": {
"00widget-mcp": {
"url": "https://api.00widget.com/mcp"
}
}
}Cline
{
"mcpServers": {
"00widget-mcp": {
"type": "streamableHttp",
"url": "https://api.00widget.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"00widget-mcp": {
"type": "http",
"url": "https://api.00widget.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http 00widget-mcp https://api.00widget.com/mcpClaude Desktop
https://api.00widget.com/mcpWindsurf
{
"mcpServers": {
"00widget-mcp": {
"serverUrl": "https://api.00widget.com/mcp"
}
}
}Let your agent find its tools
Find servers like 00Widget MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run 00Widget MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.