Well-Known Keys
This feature is alpha. Names, fields, and behavior can change or be removed at any time without notice.
Keys that start with md/ are reserved. Each key has a fixed place, format, and schema, so the UI can show it with no setup. There are four groups:
- Widget keys on instances and environments. The UI shows each one as a widget to everyone with
stash:viewon the stash. - Scorecard keys: scorecard results and the facts that scorecards check.
- Deployment results that a provisioner writes while a deployment runs.
- UI keys for the notices that Massdriver sets on projects and environments.
These are the widget keys:
| Key | Set on | Format | Widget name | Widget |
|---|---|---|---|---|
md/v1/health | Instance | JSON | instance.status_dot | Status dot on the instance |
md/v1/usage | Instance | JSON | instance.usage_bar | Usage bar on the instance |
md/v1/traffic | Instance | JSON | link.traffic | Traffic on the lines that leave the instance |
md/v1/urls | Instance | JSON | instance.urls | Docs, API, and App buttons in the instance panel |
md/v1/banner | Environment | JSON | environment.banner | Banner across the top of the environment |
md/v1/links | Environment | JSON | environment.header_link | Links in the environment header |
md/v1/oncall | Environment | JSON | environment.oncall | On-call card on the environment canvas |
md/v1/leaderboard | Environment | JSON | environment.leaderboard | Leaderboard card on the environment canvas |
These are the scorecard keys:
| Key | Set on | Format | Widget name |
|---|---|---|---|
md/v1/scorecard/<scorecard> | Instance | JSON | instance.scorecard |
md/v1/scorecard/<scorecard> | Environment | JSON | environment.scorecard |
md/v1/scorecard/<scorecard> | Project | JSON | project.scorecard |
md/v1/delivery | Instance | JSON | instance.delivery |
md/v1/reliability | Instance | JSON | instance.reliability |
md/v1/currency | Instance | JSON | instance.currency |
md/v1/pending | Instance | JSON | instance.pending |
md/v1/parity | Environment | JSON | environment.parity |
md/v1/ownership | Environment | JSON | environment.ownership |
md/v1/ownership | Project | JSON | project.ownership |
The server rejects a write to an md/ key when:
- No widget in the catalog reads the key. This includes a key without a version, such as
md/health. The error names the key to use, such asmd/v1/health. - The key is set on the wrong kind of entity.
- A segment of the key is not one of its allowed values.
- The format is not the one in the table.
- The value does not match the key's schema.
- The entry is sensitive.
Versions
Each well-known key has a version in its path, such as v1 in md/v1/health. A breaking change to the shape of a key's value ships as a new version, with a new key, next to the old one. An old version is removed only after the deprecation period of its stability level. When a stash has more than one version of a key, the UI shows the widget from the highest version.
Massdriver renamed existing entries that used keys without a version, such as md/health, to their md/v1/ keys. It also changed the inputs of widgets that you added. It did not change the text of notes. See Notes.
Each schema has an $id that names its key and version, such as https://schemas.massdriver.cloud/stash/md/v1/health.json.
The alphaWidgetCatalog query returns these keys, their versions, and their schemas. See GraphQL API.
md/v1/health
Set on an instance. Format: JSON. Shows the status dot.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/health.json",
"type": "object",
"required": ["state"],
"additionalProperties": false,
"properties": {
"state": { "type": "string", "minLength": 1, "maxLength": 64 },
"color": {
"anyOf": [
{ "enum": ["green", "amber", "red", "blue", "purple", "gray"] },
{ "type": "string", "pattern": "^#[0-9a-fA-F]{6}(?![\\s\\S])" }
]
}
}
}
| Field | Meaning |
|---|---|
state | The word shown with the dot, for example Rolling out. |
color | Optional. The color of the dot: green, amber, red, blue, purple, gray, or a hex color with six digits, such as #7C3AED. |
Without color, the state sets the color. The dot is green for healthy, ok, and up. It is amber for degraded, warning, and recovering. It is red for down, failed, and error. It is gray for any other state.
mass alpha stash set billing-dev-app.md/v1/health '{"state": "Rolling out", "color": "blue"}' --format json
md/v1/usage
Set on an instance. Format: JSON. Shows the usage bar.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/usage.json",
"type": "object",
"required": ["value", "max"],
"additionalProperties": false,
"properties": {
"value": { "type": "number", "minimum": 0 },
"max": { "type": "number", "exclusiveMinimum": 0 },
"label": { "type": "string", "maxLength": 64 }
}
}
| Field | Meaning |
|---|---|
value | The amount in use. |
max | The limit. |
label | Optional. Text shown with the bar. |
mass alpha stash set billing-dev-app.md/v1/usage '{"value": 37, "max": 100, "label": "connections"}' --format json
md/v1/traffic
Set on the instance that sends the traffic. Format: JSON. Shows traffic on every line that leaves the instance.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/traffic.json",
"type": "object",
"required": ["rps", "errors_5m"],
"additionalProperties": false,
"properties": {
"rps": { "type": "number", "minimum": 0 },
"errors_5m": { "type": "integer", "minimum": 0 },
"p95_ms": { "type": "number", "minimum": 0 }
}
}
| Field | Meaning |
|---|---|
rps | Requests per second. |
errors_5m | Errors in the last 5 minutes. |
p95_ms | Optional. The 95th percentile response time, in milliseconds. |
mass alpha stash set billing-dev-app.md/v1/traffic '{"rps": 240, "errors_5m": 2, "p95_ms": 180}' --format json --ttl 600
md/v1/banner
Set on an environment. Format: JSON. Shows a banner.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/banner.json",
"type": "object",
"required": ["message"],
"additionalProperties": false,
"properties": {
"message": { "type": "string", "minLength": 1, "maxLength": 280 },
"level": { "enum": ["info", "warning", "error"] }
}
}
| Field | Meaning |
|---|---|
message | The banner text. |
level | Optional. info (the default), warning, or error. |
mass alpha stash set billing-dev.md/v1/banner '{"message": "Deploy freeze until Friday", "level": "warning"}' --format json
md/v1/links
Set on an environment. Format: JSON. Shows header links.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/links.json",
"type": "object",
"required": ["links"],
"additionalProperties": false,
"properties": {
"links": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"required": ["label", "url"],
"additionalProperties": false,
"properties": {
"label": { "type": "string", "minLength": 1, "maxLength": 40 },
"url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" }
}
}
}
}
}
| Field | Meaning |
|---|---|
links[].label | The button text. |
links[].url | An http or https URL with no spaces. |
mass alpha stash set billing-dev.md/v1/links '{"links": [{"label": "Grafana", "url": "https://grafana.example.com/d/billing"}]}' --format json
md/v1/urls
Set on an instance. Format: JSON. Widget name: instance.urls. Shows instance links.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/urls.json",
"type": "object",
"minProperties": 1,
"additionalProperties": false,
"properties": {
"docs_url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" },
"api_url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" },
"app_url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" }
}
}
| Field | Required | Meaning |
|---|---|---|
docs_url | no | An http or https URL of its docs. |
api_url | no | An http or https URL of its API. |
app_url | no | An http or https URL of its app. |
The value needs at least one field.
mass alpha stash set billing-dev-app.md/v1/urls '{"docs_url": "https://docs.example.com/billing", "app_url": "https://billing.example.com"}' --format json
md/v1/oncall
Set on an environment. Format: JSON. Widget name: environment.oncall. Shows the on-call card, in order. The oncall automation writes this key from PagerDuty or incident.io.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/oncall.json",
"type": "object",
"required": ["entries"],
"additionalProperties": false,
"properties": {
"title": { "type": "string", "minLength": 1, "maxLength": 64 },
"entries": {
"type": "array",
"minItems": 1,
"maxItems": 25,
"items": {
"type": "object",
"minProperties": 1,
"additionalProperties": false,
"properties": {
"name": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "\\S" },
"image_url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" },
"email": {
"type": "string",
"maxLength": 254,
"pattern": "^[^@\\s?&#%/,;<>\"]+@[^@\\s?&#%/,;<>\"]+(?![\\s\\S])"
},
"handles": {
"type": "array",
"minItems": 1,
"maxItems": 10,
"items": { "type": "string", "maxLength": 128, "pattern": "^[a-z0-9][a-z0-9_-]*:\\S+(?![\\s\\S])" }
}
}
}
}
}
}
| Field | Required | Meaning |
|---|---|---|
title | no | The card's title, up to 64 characters. The default is On call. |
entries | yes | Up to 25 people, in order. |
entries[].name | no | The person's name, up to 64 characters. |
entries[].image_url | no | An http or https URL of the person's picture. |
entries[].email | no | The person's email address. |
entries[].handles | no | 1 to 10 handles, each a lowercase prefix, a colon, and a value, such as slack:@jo or github:jo. |
Each entry needs at least one field.
mass alpha stash set billing-prod.md/v1/oncall '{"entries": [{"name": "Jo Park", "email": "jo@example.com", "handles": ["slack:@jo"]}, {"name": "Lee Chen", "handles": ["github:lee"]}]}' --format json
md/v1/leaderboard
Set on an environment. Format: JSON. Widget name: environment.leaderboard. Shows the leaderboard card, best first. The leaderboard automation writes this key from GitHub pull requests.
The schema has the same fields as md/v1/oncall. Its $id is https://schemas.massdriver.cloud/stash/md/v1/leaderboard.json. The default title is Leaderboard.
mass alpha stash set billing-dev.md/v1/leaderboard '{"title": "Top reviewers", "entries": [{"name": "Lee Chen"}, {"name": "Jo Park"}]}' --format json
Scorecards
A scorecard scores each instance with a set of checks, and gives it a level, such as gold, and a score from 0 to 100. The scorecards automation writes these keys: it scores instances against scorecards of jq checks, rolls the scores up to environments and projects, and writes the facts that its checks read.
| Key | Set on | Holds |
|---|---|---|
md/v1/scorecard/<scorecard> | Instance | The level, the score, and each check of one instance |
md/v1/scorecard/<scorecard> | Environment or project | A roll-up over many instances: the number at each level, and the lowest level |
md/v1/delivery | Instance | How often the instance was deployed in a window of days, and how those deployments ended |
md/v1/reliability | Instance | How often the instance's alarms fired in a window of days, and how fast they recovered |
md/v1/currency | Instance | How far the instance's bundle version is behind the latest version |
md/v1/pending | Instance | Whether the instance has configuration changes that are not deployed |
md/v1/parity | Environment | How the environment's configuration differs from a reference environment |
md/v1/ownership | Environment or project | The groups that own it |
<scorecard> names the scorecard. It is 1 to 63 lowercase letters, digits, _, and -, and starts with a letter or a digit. The UI shows the name with its first letter in upper case and _ and - as spaces, so production-readiness shows as Production readiness.
Each value has an optional tool field, up to 64 characters, that names the tool that wrote it, for example scorecards.
See Scorecards for where each key shows.
md/v1/scorecard/<scorecard> on an instance
The result of a scorecard's checks on an instance. Set on an instance. Format: JSON. Widget name: instance.scorecard.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/scorecard.json",
"type": "object",
"required": ["level", "score", "passed", "failed", "unknown", "checks", "evaluated_at"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"level": { "type": "string", "minLength": 1, "maxLength": 32 },
"score": { "type": "number", "minimum": 0, "maximum": 100 },
"passed": { "type": "integer", "minimum": 0 },
"failed": { "type": "integer", "minimum": 0 },
"unknown": { "type": "integer", "minimum": 0 },
"checks": {
"type": "array",
"maxItems": 50,
"items": {
"type": "object",
"required": ["id", "status"],
"additionalProperties": false,
"properties": {
"id": { "type": "string", "minLength": 1, "maxLength": 64 },
"status": { "enum": ["passed", "failed", "unknown"] },
"message": { "type": "string", "minLength": 1, "maxLength": 280 }
}
}
},
"evaluated_at": { "type": "string", "format": "date-time" }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
level | yes | The level, up to 32 characters. |
score | yes | The score, from 0 to 100. |
passed | yes | The number of checks that passed. |
failed | yes | The number of checks that failed. |
unknown | yes | The number of checks that could not be decided, for example because a fact is missing. |
checks | yes | Up to 50 checks, each with an id up to 64 characters, a status of passed, failed, or unknown, and an optional message up to 280 characters. |
evaluated_at | yes | When the checks ran (RFC 3339). |
mass alpha stash set "billing-prod-app.md/v1/scorecard/production-readiness" \
'{"tool": "scorecards", "level": "silver", "score": 75, "passed": 3, "failed": 1, "unknown": 0, "checks": [{"id": "drift", "status": "passed"}, {"id": "oncall", "status": "failed", "message": "No one is on call"}], "evaluated_at": "2026-11-27T20:03:24Z"}' \
--format json
md/v1/scorecard/<scorecard> on an environment or a project
A scorecard rolled up over the instances of an environment or a project. Set on an environment or a project. Format: JSON. Widget names: environment.scorecard and project.scorecard.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/scorecard-rollup.json",
"type": "object",
"required": ["level", "instances", "levels", "lowest_level", "evaluated_at"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"level": { "type": "string", "minLength": 1, "maxLength": 32 },
"score": { "type": "number", "minimum": 0, "maximum": 100 },
"instances": { "type": "integer", "minimum": 0 },
"levels": {
"type": "object",
"maxProperties": 10,
"propertyNames": { "type": "string", "minLength": 1, "maxLength": 32 },
"additionalProperties": { "type": "integer", "minimum": 0 }
},
"lowest_level": { "type": "string", "minLength": 1, "maxLength": 32 },
"evaluated_at": { "type": "string", "format": "date-time" }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
level | yes | The level of the scorecard, up to 32 characters. |
score | no | The score, from 0 to 100. |
instances | yes | The number of instances that were scored. |
levels | yes | The number of instances at each level, by level name, for up to 10 levels. |
lowest_level | yes | The lowest level of any instance. |
evaluated_at | yes | When the scorecard was scored (RFC 3339). |
mass alpha stash set "billing-prod.md/v1/scorecard/production-readiness" \
'{"tool": "scorecards", "level": "silver", "score": 71, "instances": 5, "levels": {"gold": 2, "silver": 2, "bronze": 1}, "lowest_level": "bronze", "evaluated_at": "2026-11-27T20:03:24Z"}' \
--format json
md/v1/delivery
How often an instance was deployed in a window of days, and how those deployments ended. Set on an instance. Format: JSON. Widget name: instance.delivery.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/delivery.json",
"type": "object",
"required": ["window_days", "deployments", "failed", "rolled_back", "automated"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"window_days": { "type": "integer", "minimum": 1 },
"deployments": { "type": "integer", "minimum": 0 },
"failed": { "type": "integer", "minimum": 0 },
"rolled_back": { "type": "integer", "minimum": 0 },
"failure_rate": { "type": "number", "minimum": 0, "maximum": 1 },
"median_duration_seconds": { "type": "number", "minimum": 0 },
"last_status": { "enum": ["completed", "failed", "aborted", "rejected"] },
"last_completed_at": { "type": "string", "format": "date-time" },
"automated": { "type": "integer", "minimum": 0 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
window_days | yes | The number of days, up to now, that the counts cover. |
deployments | yes | The number of deployments. |
failed | yes | The number of deployments that failed. |
rolled_back | yes | The number of deployments that went back to an earlier version. |
failure_rate | no | The part of the deployments that failed, from 0 to 1. |
median_duration_seconds | no | The median time a deployment ran, in seconds. |
last_status | no | How the last deployment ended: completed, failed, aborted, or rejected. |
last_completed_at | no | When the last deployment that completed finished (RFC 3339). |
automated | yes | The number of deployments that a service account started. |
mass alpha stash set billing-prod-app.md/v1/delivery \
'{"tool": "scorecards", "window_days": 30, "deployments": 12, "failed": 1, "rolled_back": 0, "failure_rate": 0.083, "median_duration_seconds": 252, "last_status": "completed", "last_completed_at": "2026-11-27T20:03:24Z", "automated": 9}' \
--format json
md/v1/reliability
How often the alarms of an instance fired in a window of days, and how fast they recovered. Set on an instance. Format: JSON. Widget name: instance.reliability.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/reliability.json",
"type": "object",
"required": ["window_days", "alarms", "firing", "incidents", "seconds_in_alarm"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"window_days": { "type": "integer", "minimum": 1 },
"alarms": { "type": "integer", "minimum": 0 },
"firing": { "type": "integer", "minimum": 0 },
"incidents": { "type": "integer", "minimum": 0 },
"seconds_in_alarm": { "type": "number", "minimum": 0 },
"median_recovery_seconds": { "type": "number", "minimum": 0 },
"last_fired_at": { "type": "string", "format": "date-time" }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
window_days | yes | The number of days, up to now, that the counts cover. |
alarms | yes | The number of alarms on the instance. |
firing | yes | The number of alarms that fire now. |
incidents | yes | The number of times an alarm fired. |
seconds_in_alarm | yes | The time that any alarm was firing, in seconds. |
median_recovery_seconds | no | The median time from an alarm firing to its recovery, in seconds. |
last_fired_at | no | When an alarm last fired (RFC 3339). |
mass alpha stash set billing-prod-app.md/v1/reliability \
'{"tool": "scorecards", "window_days": 30, "alarms": 4, "firing": 0, "incidents": 3, "seconds_in_alarm": 3720, "median_recovery_seconds": 300, "last_fired_at": "2026-11-26T08:12:00Z"}' \
--format json
md/v1/currency
How far the bundle version of an instance is behind the latest version of its bundle. Set on an instance. Format: JSON. Widget name: instance.currency.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/currency.json",
"type": "object",
"required": ["version", "latest", "behind"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"version": { "type": "string", "minLength": 1, "maxLength": 128 },
"latest": { "type": "string", "minLength": 1, "maxLength": 128 },
"behind": { "type": "integer", "minimum": 0 },
"latest_published_at": { "type": "string", "format": "date-time" },
"days_behind": { "type": "integer", "minimum": 0 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
version | yes | The bundle version the instance runs. |
latest | yes | The latest version of the bundle. |
behind | yes | The number of bundle versions between the two. 0 when the instance runs the latest. |
latest_published_at | no | When the latest version was published (RFC 3339). |
days_behind | no | The number of days since the first version newer than the instance's was published. |
mass alpha stash set billing-prod-app.md/v1/currency \
'{"tool": "scorecards", "version": "1.2.0", "latest": "1.4.0", "behind": 2, "latest_published_at": "2026-11-20T15:00:00Z", "days_behind": 14}' \
--format json
md/v1/pending
Whether an instance has configuration changes that are not deployed. Set on an instance. Format: JSON. Widget name: instance.pending.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/pending.json",
"type": "object",
"required": ["changed"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"changed": { "type": "boolean" },
"changed_at": { "type": "string", "format": "date-time" },
"deployed_at": { "type": "string", "format": "date-time" }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
changed | yes | True when the configuration changed after the last deployment. |
changed_at | no | When the configuration last changed (RFC 3339). |
deployed_at | no | When the instance was last deployed (RFC 3339). |
mass alpha stash set billing-prod-app.md/v1/pending \
'{"tool": "scorecards", "changed": true, "changed_at": "2026-11-27T18:40:00Z", "deployed_at": "2026-11-25T10:02:00Z"}' \
--format json
md/v1/parity
How the configuration of an environment differs from a reference environment. Set on an environment. Format: JSON. Widget name: environment.parity.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/parity.json",
"type": "object",
"required": ["reference_environment", "differences", "checked_at"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"reference_environment": { "type": "string", "minLength": 1, "maxLength": 255 },
"differences": { "type": "integer", "minimum": 0 },
"checked_at": { "type": "string", "format": "date-time" },
"items": {
"type": "array",
"maxItems": 50,
"items": {
"type": "object",
"required": ["instance", "field", "message"],
"additionalProperties": false,
"properties": {
"instance": { "type": "string", "minLength": 1, "maxLength": 255 },
"field": { "type": "string", "minLength": 1, "maxLength": 255 },
"message": { "type": "string", "minLength": 1, "maxLength": 280 }
}
}
}
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
reference_environment | yes | The ID of the environment this one is compared to, for example ecomm-prod. |
differences | yes | The number of differences. |
checked_at | yes | When the check ran (RFC 3339). |
items | no | Up to 50 differences, each with the instance ID, the field that differs, and a message up to 280 characters. |
mass alpha stash set billing-staging.md/v1/parity \
'{"tool": "scorecards", "reference_environment": "billing-prod", "differences": 1, "checked_at": "2026-11-27T20:03:24Z", "items": [{"instance": "billing-staging-db", "field": "instance_class", "message": "db.t3.medium here, db.r6g.large in billing-prod"}]}' \
--format json
md/v1/ownership
The groups that own a project or an environment. Set on a project or an environment. Format: JSON. Widget names: project.ownership and environment.ownership.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/ownership.json",
"type": "object",
"required": ["groups", "members"],
"additionalProperties": false,
"properties": {
"tool": { "type": "string", "minLength": 1, "maxLength": 64 },
"groups": {
"type": "array",
"maxItems": 50,
"items": {
"type": "object",
"required": ["id", "name"],
"additionalProperties": false,
"properties": {
"id": { "type": "string", "minLength": 1, "maxLength": 255 },
"name": { "type": "string", "minLength": 1, "maxLength": 255 }
}
}
},
"members": { "type": "integer", "minimum": 0 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | no | The tool that wrote the value, for example scorecards. |
groups | yes | Up to 50 groups that own it, each with an id and a name. Empty when no group owns it. |
members | yes | The number of people in those groups. |
mass alpha stash set billing.md/v1/ownership \
'{"tool": "scorecards", "groups": [{"id": "payments", "name": "Payments"}], "members": 6}' \
--format json
Deployment results
A provisioner writes these keys while a deployment runs. Each key has the same shape for every tool, so a result from OpenTofu, Helm, or Bicep, or from Checkov or Trivy, has the same fields. The tool field names the tool that wrote it.
| Key | Set on | Holds |
|---|---|---|
md/v1/step/<step> | Deployment | How a step ran |
md/v1/changes/<step> | Deployment | What a plan or apply changes |
md/v1/compliance/<step> | Deployment | The findings of an IaC or configuration scanner |
md/v1/policy/<step> | Deployment | The results of a policy engine |
md/v1/vulnerabilities | Deployment | The findings of an image or package scan |
md/v1/tests | Deployment | Test results |
md/v1/cost_estimate | Deployment | The monthly cost before and after the deployment |
md/v1/source | Deployment | The code that the deployment deployed |
md/v1/state_lock | Deployment | The state lock that the deployment held |
md/v1/drift | Instance | Whether the real infrastructure matches the configuration |
md/v1/release | Instance | What runs on the instance now |
Every schema has additionalProperties: false. Counts are whole numbers of 0 or more. Times are RFC 3339 strings. URLs are http or https.
Keys that start with md/ do not show as metadata rows. The UI shows deployment results in the places below. You can also read them with the alphaWidgetsForScopes query, or with mass alpha stash get.
Where results show
Deployment details. A Results section shows the results of that deployment. It has one row for each step, sorted by step path, and then the results for the whole deployment.
| Result | What shows |
|---|---|
md/v1/step/<step> | A status pill, then the tool, the action, and the duration |
md/v1/changes/<step> | Changes with +add ~change -destroy, and ±replace when there are replacements. A link shows the list of changed resources. |
md/v1/compliance/<step> | Compliance with the passed and failed counts, a severity bar, a Blocking pill when blocking is true, and a link to the report |
md/v1/policy/<step> | Policy with the passed, failed, and warning counts, and the list of denials |
md/v1/vulnerabilities | Vulnerabilities with a severity bar and the number of fixable findings |
md/v1/tests | Tests with the passed, failed, and skipped counts |
md/v1/cost_estimate | Cost estimate with the monthly cost before and after, such as $41.20 → $41.58 per month, and the change |
md/v1/source | Source with the repository and ref, a link to the commit, and the commit message |
md/v1/state_lock | State lock with the status and the holder |
Instance Signals tab. A card shows the results of the instance's latest deployment that has results: the status of each step, the changes, the worst finding, and the cost change. From links to that deployment, such as Deployment 4f6e2a3c. The card also shows the instance's md/v1/drift status, with when it was checked, and its md/v1/release version and image, with when it was deployed.
Canvas. A warning badge shows on an instance node only when something is wrong in its latest deployment or its drift:
- A step failed.
- A compliance result is blocking.
- An image or package scan found critical or high vulnerabilities.
- Drift is detected.
The badge's tooltip lists each problem, such as Step src failed or Drift detected.
The card on the Signals tab and the canvas badge follow the Widgets button in the canvas toolbar. When you hide automatic widgets, they do not show. The Results section in deployment details does not depend on the button.
What results look like
| Result | Looks like | Value | Meaning |
|---|---|---|---|
| Step succeeded | "status": "succeeded" | A green pill. | |
| Step running | "status": "running" | A blue pill. | |
| Step failed | "status": "failed" | A red pill. The canvas badge shows. | |
| Step skipped or canceled | "status": "skipped" or "canceled" | A gray pill. | |
| Changes | {"add": 2, "change": 3, "destroy": 0, "replace": 1} | ± shows only when replace is more than 0. | |
| Severity bar | {"critical": 0, "high": 1, "medium": 2, "low": 4} | One part for each level with findings. Critical is dark red, high is red, medium is amber, and low is blue. | |
| No findings | All counts are 0 | No bar. | |
| Blocking | "blocking": true | The compliance findings stop the deployment. The canvas badge shows. | |
| Drift detected | {"status": "detected"} | An amber pill. The canvas badge shows. | |
| Canvas badge | A failed step, blocking compliance, critical or high vulnerabilities, or drift | A warning icon on the instance node. |
Step keys
A key with <step> holds one value for each step of a bundle, because a bundle can have more than one step of the same kind. Put the step's path in place of <step>. In a provisioner, the path is in MASSDRIVER_STEP_PATH.
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/step/$MASSDRIVER_STEP_PATH" \
'{"tool": "opentofu", "action": "apply", "status": "succeeded"}' \
--format json
A step is 1 to 63 lowercase letters, digits, _, and -, and starts with a letter or a digit. A key with a step that does not fit this rule is rejected, and the error names the rule.
The alphaWidgetCatalog query returns the key with the step as a pattern, such as md/v1/step/{step}, and the names of the segments in keySegments. Each widget from alphaWidgetsForScopes has the values of the segments in segments, such as {"step": "src"}.
Results on the instance
You do not write a deployment's results to the instance a second time. When you read the widgets of an instance with alphaWidgetsForScopes, the query also returns the results of the instance's latest deployment that has a well-known key. The scope of each of those widgets is that deployment, and rolledUpTo names the instance. When you read a deployment's widgets, the query returns the results of that deployment only.
The instance's stash:view permission covers these results, because a deployment's entries belong to its instance.
md/v1/step/<step>
How one step of a deployment ran. Set on a deployment. Format: JSON. Widget name: deployment.step.
Automations write this key with their own name as the step: autodeploy-downstream writes md/v1/step/autodeploy, rollback-on-failure writes md/v1/step/rollback, and upgrade-train writes md/v1/step/upgrade-train. log-results writes md/v1/step/<step>, md/v1/changes/<step>, and md/v1/compliance/<step> from a deployment's logs.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/step.json",
"type": "object",
"required": ["tool", "action", "status"],
"additionalProperties": false,
"properties": {
"action": { "enum": ["plan", "apply", "destroy", "test", "scan"] },
"duration_s": { "type": "number", "minimum": 0 },
"exit_code": { "type": "integer" },
"finished_at": { "type": "string", "format": "date-time" },
"message": { "type": "string", "maxLength": 280 },
"started_at": { "type": "string", "format": "date-time" },
"status": { "enum": ["running", "succeeded", "failed", "skipped", "canceled"] },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
action | yes | plan, apply, destroy, test, or scan. |
status | yes | running, succeeded, failed, skipped, or canceled. |
started_at | no | When the step started (RFC 3339). |
finished_at | no | When the step finished (RFC 3339). |
duration_s | no | How long the step ran, in seconds. |
exit_code | no | The exit code of the tool. |
message | no | A short summary, up to 280 characters. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/step/$MASSDRIVER_STEP_PATH" \
'{"tool": "opentofu", "tool_version": "1.10.6", "action": "apply", "status": "succeeded", "started_at": "2026-11-27T20:01:02Z", "finished_at": "2026-11-27T20:03:24Z", "duration_s": 142, "exit_code": 0, "message": "Apply complete"}' \
--format json
md/v1/changes/<step>
What a plan or apply in one step of a deployment changes. Set on a deployment. Format: JSON. Widget name: deployment.changes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/changes.json",
"type": "object",
"required": ["tool", "add", "change", "destroy"],
"additionalProperties": false,
"properties": {
"add": { "type": "integer", "minimum": 0 },
"change": { "type": "integer", "minimum": 0 },
"destroy": { "type": "integer", "minimum": 0 },
"no_op": { "type": "integer", "minimum": 0 },
"replace": { "type": "integer", "minimum": 0 },
"resources": {
"type": "array",
"items": {
"type": "object",
"required": ["address", "action"],
"additionalProperties": false,
"properties": {
"action": { "enum": ["create", "update", "delete", "replace"] },
"address": { "type": "string", "maxLength": 512, "minLength": 1 }
}
},
"maxItems": 50
},
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
add | yes | The number of resources to create. |
change | yes | The number of resources to update. |
destroy | yes | The number of resources to delete. |
replace | no | The number of resources to replace. |
no_op | no | The number of resources with no change. |
resources | no | Up to 50 changed resources, each with an address and an action: create, update, delete, or replace. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/changes/$MASSDRIVER_STEP_PATH" \
'{"tool": "opentofu", "add": 2, "change": 3, "destroy": 0, "replace": 1, "no_op": 41, "resources": [{"address": "aws_ecs_service.app", "action": "update"}]}' \
--format json
md/v1/compliance/<step>
The findings of an IaC or configuration scanner in one step of a deployment. Set on a deployment. Format: JSON. Widget name: deployment.compliance.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/compliance.json",
"type": "object",
"required": ["tool", "passed", "failed"],
"additionalProperties": false,
"properties": {
"blocking": { "type": "boolean" },
"failed": { "type": "integer", "minimum": 0 },
"passed": { "type": "integer", "minimum": 0 },
"report_url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" },
"severity": {
"type": "object",
"required": ["critical", "high", "medium", "low"],
"additionalProperties": false,
"properties": {
"critical": { "type": "integer", "minimum": 0 },
"high": { "type": "integer", "minimum": 0 },
"low": { "type": "integer", "minimum": 0 },
"medium": { "type": "integer", "minimum": 0 }
}
},
"skipped": { "type": "integer", "minimum": 0 },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
passed | yes | The number of checks that passed. |
failed | yes | The number of checks that failed. |
skipped | no | The number of checks that were skipped. |
severity | no | The number of findings by severity: critical, high, medium, and low. |
blocking | no | True when the findings stop the deployment. |
report_url | no | An http or https link to the report. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/compliance/$MASSDRIVER_STEP_PATH" \
'{"tool": "checkov", "tool_version": "3.2.0", "passed": 36, "failed": 2, "skipped": 4, "severity": {"critical": 0, "high": 1, "medium": 1, "low": 0}, "blocking": false}' \
--format json
md/v1/policy/<step>
The results of a policy engine in one step of a deployment. Set on a deployment. Format: JSON. Widget name: deployment.policy.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/policy.json",
"type": "object",
"required": ["tool", "passed", "failed"],
"additionalProperties": false,
"properties": {
"denials": {
"type": "array",
"items": { "type": "string", "maxLength": 280, "minLength": 1 },
"maxItems": 50
},
"failed": { "type": "integer", "minimum": 0 },
"passed": { "type": "integer", "minimum": 0 },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 },
"warnings": { "type": "integer", "minimum": 0 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
passed | yes | The number of policies that passed. |
failed | yes | The number of policies that failed. |
warnings | no | The number of warnings. |
denials | no | Up to 50 denial messages, each up to 280 characters. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/policy/$MASSDRIVER_STEP_PATH" \
'{"tool": "conftest", "passed": 12, "failed": 1, "warnings": 2, "denials": ["Production databases must be Multi-AZ"]}' \
--format json
md/v1/vulnerabilities
The findings of an image or package scan in a deployment. Set on a deployment. Format: JSON. Widget name: deployment.vulnerabilities.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/vulnerabilities.json",
"type": "object",
"required": ["tool", "severity"],
"additionalProperties": false,
"properties": {
"fixable": { "type": "integer", "minimum": 0 },
"severity": {
"type": "object",
"required": ["critical", "high", "medium", "low"],
"additionalProperties": false,
"properties": {
"critical": { "type": "integer", "minimum": 0 },
"high": { "type": "integer", "minimum": 0 },
"low": { "type": "integer", "minimum": 0 },
"medium": { "type": "integer", "minimum": 0 }
}
},
"target": { "type": "string", "maxLength": 512, "minLength": 1 },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
target | no | The image or package that was scanned. |
severity | yes | The number of findings by severity: critical, high, medium, and low. |
fixable | no | The number of findings with a fix. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/vulnerabilities" \
'{"tool": "trivy", "target": "visits:a41c9e2", "severity": {"critical": 0, "high": 2, "medium": 9, "low": 14}, "fixable": 7}' \
--format json
md/v1/tests
The test results of a deployment. Set on a deployment. Format: JSON. Widget name: deployment.tests.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/tests.json",
"type": "object",
"required": ["tool", "passed", "failed"],
"additionalProperties": false,
"properties": {
"duration_s": { "type": "number", "minimum": 0 },
"failed": { "type": "integer", "minimum": 0 },
"passed": { "type": "integer", "minimum": 0 },
"skipped": { "type": "integer", "minimum": 0 },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
passed | yes | The number of tests that passed. |
failed | yes | The number of tests that failed. |
skipped | no | The number of tests that were skipped. |
duration_s | no | How long the tests ran, in seconds. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/tests" \
'{"tool": "smoke", "passed": 8, "failed": 0, "skipped": 1, "duration_s": 21}' \
--format json
md/v1/cost_estimate
The estimated monthly cost of an instance before and after a deployment. Set on a deployment. Format: JSON. Widget name: deployment.cost_estimate.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/cost_estimate.json",
"type": "object",
"required": ["tool", "currency", "monthly_after"],
"additionalProperties": false,
"properties": {
"currency": { "type": "string", "pattern": "^[A-Z]{3}$" },
"delta": { "type": "number" },
"monthly_after": { "type": "number", "minimum": 0 },
"monthly_before": { "type": "number", "minimum": 0 },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
currency | yes | The ISO 4217 currency code, for example USD. |
monthly_before | no | The monthly cost before the deployment. |
monthly_after | yes | The monthly cost after the deployment. |
delta | no | The change in monthly cost. Negative when the cost goes down. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/cost_estimate" \
'{"tool": "infracost", "currency": "USD", "monthly_before": 41.20, "monthly_after": 41.58, "delta": 0.38}' \
--format json
md/v1/source
The code that a deployment deployed. Set on a deployment. Format: JSON. Widget name: deployment.source.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/source.json",
"type": "object",
"required": ["commit"],
"additionalProperties": false,
"properties": {
"author": { "type": "string", "maxLength": 255, "minLength": 1 },
"commit": { "type": "string", "maxLength": 64, "minLength": 1 },
"message": { "type": "string", "maxLength": 280 },
"ref": { "type": "string", "maxLength": 255, "minLength": 1 },
"repo": { "type": "string", "maxLength": 255, "minLength": 1 },
"url": { "type": "string", "maxLength": 2048, "pattern": "^https?://[^\\s]+(?![\\s\\S])" }
}
}
| Field | Required | Meaning |
|---|---|---|
repo | no | The repository, for example acme/api. |
ref | no | The branch or tag. |
commit | yes | The commit. |
author | no | The commit's author. |
message | no | The commit message, up to 280 characters. |
url | no | An http or https link to the commit. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/source" \
'{"repo": "acme/visits", "ref": "main", "commit": "a41c9e2", "author": "maria", "message": "Send waitlist emails", "url": "https://github.com/acme/visits/commit/a41c9e2"}' \
--format json
md/v1/state_lock
The state lock that a deployment held. Set on a deployment. Format: JSON. Widget name: deployment.state_lock.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/state_lock.json",
"type": "object",
"required": ["tool", "status"],
"additionalProperties": false,
"properties": {
"holder": { "type": "string", "maxLength": 255, "minLength": 1 },
"status": { "enum": ["acquired", "released", "force_unlocked"] },
"tool": { "type": "string", "maxLength": 64, "minLength": 1 },
"tool_version": { "type": "string", "maxLength": 64, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
tool | yes | The tool, for example opentofu. |
tool_version | no | The tool's version. |
status | yes | acquired, released, or force_unlocked. |
holder | no | Who holds the lock. |
mass alpha stash set "$MASSDRIVER_DEPLOYMENT_ID.md/v1/state_lock" \
'{"tool": "opentofu", "status": "released", "holder": "deployment"}' \
--format json
md/v1/drift
Whether an instance's real infrastructure matches its configuration. Set on an instance. Format: JSON. Widget name: instance.drift.
The drift automation writes this key, and md/v1/changes/drift on the plan deployment.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/drift.json",
"type": "object",
"required": ["status"],
"additionalProperties": false,
"properties": {
"checked_at": { "type": "string", "format": "date-time" },
"resources": { "type": "integer", "minimum": 0 },
"status": { "enum": ["none", "detected", "unknown"] }
}
}
| Field | Required | Meaning |
|---|---|---|
status | yes | none, detected, or unknown. |
resources | no | The number of resources that drifted. |
checked_at | no | When drift was checked (RFC 3339). |
mass alpha stash set "$MASSDRIVER_INSTANCE_ID.md/v1/drift" \
'{"status": "none", "resources": 0, "checked_at": "2026-11-27T20:03:24Z"}' \
--format json
md/v1/release
What runs on an instance now. Set on an instance. Format: JSON. Widget name: instance.release.
The upgrade-train automation writes this key when a deployment that it starts completes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/release.json",
"type": "object",
"required": ["version"],
"additionalProperties": false,
"properties": {
"deployed_at": { "type": "string", "format": "date-time" },
"image": { "type": "string", "maxLength": 512, "minLength": 1 },
"version": { "type": "string", "maxLength": 128, "minLength": 1 }
}
}
| Field | Required | Meaning |
|---|---|---|
version | yes | The version that runs. |
image | no | The image that runs. |
deployed_at | no | When it was deployed (RFC 3339). |
mass alpha stash set "$MASSDRIVER_INSTANCE_ID.md/v1/release" \
'{"version": "2026.11.27-5", "image": "visits:a41c9e2", "deployed_at": "2026-11-27T20:03:24Z"}' \
--format json
UI keys
md/v1/ui-ephemeral-notice
A short notice that something happened to a project or an environment. Set on a project or an environment. Format: JSON. Widget names: project.notice and environment.notice.
Massdriver writes this key:
- When a project is created, on the project.
- When an environment is created, on the environment.
- When a deployment in an environment is proposed, approved, started, or completed, on the environment. The notice's
entityis the instance.
A new notice replaces the one before it on the same project or environment. A notice expires after 10 minutes. On a self-hosted installation, set MD_UI_NOTICE_TTL_SECONDS to change this time. Nobody dismisses a notice. It goes away when it expires.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.massdriver.cloud/stash/md/v1/ui-ephemeral-notice.json",
"type": "object",
"required": ["message", "kind", "entity", "project", "created_at"],
"additionalProperties": false,
"properties": {
"actor": {
"type": "object",
"required": ["kind", "name"],
"additionalProperties": false,
"properties": {
"kind": { "enum": ["user", "service_account", "system"] },
"name": { "type": "string", "maxLength": 255, "minLength": 1 }
}
},
"created_at": { "type": "string", "format": "date-time" },
"entity": {
"type": "object",
"required": ["kind", "id", "name"],
"additionalProperties": false,
"properties": {
"id": { "type": "string", "maxLength": 255, "minLength": 1 },
"kind": { "enum": ["project", "environment", "instance"] },
"name": { "type": "string", "maxLength": 255, "minLength": 1 }
}
},
"kind": {
"enum": [
"project.created",
"environment.created",
"deployment.proposed",
"deployment.approved",
"deployment.started",
"deployment.completed"
]
},
"message": { "type": "string", "maxLength": 280, "minLength": 1 },
"project": {
"type": "object",
"required": ["id", "name"],
"additionalProperties": false,
"properties": {
"id": { "type": "string", "maxLength": 255, "minLength": 1 },
"name": { "type": "string", "maxLength": 255, "minLength": 1 }
}
}
}
}
| Field | Required | Meaning |
|---|---|---|
message | yes | The notice, up to 280 characters, such as Project Billing was created. or Deployment of app to dev finished. |
kind | yes | project.created, environment.created, deployment.proposed, deployment.approved, deployment.started, or deployment.completed. |
entity | yes | The project, environment, or instance the notice is about: its kind, id, and name. A deployment notice is about the instance that is deployed. |
project | yes | The project: its id and name. |
actor | no | Who acted: a kind of user, service_account, or system, and a name. |
created_at | yes | When it happened (RFC 3339). |
In the UI. A bell in the top-right of the app header shows the notices of the projects and environments where you have stash:view.
- A badge on the bell counts the notices you have not seen.
- When a notice arrives, the bell shakes for 1 second and shows a preview of the message under the bell for 4 seconds. When your system asks for reduced motion, the bell does not shake.
- Click the bell to open the list. The list shows the newest notices first. Each item shows the kind, such as Project created, Environment created, Deployment proposed, Deployment approved, Deployment started, or Deployment finished, the message, who did it, the time, and a link to the project, environment, or instance. Opening the list marks the notices in it as seen.
- Your browser keeps the list of notices you have seen, for each organization.
The alphaUiNotices query and subscription return these notices.