mcp

v2.16.0
ai.shipeasy/mcp Checked 6 hours ago Published 26 days ago

Feature flags, A/B experiments, kill switches, dynamic config & i18n — Shipeasy MCP server.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

projects_upsert

Find-or-create a Shipeasy project by domain (idempotent) and bind the cwd to it via .shipeasy. Use this on fresh installs BEFORE any other write tool — every other write tool refuses to run until .shipeasy exists. Re-running with the same domain returns the existing project unchanged.

ParameterTypeDescription
domain *stringHostname-like identifier for the project (e.g. shouks.app, acme.com). Primary key for upsert.
bindbooleanWrite .shipeasy after upsert. Default true. Set false to skip binding.
namestringHuman-readable project name. Defaults to the domain on first create; ignored on later upserts.
pathstringDirectory to write .shipeasy in. Defaults to the MCP server's cwd.

auth_check

Report whether ~/.config/shipeasy/config.json holds a valid CLI token. Returns { authenticated, project_id, base_url, user_email }.

auth_login

Launch the PKCE device-auth flow via `shipeasy login`. Opens a browser; blocks up to 5 minutes. Caller should render a 'waiting for browser…' spinner.

auth_logout

Delete ~/.config/shipeasy/config.json — the ONE session shared by the `shipeasy` CLI and every MCP client on this machine. No network call. **This is not restorable from MCP**: re-authenticating needs a browser sign-in in a terminal (`shipeasy login`), which this transport cannot perform, so calling this strands the current task and every other tool until a human signs in again. Do NOT call it to 'reset' or troubleshoot a failing call — a 401/403 is fixed by signing in, not by deleting the credential first. Only call it when the user explicitly asked to sign out, and pass confirm: true to…

ParameterTypeDescription
confirm *booleanMust be true. Acknowledges that this deletes the machine-wide session and that only a human at a terminal can restore it.

api_keys_create

Create an API key. Mints a new API key and returns the plaintext token **once** — it is stored hashed and can never be retrieved again, so capture it on creation.

ParameterTypeDescription
env *stringEnvironment to bind the key to. Always required. For `server`/`client` keys it is the isolation boundary the worker reads from; `admin`/`ops` keys are env-agnostic and pinned to `prod` by the handler…
type *stringKey kind to mint. `server` (back-end), `client` (public, browser), `admin` (CLI/devtools token), `ops` (restricted unattended-trigger credential). `admin`/`ops` keys don't count toward the plan key li…
expiresInDaysDays until the key expires (1–3650), or `null`/omitted for a key that never expires. Ignored for `admin` keys (fixed 90-day expiry) and `ops` keys (short sliding window).
namestringOptional human label. Programmatic (API) mints that omit it get an auto-generated descriptive name; dashboard mints may leave it blank. The cap is generous because provenance labels are composed, not…
scopesarrayOptional permission strings recorded on the key. `tickets:public_create` is enforced: a client key needs it (plus the project's `allowPublicTickets` setting) to file a `pending_approval` bug via the p…

errors_get

Get a tracked error. Returns a single tracked error by its id, including the latest occurrence's stack, extras, and consequence, plus `occurrences` — the sampled per-instance detail rows behind the issue (newest first; exhaustive while the issue is small, thinned at volume, capped at 100). Returns…

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

errors_list

List tracked errors. Returns a single page of tracked production errors as a **bare JSON array** (no pagination envelope), ordered by `lastSeenAt desc`. Filter with `status`, free-text-search with `q`, and cap the page with `limit`.

ParameterTypeDescription
limitintegerMaximum number of rows to return (1–500). Defaults to 200.
qstringCase-insensitive substring match against `message`, `errorType`, and `subject`.
statusstringFilter by triage state. `all` (the default) returns every status.

errors_resolve

Resolve a tracked error. Marks one tracked error `resolved` — the single-purpose "close out" action. Takes no body; it is `PATCH /api/admin/errors/{id}` pinned to `{ "status": "resolved" }`, exposed so tooling can close an error without being handed the full open/resolved/ignored status machine. A res…

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

errors_series

Get an error's occurrence series. Returns a bucketed occurrence timeseries for one tracked error (by its fingerprint), read from the `shipeasy_errors` Analytics Engine dataset (near-real-time; ingest lag is seconds). The window bounds are epoch **seconds**; `to` must be strictly greater than `from`. The respon…

ParameterTypeDescription
from *integerWindow start, epoch seconds (inclusive).
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
to *integerWindow end, epoch seconds (exclusive). Must be greater than `from`.
bucketintegerBucket width in seconds (60s–86400s/1d). Defaults to `3600` (hourly). Each returned point is floor-aligned to this width.

i18n_drafts_create

Create a translation draft. Stage a new translation draft against a target profile, optionally seeding its keys from a source profile.

ParameterTypeDescription
name *stringDraft name, e.g. the target locale being staged.
profile_id *stringProfile the draft targets.
listTokenstringREQUIRED. The `listToken` returned by the most recent `i18n_drafts_list` call. It proves you listed existing i18n drafts and confirmed this one doesn't already exist before creating it. Call `i18n_dra…
source_profile_idstringOptional profile to seed the draft's keys from.

i18n_drafts_list

List translation drafts. List staged translation drafts awaiting review/publish.

i18n_drafts_update

Update a translation draft. Transition a draft's lifecycle state (`open` / `merged` / `abandoned`).

ParameterTypeDescription
draftId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
statusstringNew lifecycle state for the draft.

i18n_keys_list

List i18n keys. List keys for a profile, optionally filtered to a name `prefix`.

ParameterTypeDescription
limitintegerMax keys to return (1–500). Defaults to 200.
offsetintegerNumber of keys to skip before returning `limit` rows (offset pagination).
prefixstringOnly keys whose name starts with this.
profile_idstringProfile id to list keys for.
qstringFree-text search — matches keys whose name, value, OR description contains this substring (case-insensitive). Use it to find the key behind a piece of on-screen copy.

i18n_keys_push

Push i18n keys (insert-only, or `force` to overwrite). Add NEW keys to a profile. Insert-only by default — existing keys are left untouched and reported back as `skipped`.

ParameterTypeDescription
keys *arrayKeys to add. Insert-only by default — existing keys are reported back as `skipped` (set `force` to overwrite them instead).
profile_id *stringTarget profile id to add keys to.
forcebooleanOverwrite keys that already exist with the submitted value instead of skipping them. Overwritten keys come back as `updated`. Off by default so a routine push can never clobber live translations.

i18n_keys_set

Set a key's value and publish it live. Upsert a single key's value into a profile and immediately publish the whole profile (KV rebuild + CDN purge) so the new value is live in one call. The key is inserted when new and overwritten when it already exists. `profile` is a profile name — omit it to target the project'…

ParameterTypeDescription
key *stringDotted key path to set, e.g. `home.cta`.
value *stringNew value for the key. Inserted when the key is new, overwritten when it exists.
descriptionstringOptional human note to store with the key.
profilestringProfile name to target, e.g. `en:prod`. Omit to target the project's default-marked profile.

i18n_keys_update

Update one i18n key. Overwrite a single existing key's value — the only overwrite path.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
value *stringNew value for the key (the only overwrite path).
descriptionstringOptional human note to store with the key.
experimentIdLink this key's copy change to an experiment (id or name) so the change can be tracked against it. `null` removes the link; omit to leave the current link untouched. A data link only — it does not c…
variablesarrayExplicit `{{var}}` placeholder names in the value. Omit to auto-derive them from the value.

i18n_profiles_create

Create an i18n profile. Create a locale profile. `name` is the stable handle (e.g. `fr:prod`).

ParameterTypeDescription
name *stringProfile handle to create, e.g. `en:prod` or `fr:prod`. Lowercase alphanumeric start, then letters/digits/`_`/`:`/`.`/`-`; max 64 chars. The locale is encoded in the handle, so no separate locale field…
listTokenstringREQUIRED. The `listToken` returned by the most recent `i18n_profiles_list` call. It proves you listed existing i18n profiles and confirmed this one doesn't already exist before creating it. Call `i18n…

i18n_profiles_list

List i18n profiles. Returns every locale profile in the project (e.g. `en:prod`, `fr:prod`).

i18n_profiles_publish

Publish a profile live. Publish a profile to the CDN — rebuild its KV snapshot + purge the edge. Publishing is PROFILE-WIDE: the whole profile is snapshotted into one KV blob, so the body takes no options.

ParameterTypeDescription
profileId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_archive

Archive a metric. Soft-deletes (archives) the metric. Returns `409` if it is attached to a running experiment — stop those experiments first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_create

Create a metric. Creates an event-backed metric. Pass the query as the DSL string (`query`) **or** the typed IR (`query_ir`) — exactly one. `event_name` must equal the event the query references.

metrics_events_approve

Approve a pending event. Promotes a pending (auto-discovered) event to usable so metrics can query it (`pending` → `0`).

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
descriptionstringNew description for the event.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
propertiesarrayReplaces the full property set (no merge). Omit to leave properties unchanged.

metrics_events_archive

Archive an event. Soft-deletes (archives) the event. Returns `409` if any metric still references it — delete those metrics first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_events_create

Register an event. Registers a new event name and (optionally) its typed properties. Only `name` is required.

ParameterTypeDescription
name *stringEvent name. Starts with a letter, digit, or `_`; letters, digits, `_`, `-`, `.`; max 50 characters. The cap is the Analytics Engine index budget — 96 bytes total, less a 36-byte project UUID and a s…
descriptionstringOptional human-readable description of the event.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
listTokenstringREQUIRED. The `listToken` returned by the most recent `metrics_events_list` call. It proves you listed existing metrics events and confirmed this one doesn't already exist before creating it. Call `me…
propertiesarrayTyped properties declared on the event. Defaults to an empty list.

metrics_events_get

Get an event. Returns one event's full detail. Resolves by exact id, unique id-prefix, or exact (unique) name.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_events_list

List events. Returns every catalogued event in the project, including pending auto-discovered names. Each row carries its own `pending` flag, so the unapproved queue can be filtered client-side.

ParameterTypeDescription
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

metrics_events_update

Update an event. Partial update of an event's folder, description, or properties. `name` is immutable.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
descriptionstringNew description for the event.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
propertiesarrayReplaces the full property set (no merge). Omit to leave properties unchanged.

metrics_experiments

List experiments using a metric. Returns every experiment that attaches this metric — as `goal`, `guardrail`, or `secondary` — ordered with running experiments first, then by role weight (goal > guardrail > secondary).

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_list

List metrics. Returns every metric in the project (not paginated) — name, folder, source event, the typed `queryIr`, and the rendered query.

ParameterTypeDescription
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

metrics_series

Get a metric's time series. Compiles the metric's typed IR into Analytics Engine SQL and returns the bucketed series over the requested window (near-real-time; ingest lag is seconds). The window bounds are epoch **seconds**; `to` must be strictly greater than `from`. The response echoes the SQL that prod…

ParameterTypeDescription
from *integerWindow start, epoch seconds (inclusive).
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
to *integerWindow end, epoch seconds (exclusive). Must be greater than `from`.
bucketintegerBucket width in seconds (60s–86400s/1d). Defaults to `3600` (hourly). Each returned point is floor-aligned to this width.

metrics_show

Get a metric. Fetch one metric by its id or name, including the rendered DSL query and the typed IR.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_unarchive

Unarchive a metric. Reverses a soft-delete (archive), making the metric live again. Idempotent — unarchiving a metric that is already live succeeds with no effect.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

metrics_update

Update a metric. Update a metric's definition — folder, source event, query (`query` DSL or typed `query_ir`), winsorisation, minimum detectable effect, or direction. `name` is immutable. Provide at most one of `query` / `query_ir`.

ops_ack

Ack an item (start a run). Acknowledge a queue item — a person or an AI agent declaring "I'm on this now". Opens a run: stamps who picked the item up and when, assigns them as owner, and moves the item into the matching working status (`investigating_by_ai` for an AI ack, `in_progress` for a human one).…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
agentstringThe AI agent type acking on the item's behalf — pass your own type when you are a coding agent (Claude Code passes `claude`, Cursor `cursor`, Copilot `copilot`, Jules `jules`, Gemini `gemini` → no…
launchbooleanWhether an AI ack may FIRE the agent's connected trigger. Default `true`: an ack naming a connected agent, with no `sessionId`, starts a new provider run of that agent. Pass `false` to only record the…
runIdstringThe run you were handed — the investigation id a fired run's prompt names, or the `runId` an earlier ack returned. Proves the open run is yours, so the ack adopts it instead of answering `409` `ALRE…
sessionIdstringThe agent-run session id (e.g. Claude's `session_01…`), so the dashboard can deep-link to the exact run page. Omit when the harness has no session id.
takeoverbooleanReplace another session's LIVE run on the item instead of being refused with `409` `ALREADY_EXISTS`. Only when you were asked to replace that session — two sessions on one item each open their own P…

ops_activity_list

List queue activity. The activity feed of the project's queue items, newest first: every status, priority, owner, tag and content change, every comment, every alert acknowledgement, and every pull-request event (`linked`, `unlinked`, `merged`, `closed` unmerged). Each entry names the item it belon…

ParameterTypeDescription
fieldstringWhich kind of change an activity entry records. `pr` is a pull-request event (see `pr.event`); `comment` carries an excerpt in `to`; `edit` names the edited content fields in `added`.
itemstringNarrow to one item — its per-project number (e.g. `7`) or full id. Omit for the whole project.
limitintegerMaximum entries to return (1-200). Defaults to 100.
sincestringOnly entries strictly after this ISO-8601 instant.
untilstringOnly entries strictly before this ISO-8601 instant.

ops_agents_list

List connected AI agents. The project's connected AI agents — one per authenticated trigger connector (Claude / Cursor / Copilot / Jules). These are the agent types `ops ack` accepts and the agents a queue item can be assigned to.

ops_alerts_archive

Delete an alert rule. Deletes the alert rule. The cron stops evaluating it immediately. Use this (then create a new rule) to repoint alerting at a different metric, since `metricId` is immutable.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

ops_alerts_channels

List Slack channels. List the project's connected Slack channels — used to resolve an alert rule's notification target.

ops_alerts_create

Create an alert rule. Creates a metric-threshold alert rule. `name`, `metricId`, `comparator`, and `threshold` are required; `windowHours` defaults to `24`, `severity` to `warn`, and `enabled` to `true`.

ops_alerts_list

List alert rules. Returns every alert rule in the project (not paginated). Each rule carries its bound `metricId`, the denormalised `metricName` (or `null` if the metric was removed), the comparator/threshold/window, severity, enabled flag, and delivery target.

ParameterTypeDescription
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

ops_alerts_update

Update an alert rule. Partial update of a rule's tunable knobs. `metricId` is immutable — the metric also pins the aggregation, so a body carrying `metricId` is rejected with `409 IMMUTABLE_FIELD`; create a new rule bound to the other metric instead (rule deletion is dashboard-only).

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
autoResolveMinutesClose a stale live instance after this long; `null` never auto-resolves.
bucketMinutesBucket width in minutes; `null` restores the default 12 buckets per window.
comparatorstring
compositeobjectWhat a `composite` rule is a boolean over. `rules` are sibling alert-rule ids in the same project and `op` is how their states combine. A child's state is what the current pass concluded about it, fal…
delayMinutesHow far behind live the window is held; `null` drops the delay.
directionWhich side an `anomaly` or `outliers` rule watches; `null` restores either.
enabledboolean
groupAlertsbooleanFire one alert per `by()` group. Refused on a metric with no grouping.
kindstring
maxGroupsHow many groups may alert at once; `null` restores the default of 10.
namestring
noDataMinutesHow long a `no_data` rule's silence must last; `null` restores 15 minutes.
notifyDelivery target for a rule's alert; `null` = use the project default. The `NotificationTarget` shape plus the in-app switch.
rangeMaxUpper edge of the corridor; `null` drops it.
rangeMinLower edge of the corridor; `null` drops it, returning the rule to comparator and threshold when both bounds are gone.
recoveryThresholdWhat the metric must get back to before a live alert closes; `null` drops the hysteresis.
requiredBucketsBuckets that must breach to fire; `null` restores "every bucket that had data".
severitystring
sigmaSigmas an `anomaly` or `outliers` rule fires at; `null` restores the default of 3.
sustainedbooleanJudge the window by accumulated departure rather than bucket by bucket. `anomaly` and `outliers` only; refused alongside `requiredBuckets`.
thresholdnumber
warnThresholdThe milder bound; `null` drops the warning level, leaving the rule with one.
windowHoursinteger

ops_attachments_create

Attach a screenshot to an item. Attach a screenshot, screen recording, or file to a bug or feature request, so the fixer sees what QA saw instead of reconstructing it from measurements. Send the bytes as `contentBase64` (a bare base64 string or a `data:` URI) or give a public https `url` for the server to fe…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
contentBase64stringThe file bytes, base64-encoded (a bare string or a `data:<mime>;base64,` URI). Pass this or `url`, not both.
filenamestringFile name, e.g. `checkout-overflow.png`. Defaults to the last segment of `url`, else `file`.
kindstringAttachment kind. Defaults from the media type (image → screenshot, video → recording, else file). Ignored by the comment-media upload.
mimeTypestringMedia type, e.g. `image/png`. Defaults from the data URI, the fetched response, or the filename extension.
urlstringA public https URL for the server to fetch the file from (no IP literals or internal hosts; max 25 MiB). Pass this or `contentBase64`, not both.

ops_bug

File a bug report.. Files one queue item — a bug report or a feature request — and fires the project's connectors (GitHub issue / Slack). `type` selects which; only the two user-fileable types are accepted (`error`/`alert` tickets are auto-filed by the platform). Returns the new id and per-projec…

ParameterTypeDescription
title *stringOne-line bug title (no leading/trailing whitespace).
actualResultstringWhat actually happened.
assigneeIdThe `users.id` of the person to assign as owner at creation, or `null`.
contextArbitrary capture context, or `null`.
delegateConnectorIdstringThe agent connector the filer chose to delegate this item to at creation. When set, the server launches that one agent and skips any tag-rule auto-launch, so the filer's choice prevails and only one r…
expectedResultstringWhat was expected instead.
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_list` call. It proves you listed existing ops and confirmed this one doesn't already exist before creating it. Call `ops_list` first if you d…
notifyWhere this bug's completion notification lands.
pageUrlURL of the page the bug relates to, or `null`.
priorityInitial triage priority, or `null`.
reporterEmailEmail of the reporter, or `null`.
statusInitial lifecycle status; defaults to `open` when omitted.
stepsToReproducestringHow to reproduce the bug.
subscribersarrayEmails of teammates to subscribe to this item's Slack pings at creation.
tagsarrayTag names to label the item with, e.g. `["ios", "checkout"]`. Each name is matched case-insensitively against the project's existing tags and reuses that tag (keeping its stored casing) when one match…
trailstringFile the bug on this trail (`T-12` or the trail's id) instead of the open queue. An agent that hits something outside its intent files it here rather than fixing it in place. The item records `discove…
userAgentReporter's user-agent string, or `null`.
viewportReporter's viewport (e.g. `1280x720`), or `null`.

ops_comments_create

Comment on an item. Append a comment to a queue item's thread. The body is markdown (mentions like `@teammate` notify that person; `@shipeasy` asks Jarvis, the AI agent, to reply). Pass `parentId` to reply under an existing top-level comment (one level of threading — a reply to a reply attaches t…

ParameterTypeDescription
body *stringThe comment body as markdown. Mentions (`@teammate`, `@shipeasy`) are parsed from it.
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_comments_list` call. It proves you listed existing ops comments and confirmed this one doesn't already exist before creating it. Call `ops_co…
parentIdReply under this top-level comment. Omit / `null` for a top-level comment. Replying to a reply attaches to the same top-level parent (threading is one level deep).

ops_comments_list

List an item's comments. List the comment thread on a queue item, oldest first. Each comment carries its author (a teammate email, or `system` for a comment authored by Jarvis — the AI agent), its markdown body, and `parentId` for the single level of threaded replies. Removed comments are omitted.

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

ops_comments_upload_media

Upload an image to embed in a comment. Upload an image to embed in a comment on a queue item. Takes the same body as the attachment upload (`contentBase64` or `url`). The response carries a relative `url` — reference it from the comment body as a markdown image (`![caption](url)`) in `ops comments create`, so an ev…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
contentBase64stringThe file bytes, base64-encoded (a bare string or a `data:<mime>;base64,` URI). Pass this or `url`, not both.
filenamestringFile name, e.g. `checkout-overflow.png`. Defaults to the last segment of `url`, else `file`.
kindstringAttachment kind. Defaults from the media type (image → screenshot, video → recording, else file). Ignored by the comment-media upload.
mimeTypestringMedia type, e.g. `image/png`. Defaults from the data URI, the fetched response, or the filename extension.
urlstringA public https URL for the server to fetch the file from (no IP literals or internal hosts; max 25 MiB). Pass this or `contentBase64`, not both.

ops_create

File a queue item (bug or feature request) — pass --type.. Files one queue item — a bug report or a feature request — and fires the project's connectors (GitHub issue / Slack). `type` selects which; only the two user-fileable types are accepted (`error`/`alert` tickets are auto-filed by the platform). Returns the new id and per-projec…

ParameterTypeDescription
title *stringOne-line bug title (no leading/trailing whitespace).
type *stringDiscriminator — files a bug.
actualResultstringWhat actually happened.
assigneeIdThe `users.id` of the person to assign as owner at creation, or `null`.
contextArbitrary capture context, or `null`.
delegateConnectorIdstringThe agent connector the filer chose to delegate this item to at creation. When set, the server launches that one agent and skips any tag-rule auto-launch, so the filer's choice prevails and only one r…
descriptionstringWhat the feature is.
expectedResultstringWhat was expected instead.
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_list` call. It proves you listed existing ops and confirmed this one doesn't already exist before creating it. Call `ops_list` first if you d…
notifyWhere this bug's completion notification lands.
pageUrlURL of the page the bug relates to, or `null`.
priorityInitial triage priority, or `null`.
reporterEmailEmail of the reporter, or `null`.
statusInitial lifecycle status; defaults to `open` when omitted.
stepsToReproducestringHow to reproduce the bug.
subscribersarrayEmails of teammates to subscribe to this item's Slack pings at creation.
tagsarrayTag names to label the item with, e.g. `["ios", "checkout"]`. Each name is matched case-insensitively against the project's existing tags and reuses that tag (keeping its stored casing) when one match…
trailstringFile the bug on this trail (`T-12` or the trail's id) instead of the open queue. An agent that hits something outside its intent files it here rather than fixing it in place. The item records `discove…
useCasestringWhy it's needed / the use case.
userAgentReporter's user-agent string, or `null`.
viewportReporter's viewport (e.g. `1280x720`), or `null`.

ops_feature

File a feature request.. Files one queue item — a bug report or a feature request — and fires the project's connectors (GitHub issue / Slack). `type` selects which; only the two user-fileable types are accepted (`error`/`alert` tickets are auto-filed by the platform). Returns the new id and per-projec…

ParameterTypeDescription
title *stringOne-line feature-request title (no leading/trailing whitespace).
assigneeIdThe `users.id` of the person to assign as owner at creation, or `null`.
contextArbitrary capture context, or `null`.
delegateConnectorIdstringThe agent connector the filer chose to delegate this item to at creation. When set, the server launches that one agent and skips any tag-rule auto-launch, so the filer's choice prevails and only one r…
descriptionstringWhat the feature is.
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_list` call. It proves you listed existing ops and confirmed this one doesn't already exist before creating it. Call `ops_list` first if you d…
notifyWhere this request's completion notification lands.
pageUrlURL of the page the request relates to, or `null`.
priorityInitial triage priority, or `null`.
reporterEmailEmail of the reporter, or `null`.
statusInitial lifecycle status; defaults to `open` when omitted.
subscribersarrayEmails of teammates to subscribe to this item's Slack pings at creation.
tagsarrayTag names to label the item with, e.g. `["ios", "checkout"]`. Each name is matched case-insensitively against the project's existing tags and reuses that tag (keeping its stored casing) when one match…
trailstringFile the request on this trail (`T-12` or the trail's id) instead of the open queue. The item records `discoveredSource` as `agent` (or `person` when a person files it).
useCasestringWhy it's needed / the use case.
userAgentReporter's user-agent string, or `null`.

ops_fired_alerts_list

List fired alerts. Returns the project's FIRED alerts as a **bare JSON array** (no pagination envelope), ordered by `createdAt desc`. Defaults to the currently-firing ones (`status=active`); pass a `status` to widen to resolved/dismissed history or `all`.

ParameterTypeDescription
statusstringFilter by lifecycle state. Defaults to `active` (currently firing); `all` returns every status.

ops_fired_alerts_update

Update a fired alert. Triage writes on one fired alert — the only mutations this surface allows. All body fields are optional (at least one required); only the fields present are changed.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
agentAGENT owner — a connected trigger connector's id (`connectors.id`), the built-in `"jarvis"` (Enterprise plan only — rejected with `403` otherwise), or `null` to clear. Stored in `assigneeConnector…
assigneeIdPERSON owner — a `users.id`, or `null` to clear the assignment.
statusstringNew lifecycle state, written through to the queue item (`resolved` / `wont_fix` / `open`). `resolved` / `dismissed` stamp their timestamp; `active` re-opens and clears both.

ops_get

Get one queue item. Fetch a single queue item by its per-project `number` or full id.

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
includestring`linked` inlines the content of every other member of the item's link group as `linkedItems`.

ops_group

Update a linked group. Applies `status` and/or `priority` to every item in this item's link group — the items tied to it, directly or through a chain, by blocked-by / blocking / duplicate-of links (see `group` on `ops get`). Each member goes through the normal item update, so activity, audit, run cl…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
priorityTriage priority, or `null` when not set (in an update, `null` clears it).
statusstringLifecycle status of a queue item. The working flow is `open` → `in_progress` → `ready_for_qa` → `resolved` (or `wont_fix`, terminal from any earlier stage). `blocked` marks an item that can't pr…

ops_investigations_create

Record an investigation. Append one structured investigation record to a queue item — the AI-write seam the cockpit's detail panel renders read-only. Post your findings (`kind: investigated`), a blocking question for the team (`kind: question`), or how to verify the fix (`kind: ready_for_qa` with `qaN…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
kind *stringWhich lifecycle stage the record documents.
agentstringThe agent type producing the record — pass your own type when you are a coding agent.
completedAtstringISO-8601 timestamp the work finished.
confidencestringSelf-reported confidence in the record.
connectorIdstringThe trigger-connector row id the agent ran through.
durationMsintegerRun duration in milliseconds.
findingsstringThe full findings write-up (markdown).
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_investigations_list` call. It proves you listed existing ops investigations and confirmed this one doesn't already exist before creating it.…
modelstringThe model the agent ran on.
prNumberintegerA PR the record references.
prUrlstringHTML URL of that PR.
qaNotesstringHow to verify the fix — QA notes (markdown).
questionstringA blocking question for the team (markdown).
sessionIdstringThe agent-run session id, so the dashboard can deep-link to the run.
sourcesarrayThe files/links inspected.
startedAtstringISO-8601 timestamp the work started.
summarystringOne-line summary of the record.
tokensUsedintegerTokens the run consumed.
visibilitystringRecord visibility. Defaults to `published`; `draft` keeps it out of the panel.

ops_investigations_list

List an item's investigation records. The structured, read-only investigation records on a queue item — the findings / blocking questions / QA notes an AI agent posted while working it, plus its `working` run rows. Returns `published` records only, newest first (max 50).

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

ops_investigations_update

Update an investigation record. Update one existing investigation record in place — the write-back seam for the `working` run record you were handed when a run was launched. Fill in the `summary`/`findings`, attach the fixing PR, record your `confidence` and the `sources` you inspected, or flip its `kind` of…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
investigationId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
completedAtstringISO-8601 timestamp the work finished. Set it (or flip `kind` off `working`) to mark a run record done.
confidencestringSelf-reported confidence in the record.
durationMsintegerRun duration in milliseconds.
findingsstringThe full findings write-up (markdown).
kindstringReclassify the record's lifecycle stage (e.g. flip a `working` run into `investigated` once findings land).
modelstringThe model the agent ran on.
prNumberintegerA PR the record references.
prUrlstringHTML URL of that PR.
qaNotesstringHow to verify the fix — QA notes (markdown).
questionstringA blocking question for the team (markdown).
sessionIdstringThe agent-run session id, so the dashboard can deep-link to the run.
sourcesarrayThe files/links inspected.
summarystringOne-line summary of the record.
tokensUsedintegerTokens the run consumed.
visibilitystringRecord visibility. `draft` keeps it out of the panel; `published` surfaces it.

ops_list

List the operational queue (bugs, feature requests, errors, alerts, measurement plans) in work order — highest priority first, oldest first within a priority. PAGING: `limit` (page size, 1–500) is REQUIRED — the call fails without it. Start at `offset: 0` and add `limit` to `offset` for the next page; a page shorter than `limit` is the last one. FILTERS (all optional, combined with AND, applied before paging): `type` = bug | feature_request | error | alert | measure_plan; `status` = open | in_progress | investigating_by_ai | blocked | ready_for_qa | resolved | wont_fix | pending_approval…

ParameterTypeDescription
limit *integerPage size — max items to return (1–500). A page shorter than `limit` is the last one.
closedSincestringISO-8601 timestamp. Items still being worked are always returned; `resolved` and `wont_fix` items only when they closed at or after this time (see `closedAt`). Combines with `status` like any other fi…
offsetintegerNumber of items to skip before the page starts. Defaults to 0. The order is stable, so `offset += limit` walks the queue page by page.
ownerstringNarrow to items owned by one person OR one agent. Matches a person by `users.id`, email, or display name, and an agent by connector id, display name, or kebab-case handle — e.g. `owner=Claude` or `o…
priorityFilter by triage priority, or `all` (the default). Items with no priority set are returned only under `all`.
qaQuestionsstring`open` narrows to the items with at least one unanswered QA question — the backlog QA answers first (read each with `ops get`, answer with `ops qa-questions answer`). `all` (the default) applies no…
reporterstringNarrow to items filed by one reporter — an email, matched case-insensitive and exact against `reporterEmail`. Items with no reporter never match. While set, `status=all` also returns `pending_approv…
scopestring`ready` narrows to the items ready to be picked up right now: status `open`, no open run (nobody has acked it and is still working), and either unowned (no person and no agent) or reopened (sent back…
statusFilter by one lifecycle status, `unresolved` for every status that is not `resolved` or `wont_fix`, or `all` for every status. Defaults to `all` over HTTP; the CLI and MCP tool default to `unresolved`…
typeFilter by item type, or `all` (the default). Every type a returned item can carry is filterable, including the auto-filed ones.

ops_notify

Raise an attention notification. Raise a 'needs your attention' bell notification. Create-only and idempotent on `dedupeKey` — re-raising with the same key updates the one card instead of stacking duplicates. It never reads, marks read, or deletes the feed, so it is safe for restricted ops keys.

ParameterTypeDescription
summary *stringOne sentence: why it can't be fixed in code. Renders markdown.
title *stringOne-line headline of what's blocked.
dedupeKeystringStable per-escalation key (e.g. `feedback:7`) so re-runs dedupe to one row.
hrefDashboard-relative deep link to the related item. `null` is accepted and treated as "no link".
stepsarrayOrdered steps the human should take to unblock — self-contained (the human reads only this card, not the agent's transcript), 3–6 steps, each naming the exact file, command, env var, or dashboard…

ops_qa_notes_create

Add a QA note to an item. Append one typed QA note to a queue item. `kind` is `narrowing` (what now passes vs what still fails), `clarification` (what "fixed" now means), `verification` (requires a `verdict` of `pass` or `fail`, and `body` says what was checked) or `correction` (withdraws an earlier fr…

ParameterTypeDescription
body *stringThe note (markdown).
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
kind *stringWhat a QA note is — `narrowing` (only part of the bug still fails), `clarification` (changes what "fixed" means), `verification` (a pass/fail verdict on a fix) or `correction` (withdraws an earlier…
agentstringThe agent type writing the note — pass your own type when you are QA automation. Omitted, the note is attributed to the caller's identity.
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_qa_notes_list` call. It proves you listed existing ops qa notes and confirmed this one doesn't already exist before creating it. Call `ops_qa…
verdictstringThe outcome a `verification` note records.

ops_qa_notes_list

List an item's QA notes. The typed QA notes on a queue item, newest first (max 200) — narrowing, clarification, verification and correction notes, each with its author and time. They are separate from the comment thread: read these to learn the CURRENT QA state of a ticket (what remains failing, what …

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
kindstringWhat a QA note is — `narrowing` (only part of the bug still fails), `clarification` (changes what "fixed" means), `verification` (a pass/fail verdict on a fix) or `correction` (withdraws an earlier…

ops_qa_questions_answer

Answer a QA question. Answer one open QA question. The question moves to `answered` and the answer shows on the item. An answered question cannot be answered again (409); ask a new one to follow up. The answerer is the caller's identity; pass `agent` to record it as answered by that agent type's QA…

ParameterTypeDescription
answer *stringQA's answer (markdown).
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
questionId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
agentstringThe agent type answering — pass your own type when you are QA automation. Omitted, the answer is attributed to the caller's identity.

ops_qa_questions_ask

Ask QA a question about an item. Put a question to QA on a queue item — use it when you do not know the answer yourself and QA's decision unblocks the work. The question is open until QA answers it; it surfaces on the item (`ops get` → `qaQuestions`) and in the project-wide QA backlog (`ops list --qa-question…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
question *stringWhat you need QA to answer (markdown). Include what you already tried.
agentstringThe agent type asking — pass your own type when you are a coding agent. Omitted, the question is attributed to the caller's identity.

ops_qa_questions_list

List an item's QA questions. The questions put to QA on a queue item, newest first (max 100), each with QA's answer once given. `ops get` returns the same list as `qaQuestions`.

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
statusstringWhere a QA question stands: `open` (waiting on QA) or `answered`.

ops_questions_answer

Answer a question. Answer one open question on a queue item — pick option labels in `selected` (exactly one unless the question is `multiSelect`) and/or write a free-text `other`. The question moves to `completed`. When it was the last open question of a `resume` run, that agent is re-fired on t…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
questionId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
otherstringA free-text "Other" answer.
selectedarrayThe option labels picked — exactly one for a single-select question (unless answering only with `other`), one or more for `multiSelect`.

ops_questions_ask

Ask the team questions about an item. Ask 1–4 structured questions about a queue item — the way to get a decision from a person when the implementation needs one. Each question is the `AskUserQuestion` shape: a short `header` chip, the full `question`, 2–4 `options` (`label` + `description`), and `multiSelect` (ch…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
questions *array1–4 questions to ask at once.
agentstringThe agent type asking — pass your own type when you are a coding agent. Defaults to the run's agent.
deliverystringHow the answer gets back to the asker — `resume` re-fires the asking run's trigger connector on the item once every question that run asked is answered; `poll` fires nothing and the asker reads `GET…
runIdstringThe run (investigation record id) you are working the item under — the `runId` an ack or a launch handed you. Ties the questions to that run so a `resume` delivery continues it.

ops_questions_cancel

Withdraw a question. Withdraw one open question you asked — it no longer needs an answer (you found it out yourself, or the item moved on). The question moves to `cancelled` and leaves the detail panel. Withdrawing the last open question of a run delivers nothing.

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
questionId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

ops_questions_list

List an item's questions. The structured questions asked on a queue item, with their answers — newest first (max 100). Pull this to read the answers to questions you asked: an answered question reads `status: completed` and carries `answer.selected` (the option labels picked) and `answer.other` (the fr…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
statusFilter by question status, or `all` (the default).

ops_review_agents_archive

Archive a review agent. Archive a review agent: it stops running and its key is free to reuse. Evals it already submitted stay on their trails.

ParameterTypeDescription
agentId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

ops_review_agents_create

Add a review agent. Add a review agent, from a preset (`preset: security`) or custom (`key`, `name`, `instructions`, and how to read its value). A `push` agent runs on every push to a linked PR through the project's coding-agent trigger (or the one named by `connectorId`) and spends that agent's …

ParameterTypeDescription
blockingboolean
connectorIdstringThe coding-agent trigger that runs it — a connector id from `ops agents list`. Omitted, the project's first connected trigger runs it.
descriptionstring
enabledboolean
instructionsstringWhat to review and how to score it.
keystringSlug the agent's evals are submitted under — lowercase letters, digits and dashes.
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_review_agents_list` call. It proves you listed existing ops review agents and confirmed this one doesn't already exist before creating it. Ca…
namestring
polaritystringWhich direction is good. Confidence is `higher_is_better`; risk is `lower_is_better`. For a `boolean` agent, `lower_is_better` means a 1 (yes, an issue was found) fails.
presetstringA preset id from `ops review-agents list` (e.g. `code-review`, `security`, `risk`, `confidence`, `slop`).
thresholdinteger
triggerstringWhen a review agent runs — on every `push` to a trail's linked pull request, or only when a review is requested (`manual`).
valueTypestringHow a review agent's value reads — a `score` from 0 to 100, or a `boolean` signal submitted as 1 (yes) or 0 (no).

ops_review_agents_list

List review agents. The project's review agents — the evals that score every push to a trail's changes — and the presets that can be added in one call.

ops_review_agents_update

Change a review agent. Change a review agent's instructions, threshold, polarity, trigger, the connector that runs it, whether it blocks, or switch it off. Its `key` is fixed. Earlier evals keep the verdict they were given.

ParameterTypeDescription
agentId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
blockingboolean
connectorId
description
enabledboolean
instructionsstring
namestring
polaritystringWhich direction is good. Confidence is `higher_is_better`; risk is `lower_is_better`. For a `boolean` agent, `lower_is_better` means a 1 (yes, an issue was found) fails.
thresholdinteger
triggerstringWhen a review agent runs — on every `push` to a trail's linked pull request, or only when a review is requested (`manual`).
valueTypestringHow a review agent's value reads — a `score` from 0 to 100, or a `boolean` signal submitted as 1 (yes) or 0 (no).

ops_routing_rules_create

Create a tag automation rule. Appends one rule after the existing ones; existing rules are untouched. The rule fires on a newly filed item carrying any of `tags` (or whose type is in `types`) and applies its actions: `user` assigns a person, `connector` hands the item to a connected coding agent (launching…

ParameterTypeDescription
agentPromptstringSteering prompt for the launched agent. Only kept alongside a `connector`.
connectorstringConnected coding agent to hand the item to — a connector id from `ops agents list`.
enabledbooleanWhether the rule is live. Defaults to `true`.
listTokenstringREQUIRED. The `listToken` returned by the most recent `ops_routing_rules_list` call. It proves you listed existing ops routing rules and confirmed this one doesn't already exist before creating it. Ca…
prioritystringTriage priority of a queue item. The lowest tier is `nice_to_have` (not `low`) — carried over from the feature-request "importance" scale this priority set replaced.
skipApprovalbooleanLet a matching public-intake ticket skip `pending_approval`. Defaults to `false`.
statusstringLifecycle status of a queue item. The working flow is `open` → `in_progress` → `ready_for_qa` → `resolved` (or `wont_fix`, terminal from any earlier stage). `blocked` marks an item that can't pr…
subscribersarrayEmails notified about matching items.
tagsarrayTag names the rule matches (case-insensitive). Tags are created on first use.
typesarrayTicket types the rule also fires on.
userstringPerson to assign — a user id.

ops_routing_rules_list

List tag automation rules. The project's tag automation rules in evaluation order. Each rule matches newly filed queue items by tag (or ticket type) and applies its actions — assign a person, launch a connected coding agent, set status or priority, subscribe emails.

ops_trail_gates_get

Show the merge gates. The project's merge gates for trail changes — branch freshness, human review, agent findings, blocking evals and CI checks — each with whether it is evaluated and whether it blocks.

ops_trail_gates_set

Set the merge gates. Replace the project's merge gates. Send the whole object (read it with `ops trail-gates get` first).

ops_trigger_create_claude

Register a Claude Code scheduled routine as the trigger connector. Creates (or idempotently updates) a coding-agent **trigger** connector — the recurring, unattended run that burns down the ops queue in `--pr` mode. Discriminated on `provider`; only the four Shipeasy-fireable providers are accepted (`claude_trigger`, `cursor_trigger`, `copilo…

ParameterTypeDescription
config *objectNon-secret config for a Claude trigger.
enabledbooleanWhether the trigger is active on create.
eventsarrayEvents that auto-fire the routine. Defaults to empty so the trigger does not auto-fire paid runs until events are subscribed.
namestringHuman-readable connector label.
tokenstringThe routine's fire bearer token (secret). **Optional** — a tokenless trigger is recorded but not fireable until a token is added later. Encrypted into the credentials cipher; never persisted in `con…

ops_trigger_create_copilot

Register a GitHub Copilot cloud-agent trigger. Creates (or idempotently updates) a coding-agent **trigger** connector — the recurring, unattended run that burns down the ops queue in `--pr` mode. Discriminated on `provider`; only the four Shipeasy-fireable providers are accepted (`claude_trigger`, `cursor_trigger`, `copilo…

ParameterTypeDescription
config *objectNon-secret config for a Copilot trigger.
token *stringCopilot-licensed user PAT (secret). The ops key lives in the repo's GitHub "Agents" secret store and is never sent through Shipeasy. Encrypted; never returned.
enabledbooleanWhether the trigger is active on create.
eventsarrayEvents that auto-fire a Copilot agent task. Defaults to empty.
namestringHuman-readable connector label.

ops_trigger_create_cursor

Register a Cursor cloud-agent trigger (cold-fire; Shipeasy launches the run). Creates (or idempotently updates) a coding-agent **trigger** connector — the recurring, unattended run that burns down the ops queue in `--pr` mode. Discriminated on `provider`; only the four Shipeasy-fireable providers are accepted (`claude_trigger`, `cursor_trigger`, `copilo…

ParameterTypeDescription
apiKey *stringCursor API key that launches the run (secret). Encrypted into the credentials cipher; never returned.
config *objectNon-secret config for a Cursor trigger.
opsKey *stringRestricted Shipeasy ops key (secret). Sent as the Bearer for the Shipeasy MCP server handed to each run inline — never in the prompt text or the run env. Encrypted; never returned.
enabledbooleanWhether the trigger is active on create.
eventsarrayEvents that auto-fire a cold cloud-agent run. Defaults to empty.
namestringHuman-readable connector label.

ops_trigger_create_jules

Register a Google Jules (Gemini) trigger. Creates (or idempotently updates) a coding-agent **trigger** connector — the recurring, unattended run that burns down the ops queue in `--pr` mode. Discriminated on `provider`; only the four Shipeasy-fireable providers are accepted (`claude_trigger`, `cursor_trigger`, `copilo…

ParameterTypeDescription
apiKey *stringJules API key that launches the session (secret). Encrypted into the credentials cipher; never returned.
config *objectNon-secret config for a Jules trigger.
opsKey *stringRestricted Shipeasy ops key, embedded in the prompt (Jules exposes no env channel) (secret). Encrypted; never returned.
enabledbooleanWhether the trigger is active on create.
eventsarrayEvents that auto-fire a Jules session. Defaults to empty.
namestringHuman-readable connector label.

ops_update

Update a queue item. Update a queue item. The body is validated against the item's stored type: a `bug` accepts its content fields (title, steps-to-reproduce, actual/expected result) plus `status`/`priority`/`notify` and a GitHub PR link; a `feature_request` its content (title, description, use-ca…

ParameterTypeDescription
handle *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
actualResultstringUpdated actual result.
descriptionstringUpdated description.
expectedResultstringUpdated expected result.
githubPrNumberLink (or, when `null`, unlink) a GitHub pull request to this bug.
notifyWhere this item's completion notification lands, or `null`.
priorityTriage priority, or `null` when not set (in an update, `null` clears it).
statusstringLifecycle status of a queue item. The working flow is `open` → `in_progress` → `ready_for_qa` → `resolved` (or `wont_fix`, terminal from any earlier stage). `blocked` marks an item that can't pr…
stepsToReproducestringUpdated reproduction steps.
titlestringNew bug title (no leading/trailing whitespace).
useCasestringUpdated use case.

projects_current

Show the current project. Returns the project the caller's auth header resolves to — plan, status, billing, and which modules are enabled. The server reads the project from the credential, so there is no id parameter. Powers `whoami`.

projects_update

Update the current project. Update the current project's settings — name, domain, slug, default environment, timezone, experiment-analysis knobs (statistical method, significance threshold, auto-rollback, minimum sample days), and the per-module enable flags. Partial: only the fields you send change.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
autoRollbackbooleanWhether a failing guardrail auto-rolls back the experiment.
ciConfidencenumberConfidence level for the interval surfaced on results (any value in [0.5, 0.999], e.g. 0.90, 0.95, 0.975, 0.99).
cupedBaselineDaysintegerCUPED baseline window — days of pre-experiment history, frozen at start.
cupedMinBaselineUsersintegerCUPED — minimum users with a baseline before it runs at all.
cupedMinOverlapnumberCUPED selection-bias guard — min share of users with a baseline, else skip.
defaultAllocationPctintegerDefault traffic allocation (basis points, 1000 = 10%) new experiments start with; overridable per experiment.
defaultEnvstringDefault environment new resources are scoped to.
defaultHoldoutintegerDefault holdout carve-out (basis points) that seeds each new universe's holdout (0 = none).
defaultMeiDefault minimum effect of interest (relative, 0–1) new metrics start with; overridable per metric and per experiment. Null clears it.
defaultPowernumberTarget statistical power (1−β) feeding the realized-MDE calculation.
defaultWinsorizePctintegerDefault winsorization percentile new metrics start with; overridable per metric.
domainstringLowercase bare hostname (e.g. `acme.com`, `app.acme.com`, `*.acme.com`), or `*` to allow any origin. Full URLs with `https://` are not accepted. The project is keyed by `(owner_email, domain)`, so a s…
errorAutocloseDaysintegerDays an `open` tracked error may go unseen before the nightly sweep auto-resolves it. `0` disables auto-close for this project.
errorTicketMinOccurrencesintegerOccurrence count a tracked error must cross before an `error` ticket is auto-filed into the ops queue. Requires a paid plan — the request is rejected with 403 on a plan without the `ops_auto_error_i…
minRuntimeDaysintegerMinimum days an experiment must run before a verdict (peeking guard).
minSampleDaysintegerMinimum number of days an experiment must run before it can be called.
minSampleSizeintegerVerdict power guard — minimum users per arm before a ship/hold verdict.
moduleConfigsbooleanEnable/disable the dynamic-configs module.
moduleEventsbooleanEnable/disable the events module.
moduleExperimentsbooleanEnable/disable the experiments module.
moduleFeedbackbooleanEnable/disable the feedback/ops module.
moduleGatesbooleanEnable/disable the feature-gates module.
moduleTranslationsbooleanEnable/disable the i18n/translations module.
moduleUserbooleanEnable/disable the user-management module.
msprtTauMeiFactornumbermSPRT prior width — τ = minimum effect of interest × this factor.
msprtTauSdFactornumbermSPRT fallback prior width — τ = this × control SD when no MEI is set.
namestringNew project name.
sigThresholdstringSignificance threshold (alpha) for experiment analysis.
slugstringURL-safe identifier used in app URLs and SDK config. Lowercase letters, numbers, and hyphens; 2–48 chars; cannot start or end with a hyphen. The caller lowercases the raw slug before sending.
srmThresholdnumberSRM chi-square p-value below which the run is called invalid.
statMethodstringStatistical method the experiment analyzer uses.
timezonestringIANA timezone the project's daily analysis runs in.

release_configs_archive

Delete a dynamic config. Soft-deletes the config and rebuilds the project's flags KV blob.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_configs_create

Create a dynamic config. Creates a new config with the given `schema`. The initial `value` (or an empty object) is published as version 1 on **every** env.

ParameterTypeDescription
name *stringStable config/killswitch key in `folder.name` form (two lowercase segments separated by a dot, e.g. `pricing.tiers`). Immutable after create.
schema *objectJSON Schema (draft 2020-12) describing the shape of the config value. Top-level `type` must be `'object'`; every published value is validated against this schema.
descriptionstringOptional free-form description shown in the dashboard. Max 512 chars.
devobjectSeed the **dev** env's initial value (version 1), overriding `value` for dev. Published immediately. Must match `schema`.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
listTokenstringREQUIRED. The `listToken` returned by the most recent `release_configs_list` call. It proves you listed existing release configs and confirmed this one doesn't already exist before creating it. Call `…
prodobjectSeed the **prod** env's initial value (version 1), overriding `value` for prod. Published immediately. Must match `schema`.
stagingobjectSeed the **staging** env's initial value (version 1), overriding `value` for staging. Published immediately. Must match `schema`.
valueobjectInitial config value. Either a single JSON object applied to every env, or a `{ env: value }` map seeding per-env values. Must match `schema`. Defaults to `{}` on every env when omitted.

release_configs_get

Get one config. Returns config metadata plus the latest published values per env and any active draft values. Use this to fetch the JSON the editor renders.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_configs_list

List dynamic configs. Returns a single page of configs ordered by `updated_at desc, id desc`. Each row includes the latest published `version` per env and any active drafts.

ParameterTypeDescription
cursorstringOpaque cursor returned in the previous page's `next_cursor`. Omit for the first page.
limitintegerPage size (1–500). Defaults to 100.
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

release_configs_update

Update a dynamic config. Partial update. When `value` is supplied it is **republished on every env** (new version per env). A per-env key (`dev`/`staging`/`prod`) publishes a new version to **only that env**, immediately, overriding `value` for it. When `schema` is supplied it replaces the current sch…

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
devobjectPublish a new version to the **dev** env only, immediately (no draft). Overrides `value` for dev. Must match the effective schema.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
prodobjectPublish a new version to the **prod** env only, immediately (no draft). Overrides `value` for prod. Must match the effective schema.
schemaobjectReplacement schema. When supplied, the new schema is validated against every published value before it lands.
stagingobjectPublish a new version to the **staging** env only, immediately (no draft). Overrides `value` for staging. Must match the effective schema.
valueobjectFlat value applied to **every** env. Publishes a new version per env. To publish one env only, pass that env's key (`dev`/`staging`/`prod`) instead.

release_configs_update_schema

Update a config schema. Replaces a config's JSON Schema in place. Every existing published value is re-validated against the new schema before it lands; the update fails if any value no longer validates.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
schema *objectReplacement JSON Schema (draft 2020-12). Validated against every published value before it lands.

release_experiments_archive

Delete an experiment. Archives the experiment (soft-delete via status transition). Returns `409` if the experiment is still `running` — stop it first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_create

Create an experiment. Creates a new experiment in `draft` status. `name`, `universe`, and `groups` are required; everything else has sensible defaults.

release_experiments_get

Get one experiment. Returns the full experiment row including groups, params, allocation, and lifecycle timestamps.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_list

List experiments. Returns a single page of non-archived experiments ordered by `updated_at desc, id desc`. Use the `cursor` query parameter to paginate.

ParameterTypeDescription
cursorstringOpaque cursor returned in the previous page's `next_cursor`. Omit for the first page.
limitintegerPage size (1–500). Defaults to 100.
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.
statusstringFilter by lifecycle status. Pass `archived` to return the archive tab; any other value (or omitting it) returns the non-archived experiments.

release_experiments_readout_create

Mint a readout snapshot. Freezes the current results view into an immutable, dated readout snapshot — verdict, headline, per-metric numbers, the caveat list with its acknowledgment state, enrollment, and a hash of the assignment-relevant config. Ship/stop flows mint one automatically; "Share readout" …

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
kind *stringWhy the snapshot is being minted — `manual` ("Share readout"), or automatically on `ship` / `stop`.
acknowledgedCaveatIdsarrayIds of the open caveats the caller ticked (decision-gating acknowledgment). Unlisted caveats are stored as unacknowledged.
requireAllAcknowledgedbooleanWhen `true`, refuse (`422`) to mint while any open caveat is not listed in `acknowledgedCaveatIds` — server-side ship gating.

release_experiments_readout_get

Get a readout snapshot. Returns one immutable readout snapshot — the frozen results view (verdict, headline, per-metric numbers, caveats, enrollment) captured when it was minted, plus the `configHash` that tells you whether it is still comparable to the live view.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
readoutId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_reanalyze

Re-queue analysis. Requeues the daily analysis pass for this experiment outside the normal cron cadence. Useful after attaching a new metric or correcting an event taxonomy. The job runs asynchronously.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_restore

Restore an archived experiment (→ draft). Drives the experiment lifecycle. Allowed transitions:

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_results

Get analysis results. Returns the latest analysis output for the experiment — one row per metric/group/day, including sample size, mean, % delta vs. control, p-value, and a sample-ratio mismatch flag.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_set_metrics

Attach metrics. Replaces the experiment's metric attachments wholesale. Each entry pairs an existing `metric_id` with a `role` (`goal` / `guardrail` / `secondary`).

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
metrics *arrayReplacement metrics list — replaces the current attachments wholesale.

release_experiments_start

Start an experiment (draft → running). Drives the experiment lifecycle. Allowed transitions:

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_stop

Stop a running experiment. Drives the experiment lifecycle. Allowed transitions:

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_timeseries

Get analysis timeseries. Same row shape as `/results`, but returns every daily slice rather than the latest. Filter to a single metric with the `metric` query parameter.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
metricstringOptional metric name to filter the series.

release_experiments_universes_archive

Delete a universe. Soft-deletes the universe. Returns `409` if any non-archived experiment still references it — archive those experiments first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_experiments_universes_create

Create a universe. Creates a new universe. Only `name` is required — `unit_type` defaults to `user_id` and `holdout_range` defaults to `null` (no holdout).

ParameterTypeDescription
name *stringStable universe key. Single segment or `folder.name`. Lowercase letters, digits, `_` or `-`; max 128 chars. Immutable after create.
descriptionHuman-readable blurb shown in the universe picker/hovercard.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
holdout_rangeInclusive `[lo, hi]` bucket range (0–9999) reserved as the **holdout** — callers hashed into this slice are excluded from every experiment in the universe. `null` disables the holdout. Pro plan or…
listTokenstringREQUIRED. The `listToken` returned by the most recent `release_experiments_universes_list` call. It proves you listed existing release experiments universes and confirmed this one doesn't already exis…
param_schemaThe universe-owned config schema — an ordered `{ name, type, default }[]`. Experiments may only override values per variant, never add fields. `null` starts an empty schema.
recommended_headroomintegerBasis points of reserved headroom seeded into each new experiment created in this universe (0 = none). Lets variants be appended into a running experiment without reshuffling.
unit_typestringUnit of randomisation. Typically `user_id`. Use `account_id` to keep whole accounts in the same group across an experiment.

release_experiments_universes_list

List universes. Returns a single page of universes ordered by `created_at desc, id desc`. The universes table has no `updated_at`, so this list is keyed on creation time.

ParameterTypeDescription
cursorstringOpaque cursor returned in the previous page's `next_cursor`. Omit for the first page.
limitintegerPage size (1–500). Defaults to 100.
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

release_experiments_universes_update

Update a universe. Partial update. Only `holdout_range` is mutable — `name` and `unit_type` are immutable after create.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
descriptionHuman-readable blurb shown in the universe picker/hovercard.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
holdout_rangeInclusive `[lo, hi]` bucket range (0–9999) reserved as the **holdout** — callers hashed into this slice are excluded from every experiment in the universe. `null` disables the holdout. Pro plan or…
param_schemaReplace the universe config schema. Additive changes + default edits are always allowed; removing a param a running experiment overrides is rejected (deprecate-only).
recommended_headroomintegerBasis points of reserved headroom seeded into new experiments in this universe.

release_experiments_update

Update an experiment. Partial update. `allocation_pct`, `groups`, `salt`, `universe`, `params` are **immutable while running** — returns `409` if you try. Stop the experiment first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
allocation_pctintegerBasis-points allocation (0–10000). Use `allocation_percent` (0–100) for percent. Immutable while the experiment is running.
allocation_percentnumberAllocation as a **percentage** (0–100). Friendlier alias for `allocation_pct`; converted to basis points server-side. Wins over `allocation_pct` if both are supplied. Immutable while running.
audience
bucket_by
description
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
goal_metricobjectInline metric — a DSL `query`, or an `event` (+ `aggregation`/`value`) the server compiles into one.
groupsarrayReplacement groups. Weights must sum to `10000 − reserved_headroom`. Existing weights/values are immutable while running; a new variant may be appended into the reserved tail.
guardrail_metricsarrayReplaces the guardrail set wholesale (event auto-upserted per entry).
holdout_gatePer-experiment holdout gate — the name of a `holdout`-type flag, or `null` to clear. A caller the flag passes is held out.
hypothesis
min_runtime_daysinteger
min_sample_sizeinteger
namestringStable experiment key. Single segment or `folder.name` (a-z, 0-9, `_`/`-`; max 128 chars). Used by SDKs as `Shipeasy.getExperiment(user, '<name>')`. Immutable after create.
owner_email
paramsobject**Deprecated** — the universe owns the config schema (`param_schema`). Retained for back-compat. Map of param-name → scalar type.
reserved_headroomintegerBasis points of the split kept empty for appended variants. Group weights must sum to `10000 − reserved_headroom`. May be shrunk (never grown into existing weights) while running when appending a va…
saltstringHash salt. Immutable while running.
sequential_testingboolean
significance_thresholdnumber
tag
targeting_gate
universestringNew universe name. Immutable while running. Returns `422` if the universe doesn't exist.

release_flags_activity

List gate activity. Returns recent audit rows for one gate (create, update, enable, disable, delete) ordered newest first. Use the `limit` query parameter to cap the result (1–100, default 20).

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
limitintegerMax rows to return (1–100). Defaults to 20.

release_flags_archive

Delete a feature gate. Soft-deletes the gate. Returns 409 if the gate is still referenced by a running experiment as a targeting gate — stop the experiment first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_attributes_archive

Archive a targeting attribute. Soft-deletes (archives) a targeting attribute.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_attributes_create

Declare a targeting attribute. Declare a targeting attribute the SDK reports and gates/experiments can target. `type: enum` requires `enum_values`.

ParameterTypeDescription
name *stringAttribute key (lowercase alphanumeric start, then letters/digits/`_`/`-`; max 64 chars). Immutable after create.
type *stringDeclared value type of a targeting attribute.
descriptionstringOptional human note shown in the dashboard.
enum_valuesAllowed values when `type` is `enum` (required in that case — 422 otherwise); `null` for non-enum types.
listTokenstringREQUIRED. The `listToken` returned by the most recent `release_flags_attributes_list` call. It proves you listed existing release flags attributes and confirmed this one doesn't already exist before c…
requiredbooleanWhether the attribute must be present on the evaluation context.
sdk_pathstringOptional dotted path the SDK reads the value from.

release_flags_attributes_get

Get a targeting attribute. Fetch one targeting attribute by id.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_attributes_list

List targeting attributes. Returns every auto-inferred targeting attribute in the project — the `name` and (when known) the value `type` — for building gate/experiment targeting rules.

ParameterTypeDescription
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

release_flags_attributes_update

Update a targeting attribute. Update a targeting attribute's type, allowed values, required flag, description, or SDK path. `name` is immutable.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
descriptionstringOptional human note shown in the dashboard.
enum_valuesReplacement allowed values (for `enum`), or `null` to clear.
requiredbooleanWhether the attribute must be present on the evaluation context.
sdk_pathstringOptional dotted path the SDK reads the value from.
typestringDeclared value type of a targeting attribute.

release_flags_create

Create a feature gate. Creates a new gate. Default `enabled: true` at the supplied `rollout_pct` (`0` = fully dark).

release_flags_disable

Disable a gate. Sets `enabled: false` so the gate evaluates to `false` for every caller, regardless of `rollout_pct` or `rules`. Use as a quick kill switch.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_enable

Enable a gate. Sets `enabled: true`. The current `rollout_pct` is preserved.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_get

Get one gate. Returns the full gate row — including the gatekeeper `stack`, resolved creator/last-editor emails, and the edit `version` — for one gate, addressed by id or `name`.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_list

List feature gates. Returns a single page of gates ordered by `updated_at desc, id desc`. Use the `cursor` query parameter to paginate.

ParameterTypeDescription
cursorstringOpaque cursor returned in the previous page's `next_cursor`. Omit for the first page.
limitintegerPage size (1–500). Defaults to 100.
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

release_flags_templates_archive

Delete a gate template. Soft-deletes (archives) a **customer** template. Returns `409` if `id` names a read-only built-in template.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_templates_create

Create a gate template. Creates a per-project (customer) targeting-rule template. Built-ins are read-only and cannot be created here. Returns `409` if a template with this `name` already exists in the project.

ParameterTypeDescription
name *stringHuman label. Unique per project.
rules *arrayThe rule definition captured by the template.
autobooleanMark the attribute as request-derived (resolved at the SDK edge).
categorystring
descriptionstringOne-liner shown in pickers and matched by the list `query` filter.
icon_keystringDisplay-only icon hint.
listTokenstringREQUIRED. The `listToken` returned by the most recent `release_flags_templates_list` call. It proves you listed existing release flags templates and confirmed this one doesn't already exist before cre…

release_flags_templates_get

Get one gate template. Returns a single template by its `id` — a built-in slug (`country`) or a customer `gtpl_…` id.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_templates_list

List gate templates. Returns the merged targeting-rule template catalog — read-only **built-ins first** (the `@team`/`@owner` audience aliases, country, email-domain, region presets, …), then this project's **customer** templates. Each item carries a `rules: [{ attr, op, value }]` definition; the …

ParameterTypeDescription
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.
querystringDeprecated alias for `q`, kept working for one release. Prefer `q`.

release_flags_templates_update

Update a gate template. Partial update of a **customer** template. `rules` replaces the list wholesale. Returns `409` if `id` names a read-only built-in template.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
autoboolean
categorystring
descriptionstring
icon_key
namestring
rulesarray

release_flags_update

Update a feature gate. Partial update — only supplied fields change. Array fields (`rules`, `stack`) **replace** wholesale; there is no merge or append.

release_flags_whitelist

Read a gate's whitelist. Returns the gate's whitelist — the always-first allowlist that admits the listed identities before any targeting rule or percentage rollout is evaluated.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_whitelist_add

Add entries to a gate's whitelist. Adds identities to the gate's whitelist, creating the block if the gate doesn't have one yet. Entries already on the list are skipped, so the call is idempotent and safe to retry.

ParameterTypeDescription
entries *arrayIdentities to admit. Already-listed entries are skipped, so the call is idempotent.
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
attrIdentity attribute to match on. Only honoured when the gate has no whitelist yet (this call creates it); passing an attribute that disagrees with an existing whitelist is a 409 rather than a silent re…

release_flags_whitelist_remove

Remove entries from a gate's whitelist. Removes identities from the gate's whitelist. Entries that aren't on the list are skipped, so the call is idempotent.

ParameterTypeDescription
entries *arrayIdentities to stop admitting. Entries that aren't listed are skipped, so the call is idempotent.
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_flags_whitelist_set

Replace a gate's whitelist. Replaces the gate's whole whitelist with `entries`, creating the block if the gate didn't have one. Idempotent — the same call twice leaves the same list.

ParameterTypeDescription
entries *arrayThe complete whitelist after the call. Pass `[]` to remove the whitelist from the gate entirely.
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
attrIdentity attribute to match on. Defaults to the whitelist's current attribute, or `email` when the gate has no whitelist yet.

release_killswitch_archive

Delete a killswitch. Soft-deletes the killswitch and rebuilds the project's flags KV blob so SDKs stop seeing it.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_killswitch_create

Create a killswitch. Creates a new killswitch with `value` (default `false`) applied to **every** env at version 1.

ParameterTypeDescription
name *stringStable config/killswitch key in `folder.name` form (two lowercase segments separated by a dot, e.g. `pricing.tiers`). Immutable after create.
descriptionstringOptional free-form description shown in the dashboard. Max 512 chars.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
listTokenstringREQUIRED. The `listToken` returned by the most recent `release_killswitch_list` call. It proves you listed existing release killswitch and confirmed this one doesn't already exist before creating it.…
switchesobjectInitial per-switch overrides applied to every env. Empty/omitted leaves the killswitch with only the flat `value`.
valuebooleanDefault value applied to every env at creation. Defaults to `false`. Use `true` to ship the killswitch pre-tripped.

release_killswitch_get

Get one killswitch. Returns the killswitch metadata plus the latest published `value`/`switches`/`version` per env.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

release_killswitch_list

List killswitches. Returns a single page of killswitches ordered by `updated_at desc, id desc`. Each row includes the latest published `value`/`switches`/`version` per env.

ParameterTypeDescription
cursorstringOpaque cursor returned in the previous page's `next_cursor`. Omit for the first page.
limitintegerPage size (1–500). Defaults to 100.
qstringCase-insensitive substring filter across the resource's human-readable text columns (e.g. `name`, `title`, `description`). OR-matched across those columns; omit to return everything.

release_killswitch_set

Set one switch entry. Sets or updates a single `switchKey` on a single `env`. Publishes one new version on that env only — other envs untouched.

ParameterTypeDescription
env *stringTarget environment. One of the project's configured envs (`dev`, `staging`, `prod`).
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
switchKey *stringSwitch key to set.
value *booleanNew boolean value for this `switchKey` on this `env`.

release_killswitch_set_value

Set the flat value on one env. Sets the flat `value` on a single `env`, publishing one new version on that env only. `switches` and other envs are untouched.

ParameterTypeDescription
env *stringTarget environment. One of the project's configured envs (`dev`, `staging`, `prod`).
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
value *booleanFlat boolean to publish on `env`. Publishes a new version on that env only.

release_killswitch_toggle

Toggle a killswitch or one of its switches. Flips a killswitch on one environment and publishes a new version there. This is the one-call incident verb: it reads the current value, flips it, and publishes, so you don't have to fetch the killswitch first.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
envEnvironment to publish on. Defaults to `prod` — the environment an incident response means when it says "kill it".
switchKeyWhich target to flip. Omit (or `null`) to flip the killswitch's own flat `value`; name a switch key to flip that nested sub-switch instead, creating the entry if it doesn't exist yet.
valueThe value to publish. Omit (or `null`) to flip whatever is stored now — read-modify-write in one call. Pass an explicit `true`/`false` to make the call idempotent, so a retry can't undo the first at…

release_killswitch_unset

Remove one switch entry. Removes a single `switchKey` from the `switches` map on a single `env`. Publishes a new version on that env.

ParameterTypeDescription
env *stringTarget environment. One of the project's configured envs (`dev`, `staging`, `prod`).
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
switchKey *stringSwitch key to remove.

release_killswitch_update

Update a killswitch. Partial update applied to **every** env. Setting `value`/`switches` publishes a new version per env. Description-only patches don't bump versions.

ParameterTypeDescription
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
descriptionNew description, or `null` to clear it. Max 512 chars.
folderOptional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).
switchesobjectReplace the switches map wholesale on every env. To edit a single entry on a single env use `PUT /{id}/switch` instead.
valuebooleanFlat value applied to every env. Publishes a new version per env when set. Omit to leave values unchanged.

tags_get

Read an item's tags. Returns the tags attached to one item. The item is addressed by kind (`entityType`) plus its handle, so the same call reads tags off a queue item, a flag, a config, a kill switch, a metric, a tracked error, an alert rule, or an experiment.

ParameterTypeDescription
entityId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
entityType *stringThe kind of item a tag set hangs off: `ops` (any queue item — bug, feature request, error/alert/measure-plan ticket), `flag` (feature gate), `config` (dynamic config), `killswitch`, `metric`, `error…

tags_list

List the project's tags. Returns every tag in the project — the shared roster any item (queue items, flags, configs, kill switches, metrics, tracked errors, alert rules, experiments) can carry. Sorted by name.

ParameterTypeDescription
qstringCase-insensitive substring filter on the tag name. Omit to return every tag.

tags_set

Replace an item's tags. Replaces the item's whole tag set with `tags`: names not yet in the project are created, attached names not in the list are detached, and `[]` clears every tag. Names are deduped case-insensitively, reusing an existing tag's casing (sending `iOS` when `ios` exists attaches `io…

ParameterTypeDescription
entityId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
entityType *stringThe kind of item a tag set hangs off: `ops` (any queue item — bug, feature request, error/alert/measure-plan ticket), `flag` (feature gate), `config` (dynamic config), `killswitch`, `metric`, `error…
tags *arrayThe complete tag set the item should carry — tags not listed are detached. Names are get-or-created (a new name mints a project tag), deduped case-insensitively; `[]` clears every tag.

tags_update

Add or remove tags on an item. Edits an item's tags incrementally: attaches every name in `add` (creating project tags as needed) and detaches every name in `remove`, leaving the item's other tags untouched. Matching is case-insensitive; a name in both lists ends up removed.

ParameterTypeDescription
entityId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
entityType *stringThe kind of item a tag set hangs off: `ops` (any queue item — bug, feature request, error/alert/measure-plan ticket), `flag` (feature gate), `config` (dynamic config), `killswitch`, `metric`, `error…
addarrayTag names to attach (get-or-created by name, case-insensitive). Already-attached names are a no-op.
removearrayTag names to detach (case-insensitive). Names the item doesn't carry are a no-op. A name in both lists is removed.

trails_attribute

Attribute an item to a trail. Record that an error, alert or bug was caused by the trail after it merged. Errors carry no release or commit SHA, so attribution is a judgement: compare the stack frames and the error's subject against each candidate trail's changed files (`trails get --files`) and resources,…

ParameterTypeDescription
confidence *stringHow sure an attribution is. `high` and `medium` attach the item to the trail; `low` records a suspect for a person to confirm or reject.
evidence *stringConcrete evidence: a stack frame in a changed file, the failing call touching a resource of the trail, or a guard metric of the trail.
handle *stringThe trail's handle (`T-12`) or its id.
item *stringThe error, alert or bug to attribute (number or id).

trails_close

Close a trail. Close a trail by hand — abandoned, superseded, or shipped with discovered items still open. A trail also closes on its own once it is `shipped` with no discovered item open at `high` priority or above. Closing never merges or closes pull requests. A trail closed with nothing m…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
reasonstringWhy the trail is being closed, e.g. `abandoned` or `superseded by T-14`.

trails_confirm_suspect

Confirm a suspected regression. Confirm a suspect: the item goes onto the trail with source `post_merge` and the suspect's evidence is kept. A person's call — the restricted ops key cannot confirm.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
suspectId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

trails_create

Create a trail. Creates a trail in `planning`. A trail is created on purpose — nothing makes one implicitly. Create one from scratch with a `title` and a `body` (the outcome and the acceptance criteria), or press **Ship this** on a queue item with `originItem`: the item's description seeds th…

trails_get

Show a trail. A trail followed from intent to release: its phase, every change (each a pull request) with its latest push, merge gates, CI checks, each review agent's eval next to its last five, every finding (open first, worst first, `stale` when raised on an earlier push), approvals and p…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
filesbooleanInclude each merged change's full `changedFiles` list. Omitted, `changedFiles` is `null`.

trails_items_add

Put an existing item on a trail. Attach an existing queue item to the trail, recorded with source `attached`, optionally into a milestone (`milestoneId`). An item is on at most one trail; one already on another trail is refused with `409`. To file a *new* item on a trail, use `ops bug --trail` or `ops feature…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
item *stringThe queue item to put on the trail (number or id). An item is on at most one trail.
milestoneIdstringThe milestone to put the item in (`TrailMilestone.id`). Omitted, the item is in no milestone.

trails_items_move

Move an item to a milestone. Move an item on the trail into a milestone, or out of every milestone with `milestoneId: null`. The item stays on the trail and keeps its discovery record; only the milestone it counts toward changes. An item that is not on the trail is `404`, and so is a milestone of another …

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
itemHandle *stringA queue item's per-project number (e.g. `12`, `#12` also accepted) or its full id.
milestoneId *The milestone to move the item into (`TrailMilestone.id`), or `null` to take it out of every milestone.

trails_items_remove

Take an item off a trail. Detach a queue item from the trail. The item stays in the queue; only its link to the trail and its discovery record go. The trail's origin item cannot be detached.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
itemHandle *stringA queue item's per-project number (e.g. `12`, `#12` also accepted) or its full id.

trails_list

List the project's trails — the unit of shipping (an outcome with its items, milestones, pull requests and release tools; each row carries its lead, start and target dates, health and progress). LIST BEFORE YOU CREATE: check no trail already ships this. PAGING: `limit` (1–200) is REQUIRED; pass the previous `next_cursor` as `cursor` for the next page. FILTERS (optional, ANDed, applied in SQL): `scope` = mine | reviewing | ready | releasing | shipped | closed | all (default all); `phase` = planning | building | reviewing | ready | releasing | shipped | closed; `type` = feature | bug | task;…

ParameterTypeDescription
limit *integerPage size (1–200). A page shorter than `limit` is the last one.
cursorstringOpaque cursor returned in the previous page's `next_cursor`. Omit for the first page.
fstringThe table's filter conditions: a JSON array of `{ "f", "o", "v" }` objects, ANDed. See the operation description for the fields.
healthstringA trail's effective health — the one a person set, or else the derived one. Derived, first match wins: `off_track` when the target date has passed and the trail has not shipped, or a rollout is `fix…
mergedSincestringISO-8601 timestamp. Narrow to trails with a change merged at or after it.
ownerstringNarrow to trails owned by one person OR one agent — a `users.id`, email or display name, or a connector id, display name or handle. Case-insensitive exact match.
phasestringWhere a trail is, derived from its changes and its release resources — `planning` (no change and no open run), `building` (no change yet, a run is working), `reviewing` (a change is open and not eve…
qstringCase-insensitive substring filter across the trail's title and body.
scopestringA dashboard tab: `mine` (owned by the caller), `reviewing`, `ready`, `releasing`, `shipped`, `closed`, or `all` (the default, no narrowing).
sortstringA column id, `-` prefixed for descending (`-updated`). An unknown column is a `400`.
touchesstringA file path (or path prefix) a merged change changed, or a resource key the trail links. Narrow to trails that touch it.
typestringWhat a trail is shipping. A `feature` trail is held to the rollback and measured release gates.
viewstring`table` answers the dashboard table read (`f`, `sort`, `cursor`, `limit`, `section_counts`, `grouped`). Omitted, `f` and `sort` are still honoured and the envelope is `{ data, next_cursor }`.

trails_milestones_add

Add a milestone to a trail. Add a named stage to the trail, with an optional description and target date. Milestones are ordered: omit `position` to add it last, or pass one to insert it there and move the rest down. Progress is counted per milestone, and the build works the trail milestone by milestone …

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
name *stringThe milestone's name.
descriptionWhat the milestone delivers, or `null`.
positionintegerWhere to put it in the trail's order, from `0`; the milestones at and after it move down one. Omitted, it goes last.
targetDateThe calendar day it is meant to be done by (`YYYY-MM-DD`), or `null`.

trails_milestones_remove

Remove a milestone from a trail. Remove a milestone. Its items stay on the trail, in no milestone; the milestones after it move up one. Nothing else on the trail changes.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
milestoneId *stringThe milestone's id (`TrailMilestone.id`).

trails_milestones_update

Change a milestone. Rename a milestone, change its description or target date, or move it in the trail's order with `position` (the others shift to make room). Pass at least one field; the rest are left as they are.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
milestoneId *stringThe milestone's id (`TrailMilestone.id`).
descriptionWhat the milestone delivers; `null` clears it.
namestringThe milestone's name.
positionintegerMove it to this place in the trail's order, from `0`; the others shift to make room.
targetDateThe calendar day it is meant to be done by (`YYYY-MM-DD`); `null` clears it.

trails_pause_autopilot

Pause a trail's autopilot. Stop autopilot on a trail: it answers no more plan questions, approves no plan and merges nothing until a person resumes it. Whatever it already merged or ramped stays; the release controller keeps its own breach policy. Safe to call at any time, and for anyone who can write t…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
reasonstringWhy — shown on the timeline and to the owner.

trails_pause_rollout

Pause a trail's rollout. Pause the release controller on a trail: it stops stepping the flag and watching the guards until the rollout is resumed. The flag stays wherever it is. A trail that ships behind several flags has a rollout per flag; pass `resource` (the flag's trail-resource id or its key) to…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
reasonstringWhy — shown on the release timeline.
resourcestringThe flag to pause — its trail-resource id (`TrailResource.id`) or its key. Omitted, every flag on the trail is paused.

trails_plan_revisions

List a trail's plan revisions. Every approved revision of the trail's plan, newest first: the plan as it was approved, who approved it and when, and what changed since the revision before. A plan is revised by a `replan` run, which re-reads the goal metric, the items' outcomes and project memory and drafts …

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.

trails_promote_finding

Promote a finding to a queue item. Move a finding that is real but out of scope onto the queue. It creates a bug (or a feature request, with `type`) whose description quotes the finding, its path and line, and its push. The new item lands on the trail with source `finding`, and the finding is dismissed as `move…

ParameterTypeDescription
findingId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
handle *stringThe trail's handle (`T-12`) or its id.
reason *stringWhy the finding is out of scope for this trail. Recorded on the finding.
titlestringA title for the new item. Defaults to the finding's title.
typestringWhat to file the finding as. Defaults to `bug`.

trails_reject_suspect

Reject a suspected regression. Reject a suspect: the item stays where it is, off the trail, and the suspect leaves the trail's suspected regressions. A person's call — the restricted ops key cannot reject.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
suspectId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

trails_release_facts

Read a trail's release facts. What the numbers say about how the trail can ship, before anyone picks an approach: the traffic reaching the surface (distinct units a day over the last 28 days), its tier, whether a 50/50 experiment would reach significance within 28 days at the lift the goal asks for (or 5%)…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
proxystringWhat to read the traffic from — `metric:<key>`, `event:<name>` or `flag:<key>`.

trails_reopen

Reopen a trail. Reopen a closed trail so its changes can be reviewed and merged again. Its phase is recomputed from its changes and resources.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.

trails_resources_add

Link a resource to a trail. Link a product entity to the trail with a *role* — what it is for: `ships_behind` (the flag the code ships behind), `rollback` (the kill switch that undoes it), `measures` (the experiment or metric that judges it), `guards` (an alert rule that watches it), `copy` (an i18n key)…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
kind *stringThe product entities a trail can ship or depend on. `gate` is a feature flag.
resourceKey *stringThe entity's key (a gate or metric name, an experiment name, an i18n key). It must exist.
rolestringWhat a resource is for on the trail — `ships_behind` (the flag the code ships behind), `rollback` (the kill switch that undoes it), `measures` (the experiment or metric that judges it), `guards` (an…

trails_resources_list

List a trail's resources. The flags, configs, kill switches, experiments, metrics, alert rules, events and i18n keys the trail ships or depends on, each with its role and its live state (a flag's prod rollout, an experiment's status and decision, a kill switch's position, an alert's firing state, wheth…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.

trails_resources_remove

Unlink a resource from a trail. Remove a resource from the trail. The entity itself is untouched; only the trail's link to it goes, and the release gates stop counting it.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
id *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…

trails_review

Run the review agents. Launch the project's review agents on a change's latest push now, instead of waiting for the next push. Each agent's eval reads `pending` until its run submits. Agents sharing a coding-agent trigger are reviewed in one run. Review runs spend your own agent quota, not Shipeasy …

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
agentKeysarrayWhich review agents to run. Omitted, every enabled one.
prUrlstringThe change to review. Omitted, the trail's primary change.

trails_start

Start an agent on a trail. Fire the project's coding-agent trigger on the trail. While the trail has no approved plan, this fires a read-only **plan** run: it reads the trail, asks the person how it should ship (straight to main, behind a flag, flag and experiment, kill switch, flag and kill switch) and…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
agentstringWhich coding agent to fire — `claude`, `cursor`, `copilot` or `jules`. Omitted, the project's coding-agent trigger.
connectorIdstringA specific trigger connector to fire. Overrides `agent`.
kindstringWhich run to fire. Omitted, the server picks — `plan` while the trail has no approved plan, else `build`. Asking for `build` before the plan is approved is refused with `409`, and so is asking for `…
promptstringExtra instructions appended to the trail prompt.

trails_submit_eval

Submit a review agent's eval. Record one review agent's result on one push of a change: a `value` (0–100 for a score agent, 1/0 for a boolean one), a short `rationale`, and any `findings`. The verdict (pass / warn / fail) is computed from the agent's threshold and polarity. Submitting again for the same pu…

ParameterTypeDescription
agentKey *stringThe review agent's key (from `ops review-agents list`).
handle *stringThe trail's handle (`T-12`) or its id.
rationale *stringOne or two sentences on the evidence behind the value.
value *number0–100 for a score agent; 1 (yes) or 0 (no) for a boolean one.
agentstringYour agent type, when you are the review agent.
findingsarrayIssues to fix, each with a severity, and a file and line when there is one.
headShastringThe commit reviewed. Omitted, the change's latest push. A sha that is not the latest push is recorded against that push, as history.
prUrlstringThe change reviewed. Omitted, the trail's primary change.
resourcesarrayProduct resources the reviewed diff uses (`getFlag("x")`, `getExperiment("y")`, `t("key")`). They are linked to the trail as detected. A key that does not exist yet becomes a finding.
sessionIdstringYour session id, so the eval can deep-link to the review run.

trails_submit_plan

Submit a trail's plan. A plan run submits what it worked out: the plan in markdown, the `release` block (how the trail ships, why, and the exact flags, kill switches, experiments and tracking — events, metrics, alert rules — the build will create; no release tool for `straight_to_main`), the `breakd…

trails_timeline

Read a trail's timeline. Everything that happened on the trail, newest first: created, plans approved, questions asked and answered (on the trail and on its items), runs, items filed and done, pull requests opened, approved and merged, every rollout step, pull-back and autopilot action, the goal watch…

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
beforestringISO-8601 time; only events strictly before it (the `next` of the previous page).
decisionsbooleanOnly the decisions.
limitintegerMost events to return (1-200). Defaults to 50.

trails_update

Change a trail. Change a trail's title, intent, type, priority, owner (the lead), repo scope, start and target dates, health, goal or autopilot. Pass at least one field; the rest are left as they are. Changing the type changes which release gates apply.

ParameterTypeDescription
handle *stringThe trail's handle (`T-12`) or its id.
autopilotobjectTurn a trail's autopilot on or off, and set the limits it acts inside. Turning it ON needs the `autopilot` capability (admins have it) and a person's identity — a dashboard session or a signed-in CL…
bodystring
goalReplaces the trail's goal; `null` clears it.
healthSet the health by hand; `null` goes back to the derived health.
ownerConnectorIdThe agent connector owner; `null` unassigns.
ownerIdThe `users.id` of the person owner; `null` unassigns.
priorityTriage priority; `null` clears it.
reposarrayReplaces the trail's repo scope.
startDateThe calendar day work starts (`YYYY-MM-DD`); `null` clears it.
targetDateThe calendar day the trail is meant to ship by (`YYYY-MM-DD`); `null` clears it.
titlestring
typestringWhat a trail is shipping. A `feature` trail is held to the rollback and measured release gates.

trails_update_finding

Resolve or dismiss a finding. Set a finding's status — `resolved` (it was fixed; say how in `reason`), `dismissed` (it is not a problem; say why), or back to `open`. A finding that is real but out of scope is not dismissed: promote it with `trails promote-finding`.

ParameterTypeDescription
findingId *stringA resource path identifier — an opaque `xxx_<ULID>` id (~30 chars) or the resource's `name`/`key`. 1–128 characters; the upper bound matches the longest name/key any resource accepts, so an over-l…
handle *stringThe trail's handle (`T-12`) or its id.
status *stringA finding stays `open` until it is `resolved` (fixed) or `dismissed` (not a problem). A finding raised on an earlier push is reported `stale` but stays open until somebody decides.
agentstringYour agent type, when an agent is resolving the finding.
reasonstringWhy — the fixing commit, or why it is not a problem.

trails_update_plan

Edit a trail's plan. A person edits the plan text, the release block (strategy, reason, the resources to create) or the breakdown (milestones and items). Pass at least one field. Any edit puts the plan back to `drafted`, so it needs approving again; a trail with no plan yet gets one this way. Not …

whoami

Show the current project. Returns the project the caller's auth header resolves to — plan, status, billing, and which modules are enabled. The server reads the project from the credential, so there is no id parameter. Powers `whoami`.

metrics_grammar

Print the metric query DSL grammar. Print the full metric query DSL reference — grammar, aggregation semantics, filter/group-by/ratio rules, and glossed examples — used to author `metrics create --query`.

docs_list

List an SDK's documentation tree. Fetch an SDK's `/docs/manifest.json` and return the doc tree — feature pages, nested snippet groups, the optional setup-topic map, and whether an installable skill exists.

ParameterTypeDescription
sdkstringSDK language. Defaults to the `sdk` recorded in the nearest `.shipeasy` when omitted.

docs_get

Fetch one SDK doc page or snippet. Fetch one feature page (`flags`, `experiments`, …) or nested snippet (`release/experiments`, …), substituting declared {{placeholders}} from caller args.

ParameterTypeDescription
path *stringPage key or snippet 'group/resource'.
frameworkstringFramework hint (substitutes {{FRAMEWORK}}).
namestringResource name (substitutes {{RESOURCE_NAME}}).
sdkstringSDK language. Defaults to the `sdk` recorded in the nearest `.shipeasy` when omitted.

docs_skill

Fetch an SDK's installable LLM skill. Fetch the SDK's `skill/SKILL.md` (frontmatter intact) so an agent can install it verbatim. The CLI `--install` writes it locally (a consumer fs side-effect).

ParameterTypeDescription
installbooleanCLI only: write the skill to the local agent skills dir.
sdkstringSDK language. Defaults to the `sdk` recorded in the nearest `.shipeasy` when omitted.