mcp
v2.16.0Feature 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.
| Parameter | Type | Description |
|---|---|---|
domain * | string | Hostname-like identifier for the project (e.g. shouks.app, acme.com). Primary key for upsert. |
bind | boolean | Write .shipeasy after upsert. Default true. Set false to skip binding. |
name | string | Human-readable project name. Defaults to the domain on first create; ignored on later upserts. |
path | string | Directory 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…
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must 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.
| Parameter | Type | Description |
|---|---|---|
env * | string | Environment 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 * | string | Key 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… |
expiresInDays | Days 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). | |
name | string | Optional 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… |
scopes | array | Optional 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…
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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`.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of rows to return (1–500). Defaults to 200. |
q | string | Case-insensitive substring match against `message`, `errorType`, and `subject`. |
status | string | Filter 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…
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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…
| Parameter | Type | Description |
|---|---|---|
from * | integer | Window start, epoch seconds (inclusive). |
id * | string | A 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 * | integer | Window end, epoch seconds (exclusive). Must be greater than `from`. |
bucket | integer | Bucket 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Draft name, e.g. the target locale being staged. |
profile_id * | string | Profile the draft targets. |
listToken | string | REQUIRED. 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_id | string | Optional 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`).
| Parameter | Type | Description |
|---|---|---|
draftId * | string | A 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… |
status | string | New lifecycle state for the draft. |
i18n_keys_list
List i18n keys. List keys for a profile, optionally filtered to a name `prefix`.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max keys to return (1–500). Defaults to 200. |
offset | integer | Number of keys to skip before returning `limit` rows (offset pagination). |
prefix | string | Only keys whose name starts with this. |
profile_id | string | Profile id to list keys for. |
q | string | Free-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`.
| Parameter | Type | Description |
|---|---|---|
keys * | array | Keys to add. Insert-only by default — existing keys are reported back as `skipped` (set `force` to overwrite them instead). |
profile_id * | string | Target profile id to add keys to. |
force | boolean | Overwrite 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'…
| Parameter | Type | Description |
|---|---|---|
key * | string | Dotted key path to set, e.g. `home.cta`. |
value * | string | New value for the key. Inserted when the key is new, overwritten when it exists. |
description | string | Optional human note to store with the key. |
profile | string | Profile 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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 * | string | New value for the key (the only overwrite path). |
description | string | Optional human note to store with the key. |
experimentId | Link 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… | |
variables | array | Explicit `{{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`).
| Parameter | Type | Description |
|---|---|---|
name * | string | Profile 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… |
listToken | string | REQUIRED. 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.
| Parameter | Type | Description |
|---|---|---|
profileId * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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`).
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
description | string | New description for the event. |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
properties | array | Replaces 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Event 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… |
description | string | Optional human-readable description of the event. |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
listToken | string | REQUIRED. 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… |
properties | array | Typed 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
q | string | Case-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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
description | string | New description for the event. |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
properties | array | Replaces 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).
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
q | string | Case-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…
| Parameter | Type | Description |
|---|---|---|
from * | integer | Window start, epoch seconds (inclusive). |
id * | string | A 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 * | integer | Window end, epoch seconds (exclusive). Must be greater than `from`. |
bucket | integer | Bucket 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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).…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
agent | string | The 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… |
launch | boolean | Whether 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… |
runId | string | The 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… |
sessionId | string | The 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. |
takeover | boolean | Replace 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…
| Parameter | Type | Description |
|---|---|---|
field | string | Which 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`. |
item | string | Narrow to one item — its per-project number (e.g. `7`) or full id. Omit for the whole project. |
limit | integer | Maximum entries to return (1-200). Defaults to 100. |
since | string | Only entries strictly after this ISO-8601 instant. |
until | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
q | string | Case-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).
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
autoResolveMinutes | Close a stale live instance after this long; `null` never auto-resolves. | |
bucketMinutes | Bucket width in minutes; `null` restores the default 12 buckets per window. | |
comparator | string | |
composite | object | What 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… |
delayMinutes | How far behind live the window is held; `null` drops the delay. | |
direction | Which side an `anomaly` or `outliers` rule watches; `null` restores either. | |
enabled | boolean | |
groupAlerts | boolean | Fire one alert per `by()` group. Refused on a metric with no grouping. |
kind | string | |
maxGroups | How many groups may alert at once; `null` restores the default of 10. | |
name | string | |
noDataMinutes | How long a `no_data` rule's silence must last; `null` restores 15 minutes. | |
notify | Delivery target for a rule's alert; `null` = use the project default. The `NotificationTarget` shape plus the in-app switch. | |
rangeMax | Upper edge of the corridor; `null` drops it. | |
rangeMin | Lower edge of the corridor; `null` drops it, returning the rule to comparator and threshold when both bounds are gone. | |
recoveryThreshold | What the metric must get back to before a live alert closes; `null` drops the hysteresis. | |
requiredBuckets | Buckets that must breach to fire; `null` restores "every bucket that had data". | |
severity | string | |
sigma | Sigmas an `anomaly` or `outliers` rule fires at; `null` restores the default of 3. | |
sustained | boolean | Judge the window by accumulated departure rather than bucket by bucket. `anomaly` and `outliers` only; refused alongside `requiredBuckets`. |
threshold | number | |
warnThreshold | The milder bound; `null` drops the warning level, leaving the rule with one. | |
windowHours | integer |
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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
contentBase64 | string | The file bytes, base64-encoded (a bare string or a `data:<mime>;base64,` URI). Pass this or `url`, not both. |
filename | string | File name, e.g. `checkout-overflow.png`. Defaults to the last segment of `url`, else `file`. |
kind | string | Attachment kind. Defaults from the media type (image → screenshot, video → recording, else file). Ignored by the comment-media upload. |
mimeType | string | Media type, e.g. `image/png`. Defaults from the data URI, the fetched response, or the filename extension. |
url | string | A 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…
| Parameter | Type | Description |
|---|---|---|
title * | string | One-line bug title (no leading/trailing whitespace). |
actualResult | string | What actually happened. |
assigneeId | The `users.id` of the person to assign as owner at creation, or `null`. | |
context | Arbitrary capture context, or `null`. | |
delegateConnectorId | string | The 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… |
expectedResult | string | What was expected instead. |
listToken | string | REQUIRED. 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… |
notify | Where this bug's completion notification lands. | |
pageUrl | URL of the page the bug relates to, or `null`. | |
priority | Initial triage priority, or `null`. | |
reporterEmail | Email of the reporter, or `null`. | |
status | Initial lifecycle status; defaults to `open` when omitted. | |
stepsToReproduce | string | How to reproduce the bug. |
subscribers | array | Emails of teammates to subscribe to this item's Slack pings at creation. |
tags | array | Tag 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… |
trail | string | File 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… |
userAgent | Reporter's user-agent string, or `null`. | |
viewport | Reporter'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…
| Parameter | Type | Description |
|---|---|---|
body * | string | The comment body as markdown. Mentions (`@teammate`, `@shipeasy`) are parsed from it. |
handle * | string | A 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… |
listToken | string | REQUIRED. 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… |
parentId | Reply 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 (``) in `ops comments create`, so an ev…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
contentBase64 | string | The file bytes, base64-encoded (a bare string or a `data:<mime>;base64,` URI). Pass this or `url`, not both. |
filename | string | File name, e.g. `checkout-overflow.png`. Defaults to the last segment of `url`, else `file`. |
kind | string | Attachment kind. Defaults from the media type (image → screenshot, video → recording, else file). Ignored by the comment-media upload. |
mimeType | string | Media type, e.g. `image/png`. Defaults from the data URI, the fetched response, or the filename extension. |
url | string | A 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…
| Parameter | Type | Description |
|---|---|---|
title * | string | One-line bug title (no leading/trailing whitespace). |
type * | string | Discriminator — files a bug. |
actualResult | string | What actually happened. |
assigneeId | The `users.id` of the person to assign as owner at creation, or `null`. | |
context | Arbitrary capture context, or `null`. | |
delegateConnectorId | string | The 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… |
description | string | What the feature is. |
expectedResult | string | What was expected instead. |
listToken | string | REQUIRED. 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… |
notify | Where this bug's completion notification lands. | |
pageUrl | URL of the page the bug relates to, or `null`. | |
priority | Initial triage priority, or `null`. | |
reporterEmail | Email of the reporter, or `null`. | |
status | Initial lifecycle status; defaults to `open` when omitted. | |
stepsToReproduce | string | How to reproduce the bug. |
subscribers | array | Emails of teammates to subscribe to this item's Slack pings at creation. |
tags | array | Tag 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… |
trail | string | File 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… |
useCase | string | Why it's needed / the use case. |
userAgent | Reporter's user-agent string, or `null`. | |
viewport | Reporter'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…
| Parameter | Type | Description |
|---|---|---|
title * | string | One-line feature-request title (no leading/trailing whitespace). |
assigneeId | The `users.id` of the person to assign as owner at creation, or `null`. | |
context | Arbitrary capture context, or `null`. | |
delegateConnectorId | string | The 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… |
description | string | What the feature is. |
listToken | string | REQUIRED. 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… |
notify | Where this request's completion notification lands. | |
pageUrl | URL of the page the request relates to, or `null`. | |
priority | Initial triage priority, or `null`. | |
reporterEmail | Email of the reporter, or `null`. | |
status | Initial lifecycle status; defaults to `open` when omitted. | |
subscribers | array | Emails of teammates to subscribe to this item's Slack pings at creation. |
tags | array | Tag 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… |
trail | string | File 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). |
useCase | string | Why it's needed / the use case. |
userAgent | Reporter'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`.
| Parameter | Type | Description |
|---|---|---|
status | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
agent | AGENT 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… | |
assigneeId | PERSON owner — a `users.id`, or `null` to clear the assignment. | |
status | string | New 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
include | string | `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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
priority | Triage priority, or `null` when not set (in an update, `null` clears it). | |
status | string | Lifecycle 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 * | string | Which lifecycle stage the record documents. |
agent | string | The agent type producing the record — pass your own type when you are a coding agent. |
completedAt | string | ISO-8601 timestamp the work finished. |
confidence | string | Self-reported confidence in the record. |
connectorId | string | The trigger-connector row id the agent ran through. |
durationMs | integer | Run duration in milliseconds. |
findings | string | The full findings write-up (markdown). |
listToken | string | REQUIRED. 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.… |
model | string | The model the agent ran on. |
prNumber | integer | A PR the record references. |
prUrl | string | HTML URL of that PR. |
qaNotes | string | How to verify the fix — QA notes (markdown). |
question | string | A blocking question for the team (markdown). |
sessionId | string | The agent-run session id, so the dashboard can deep-link to the run. |
sources | array | The files/links inspected. |
startedAt | string | ISO-8601 timestamp the work started. |
summary | string | One-line summary of the record. |
tokensUsed | integer | Tokens the run consumed. |
visibility | string | Record 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).
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 * | string | A 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… |
completedAt | string | ISO-8601 timestamp the work finished. Set it (or flip `kind` off `working`) to mark a run record done. |
confidence | string | Self-reported confidence in the record. |
durationMs | integer | Run duration in milliseconds. |
findings | string | The full findings write-up (markdown). |
kind | string | Reclassify the record's lifecycle stage (e.g. flip a `working` run into `investigated` once findings land). |
model | string | The model the agent ran on. |
prNumber | integer | A PR the record references. |
prUrl | string | HTML URL of that PR. |
qaNotes | string | How to verify the fix — QA notes (markdown). |
question | string | A blocking question for the team (markdown). |
sessionId | string | The agent-run session id, so the dashboard can deep-link to the run. |
sources | array | The files/links inspected. |
summary | string | One-line summary of the record. |
tokensUsed | integer | Tokens the run consumed. |
visibility | string | Record visibility. `draft` keeps it out of the panel; `published` surfaces it. |
ops_link_pr
Link a fixing PR. Record a pull request that fixes a queue item. An item can carry several PRs: each call ADDS one (re-linking a linked PR is a no-op), `unlink: true` removes one, and `prNumber: null` clears them all. `connectorData.github.prs` lists them; `github.pr` is the primary one (newest…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
prNumber * | PR number to ADD to the item's linked PRs (re-linking one already linked is a no-op). `null` unlinks EVERY PR on the item. | |
prUrl | string | Explicit PR URL. Required for error/alert tickets (no GitHub issue to derive the URL from). |
unlink | boolean | Remove just this PR (`prNumber`, or `prUrl` when given) from the item instead of adding it. |
ops_links
Link related items. Edits how this queue item relates to others: which items block it ("blocked by"), which items it blocks ("blocking"), and which item it duplicates ("duplicate of"). The blocker lists are incremental — already-linked or never-linked items are no-ops and every other relation is …
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
addBlockedBy | array | Items (number or id) to record as blocking this one. Already-linked items are a no-op. |
addBlocking | array | Items (number or id) this one blocks. Already-linked items are a no-op. |
duplicateOf | Mark this item as a duplicate of another (number or id), replacing any earlier canonical; `null` clears it. Omit to leave it unchanged. While the canonical is still open, the item closes as `wont_fix`… | |
removeBlockedBy | array | Items (number or id) to stop recording as blocking this one. Unlinked items are a no-op. |
removeBlocking | array | Items (number or id) this one should stop blocking. Unlinked items are a no-op. |
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…
| Parameter | Type | Description |
|---|---|---|
limit * | integer | Page size — max items to return (1–500). A page shorter than `limit` is the last one. |
closedSince | string | ISO-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… |
offset | integer | Number of items to skip before the page starts. Defaults to 0. The order is stable, so `offset += limit` walks the queue page by page. |
owner | string | Narrow 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… |
priority | Filter by triage priority, or `all` (the default). Items with no priority set are returned only under `all`. | |
qaQuestions | string | `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… |
reporter | string | Narrow 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… |
scope | string | `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… |
status | Filter 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`… | |
type | Filter by item type, or `all` (the default). Every type a returned item can carry is filterable, including the auto-filed ones. |
ops_memory_search
Search project memory. What the project already learned from the tickets it shipped — the decisions the team made in answered questions, what QA found, which files a feature lives in, the PR that shipped it, and the requests that were turned down. Every entry is derived from the item's own records (…
| Parameter | Type | Description |
|---|---|---|
item | string | A queue item — its per-project number (e.g. `7`) or full id. Its title and description become the query; its own entries are excluded. |
kind | string | What a project-memory entry records. `shipped` — an item that reached `ready_for_qa`/`resolved`: what was asked, what the run found, the files it touched, the PR. `declined` — an item closed `wont… |
limit | integer | Maximum entries to return (1-50). Defaults to 10. |
paths | string | Comma-separated repo-relative files or directories, e.g. `apps/web/src/checkout/,packages/billing/src/retry.ts`. |
q | string | Free-text query, e.g. `checkout retry`. |
trail | string | A trail — its handle (e.g. `T-12`) or full id. Its title, intent and goal become the query; its own entries and its items' are excluded. |
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.
| Parameter | Type | Description |
|---|---|---|
summary * | string | One sentence: why it can't be fixed in code. Renders markdown. |
title * | string | One-line headline of what's blocked. |
dedupeKey | string | Stable per-escalation key (e.g. `feedback:7`) so re-runs dedupe to one row. |
href | Dashboard-relative deep link to the related item. `null` is accepted and treated as "no link". | |
steps | array | Ordered 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…
| Parameter | Type | Description |
|---|---|---|
body * | string | The note (markdown). |
handle * | string | A 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 * | string | What 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… |
agent | string | The agent type writing the note — pass your own type when you are QA automation. Omitted, the note is attributed to the caller's identity. |
listToken | string | REQUIRED. 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… |
verdict | string | The 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 …
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 | string | What 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…
| Parameter | Type | Description |
|---|---|---|
answer * | string | QA's answer (markdown). |
handle * | string | A 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 * | string | A 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… |
agent | string | The 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 * | string | What you need QA to answer (markdown). Include what you already tried. |
agent | string | The 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`.
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
status | string | Where 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 * | string | A 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… |
other | string | A free-text "Other" answer. |
selected | array | The 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 * | array | 1–4 questions to ask at once. |
agent | string | The agent type asking — pass your own type when you are a coding agent. Defaults to the run's agent. |
delivery | string | How 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… |
runId | string | The 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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 * | string | A 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
status | Filter 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.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | A 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 …
| Parameter | Type | Description |
|---|---|---|
blocking | boolean | |
connectorId | string | The coding-agent trigger that runs it — a connector id from `ops agents list`. Omitted, the project's first connected trigger runs it. |
description | string | |
enabled | boolean | |
instructions | string | What to review and how to score it. |
key | string | Slug the agent's evals are submitted under — lowercase letters, digits and dashes. |
listToken | string | REQUIRED. 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… |
name | string | |
polarity | string | Which 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. |
preset | string | A preset id from `ops review-agents list` (e.g. `code-review`, `security`, `risk`, `confidence`, `slop`). |
threshold | integer | |
trigger | string | When a review agent runs — on every `push` to a trail's linked pull request, or only when a review is requested (`manual`). |
valueType | string | How 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.
| Parameter | Type | Description |
|---|---|---|
agentId * | string | A 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… |
blocking | boolean | |
connectorId | ||
description | ||
enabled | boolean | |
instructions | string | |
name | string | |
polarity | string | Which 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. |
threshold | integer | |
trigger | string | When a review agent runs — on every `push` to a trail's linked pull request, or only when a review is requested (`manual`). |
valueType | string | How 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…
| Parameter | Type | Description |
|---|---|---|
agentPrompt | string | Steering prompt for the launched agent. Only kept alongside a `connector`. |
connector | string | Connected coding agent to hand the item to — a connector id from `ops agents list`. |
enabled | boolean | Whether the rule is live. Defaults to `true`. |
listToken | string | REQUIRED. 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… |
priority | string | Triage 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. |
skipApproval | boolean | Let a matching public-intake ticket skip `pending_approval`. Defaults to `false`. |
status | string | Lifecycle 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… |
subscribers | array | Emails notified about matching items. |
tags | array | Tag names the rule matches (case-insensitive). Tags are created on first use. |
types | array | Ticket types the rule also fires on. |
user | string | Person 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…
| Parameter | Type | Description |
|---|---|---|
config * | object | Non-secret config for a Claude trigger. |
enabled | boolean | Whether the trigger is active on create. |
events | array | Events that auto-fire the routine. Defaults to empty so the trigger does not auto-fire paid runs until events are subscribed. |
name | string | Human-readable connector label. |
token | string | The 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…
| Parameter | Type | Description |
|---|---|---|
config * | object | Non-secret config for a Copilot trigger. |
token * | string | Copilot-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. |
enabled | boolean | Whether the trigger is active on create. |
events | array | Events that auto-fire a Copilot agent task. Defaults to empty. |
name | string | Human-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…
| Parameter | Type | Description |
|---|---|---|
apiKey * | string | Cursor API key that launches the run (secret). Encrypted into the credentials cipher; never returned. |
config * | object | Non-secret config for a Cursor trigger. |
opsKey * | string | Restricted 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. |
enabled | boolean | Whether the trigger is active on create. |
events | array | Events that auto-fire a cold cloud-agent run. Defaults to empty. |
name | string | Human-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…
| Parameter | Type | Description |
|---|---|---|
apiKey * | string | Jules API key that launches the session (secret). Encrypted into the credentials cipher; never returned. |
config * | object | Non-secret config for a Jules trigger. |
opsKey * | string | Restricted Shipeasy ops key, embedded in the prompt (Jules exposes no env channel) (secret). Encrypted; never returned. |
enabled | boolean | Whether the trigger is active on create. |
events | array | Events that auto-fire a Jules session. Defaults to empty. |
name | string | Human-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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | A 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… |
actualResult | string | Updated actual result. |
description | string | Updated description. |
expectedResult | string | Updated expected result. |
githubPrNumber | Link (or, when `null`, unlink) a GitHub pull request to this bug. | |
notify | Where this item's completion notification lands, or `null`. | |
priority | Triage priority, or `null` when not set (in an update, `null` clears it). | |
status | string | Lifecycle 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… |
stepsToReproduce | string | Updated reproduction steps. |
title | string | New bug title (no leading/trailing whitespace). |
useCase | string | Updated 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
autoRollback | boolean | Whether a failing guardrail auto-rolls back the experiment. |
ciConfidence | number | Confidence level for the interval surfaced on results (any value in [0.5, 0.999], e.g. 0.90, 0.95, 0.975, 0.99). |
cupedBaselineDays | integer | CUPED baseline window — days of pre-experiment history, frozen at start. |
cupedMinBaselineUsers | integer | CUPED — minimum users with a baseline before it runs at all. |
cupedMinOverlap | number | CUPED selection-bias guard — min share of users with a baseline, else skip. |
defaultAllocationPct | integer | Default traffic allocation (basis points, 1000 = 10%) new experiments start with; overridable per experiment. |
defaultEnv | string | Default environment new resources are scoped to. |
defaultHoldout | integer | Default holdout carve-out (basis points) that seeds each new universe's holdout (0 = none). |
defaultMei | Default minimum effect of interest (relative, 0–1) new metrics start with; overridable per metric and per experiment. Null clears it. | |
defaultPower | number | Target statistical power (1−β) feeding the realized-MDE calculation. |
defaultWinsorizePct | integer | Default winsorization percentile new metrics start with; overridable per metric. |
domain | string | Lowercase 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… |
errorAutocloseDays | integer | Days an `open` tracked error may go unseen before the nightly sweep auto-resolves it. `0` disables auto-close for this project. |
errorTicketMinOccurrences | integer | Occurrence 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… |
minRuntimeDays | integer | Minimum days an experiment must run before a verdict (peeking guard). |
minSampleDays | integer | Minimum number of days an experiment must run before it can be called. |
minSampleSize | integer | Verdict power guard — minimum users per arm before a ship/hold verdict. |
moduleConfigs | boolean | Enable/disable the dynamic-configs module. |
moduleEvents | boolean | Enable/disable the events module. |
moduleExperiments | boolean | Enable/disable the experiments module. |
moduleFeedback | boolean | Enable/disable the feedback/ops module. |
moduleGates | boolean | Enable/disable the feature-gates module. |
moduleTranslations | boolean | Enable/disable the i18n/translations module. |
moduleUser | boolean | Enable/disable the user-management module. |
msprtTauMeiFactor | number | mSPRT prior width — τ = minimum effect of interest × this factor. |
msprtTauSdFactor | number | mSPRT fallback prior width — τ = this × control SD when no MEI is set. |
name | string | New project name. |
sigThreshold | string | Significance threshold (alpha) for experiment analysis. |
slug | string | URL-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. |
srmThreshold | number | SRM chi-square p-value below which the run is called invalid. |
statMethod | string | Statistical method the experiment analyzer uses. |
timezone | string | IANA 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Stable config/killswitch key in `folder.name` form (two lowercase segments separated by a dot, e.g. `pricing.tiers`). Immutable after create. |
schema * | object | JSON 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. |
description | string | Optional free-form description shown in the dashboard. Max 512 chars. |
dev | object | Seed the **dev** env's initial value (version 1), overriding `value` for dev. Published immediately. Must match `schema`. |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
listToken | string | REQUIRED. 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 `… |
prod | object | Seed the **prod** env's initial value (version 1), overriding `value` for prod. Published immediately. Must match `schema`. |
staging | object | Seed the **staging** env's initial value (version 1), overriding `value` for staging. Published immediately. Must match `schema`. |
value | object | Initial 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor returned in the previous page's `next_cursor`. Omit for the first page. |
limit | integer | Page size (1–500). Defaults to 100. |
q | string | Case-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…
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
dev | object | Publish a new version to the **dev** env only, immediately (no draft). Overrides `value` for dev. Must match the effective schema. |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
prod | object | Publish a new version to the **prod** env only, immediately (no draft). Overrides `value` for prod. Must match the effective schema. |
schema | object | Replacement schema. When supplied, the new schema is validated against every published value before it lands. |
staging | object | Publish a new version to the **staging** env only, immediately (no draft). Overrides `value` for staging. Must match the effective schema. |
value | object | Flat 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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 * | object | Replacement 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor returned in the previous page's `next_cursor`. Omit for the first page. |
limit | integer | Page size (1–500). Defaults to 100. |
q | string | Case-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. |
status | string | Filter 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" …
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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 * | string | Why the snapshot is being minted — `manual` ("Share readout"), or automatically on `ship` / `stop`. |
acknowledgedCaveatIds | array | Ids of the open caveats the caller ticked (decision-gating acknowledgment). Unlisted caveats are stored as unacknowledged. |
requireAllAcknowledged | boolean | When `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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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 * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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:
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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`).
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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 * | array | Replacement metrics list — replaces the current attachments wholesale. |
release_experiments_start
Start an experiment (draft → running). Drives the experiment lifecycle. Allowed transitions:
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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:
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
metric | string | Optional 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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).
| Parameter | Type | Description |
|---|---|---|
name * | string | Stable universe key. Single segment or `folder.name`. Lowercase letters, digits, `_` or `-`; max 128 chars. Immutable after create. |
description | Human-readable blurb shown in the universe picker/hovercard. | |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
holdout_range | Inclusive `[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… | |
listToken | string | REQUIRED. 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_schema | The 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_headroom | integer | Basis 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_type | string | Unit 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor returned in the previous page's `next_cursor`. Omit for the first page. |
limit | integer | Page size (1–500). Defaults to 100. |
q | string | Case-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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
description | Human-readable blurb shown in the universe picker/hovercard. | |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
holdout_range | Inclusive `[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_schema | Replace the universe config schema. Additive changes + default edits are always allowed; removing a param a running experiment overrides is rejected (deprecate-only). | |
recommended_headroom | integer | Basis 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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_pct | integer | Basis-points allocation (0–10000). Use `allocation_percent` (0–100) for percent. Immutable while the experiment is running. |
allocation_percent | number | Allocation 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 | ||
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
goal_metric | object | Inline metric — a DSL `query`, or an `event` (+ `aggregation`/`value`) the server compiles into one. |
groups | array | Replacement 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_metrics | array | Replaces the guardrail set wholesale (event auto-upserted per entry). |
holdout_gate | Per-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_days | integer | |
min_sample_size | integer | |
name | string | Stable 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 | ||
params | object | **Deprecated** — the universe owns the config schema (`param_schema`). Retained for back-compat. Map of param-name → scalar type. |
reserved_headroom | integer | Basis 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… |
salt | string | Hash salt. Immutable while running. |
sequential_testing | boolean | |
significance_threshold | number | |
tag | ||
targeting_gate | ||
universe | string | New 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).
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
limit | integer | Max 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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`.
| Parameter | Type | Description |
|---|---|---|
name * | string | Attribute key (lowercase alphanumeric start, then letters/digits/`_`/`-`; max 64 chars). Immutable after create. |
type * | string | Declared value type of a targeting attribute. |
description | string | Optional human note shown in the dashboard. |
enum_values | Allowed values when `type` is `enum` (required in that case — 422 otherwise); `null` for non-enum types. | |
listToken | string | REQUIRED. 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… |
required | boolean | Whether the attribute must be present on the evaluation context. |
sdk_path | string | Optional dotted path the SDK reads the value from. |
release_flags_attributes_get
Get a targeting attribute. Fetch one targeting attribute by id.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
q | string | Case-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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
description | string | Optional human note shown in the dashboard. |
enum_values | Replacement allowed values (for `enum`), or `null` to clear. | |
required | boolean | Whether the attribute must be present on the evaluation context. |
sdk_path | string | Optional dotted path the SDK reads the value from. |
type | string | Declared 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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`.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor returned in the previous page's `next_cursor`. Omit for the first page. |
limit | integer | Page size (1–500). Defaults to 100. |
q | string | Case-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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human label. Unique per project. |
rules * | array | The rule definition captured by the template. |
auto | boolean | Mark the attribute as request-derived (resolved at the SDK edge). |
category | string | |
description | string | One-liner shown in pickers and matched by the list `query` filter. |
icon_key | string | Display-only icon hint. |
listToken | string | REQUIRED. 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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 …
| Parameter | Type | Description |
|---|---|---|
q | string | Case-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. |
query | string | Deprecated 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
auto | boolean | |
category | string | |
description | string | |
icon_key | ||
name | string | |
rules | array |
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
entries * | array | Identities to admit. Already-listed entries are skipped, so the call is idempotent. |
id * | string | A 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… |
attr | Identity 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.
| Parameter | Type | Description |
|---|---|---|
entries * | array | Identities to stop admitting. Entries that aren't listed are skipped, so the call is idempotent. |
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
entries * | array | The complete whitelist after the call. Pass `[]` to remove the whitelist from the gate entirely. |
id * | string | A 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… |
attr | Identity 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Stable config/killswitch key in `folder.name` form (two lowercase segments separated by a dot, e.g. `pricing.tiers`). Immutable after create. |
description | string | Optional free-form description shown in the dashboard. Max 512 chars. |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
listToken | string | REQUIRED. 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.… |
switches | object | Initial per-switch overrides applied to every env. Empty/omitted leaves the killswitch with only the flat `value`. |
value | boolean | Default 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor returned in the previous page's `next_cursor`. Omit for the first page. |
limit | integer | Page size (1–500). Defaults to 100. |
q | string | Case-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.
| Parameter | Type | Description |
|---|---|---|
env * | string | Target environment. One of the project's configured envs (`dev`, `staging`, `prod`). |
id * | string | A 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 * | string | Switch key to set. |
value * | boolean | New 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.
| Parameter | Type | Description |
|---|---|---|
env * | string | Target environment. One of the project's configured envs (`dev`, `staging`, `prod`). |
id * | string | A 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 * | boolean | Flat 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
env | Environment to publish on. Defaults to `prod` — the environment an incident response means when it says "kill it". | |
switchKey | Which 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. | |
value | The 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.
| Parameter | Type | Description |
|---|---|---|
env * | string | Target environment. One of the project's configured envs (`dev`, `staging`, `prod`). |
id * | string | A 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 * | string | Switch 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | A 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… |
description | New description, or `null` to clear it. Max 512 chars. | |
folder | Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`). | |
switches | object | Replace the switches map wholesale on every env. To edit a single entry on a single env use `PUT /{id}/switch` instead. |
value | boolean | Flat 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.
| Parameter | Type | Description |
|---|---|---|
entityId * | string | A 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 * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
q | string | Case-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…
| Parameter | Type | Description |
|---|---|---|
entityId * | string | A 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 * | string | The 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 * | array | The 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.
| Parameter | Type | Description |
|---|---|---|
entityId * | string | A 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 * | string | The 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… |
add | array | Tag names to attach (get-or-created by name, case-insensitive). Already-attached names are a no-op. |
remove | array | Tag 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,…
| Parameter | Type | Description |
|---|---|---|
confidence * | string | How 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 * | string | Concrete 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 * | string | The trail's handle (`T-12`) or its id. |
item * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
reason | string | Why 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
suspectId * | string | A 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
files | boolean | Include 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
item * | string | The queue item to put on the trail (number or id). An item is on at most one trail. |
milestoneId | string | The 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 …
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
itemHandle * | string | A 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
itemHandle * | string | A queue item's per-project number (e.g. `12`, `#12` also accepted) or its full id. |
trails_link_pr
Link a pull request to a trail. Link a pull request to the trail as one of its *changes*. From then on the GitHub webhook records its pushes, the project's review agents score each push, and the merge gates read it. Linking a pull request the trail already has is a no-op; a pull request that belongs to a dif…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
prUrl * | string | The pull request's URL. |
item | string | The queue item whose run opened the PR (number or id), when there is one. Omitted, the change belongs to the trail itself. |
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;…
| Parameter | Type | Description |
|---|---|---|
limit * | integer | Page size (1–200). A page shorter than `limit` is the last one. |
cursor | string | Opaque cursor returned in the previous page's `next_cursor`. Omit for the first page. |
f | string | The table's filter conditions: a JSON array of `{ "f", "o", "v" }` objects, ANDed. See the operation description for the fields. |
health | string | A 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… |
mergedSince | string | ISO-8601 timestamp. Narrow to trails with a change merged at or after it. |
owner | string | Narrow 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. |
phase | string | Where 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… |
q | string | Case-insensitive substring filter across the trail's title and body. |
scope | string | A dashboard tab: `mine` (owned by the caller), `reviewing`, `ready`, `releasing`, `shipped`, `closed`, or `all` (the default, no narrowing). |
sort | string | A column id, `-` prefixed for descending (`-updated`). An unknown column is a `400`. |
touches | string | A file path (or path prefix) a merged change changed, or a resource key the trail links. Narrow to trails that touch it. |
type | string | What a trail is shipping. A `feature` trail is held to the rollback and measured release gates. |
view | string | `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 …
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
name * | string | The milestone's name. |
description | What the milestone delivers, or `null`. | |
position | integer | Where to put it in the trail's order, from `0`; the milestones at and after it move down one. Omitted, it goes last. |
targetDate | The 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
milestoneId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
milestoneId * | string | The milestone's id (`TrailMilestone.id`). |
description | What the milestone delivers; `null` clears it. | |
name | string | The milestone's name. |
position | integer | Move it to this place in the trail's order, from `0`; the others shift to make room. |
targetDate | The 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
reason | string | Why — 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
reason | string | Why — shown on the release timeline. |
resource | string | The 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 …
| Parameter | Type | Description |
|---|---|---|
handle * | string | The 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…
| Parameter | Type | Description |
|---|---|---|
findingId * | string | A 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 * | string | The trail's handle (`T-12`) or its id. |
reason * | string | Why the finding is out of scope for this trail. Recorded on the finding. |
title | string | A title for the new item. Defaults to the finding's title. |
type | string | What 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
suspectId * | string | A 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%)…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
proxy | string | What 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The 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)…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
kind * | string | The product entities a trail can ship or depend on. `gate` is a feature flag. |
resourceKey * | string | The entity's key (a gate or metric name, an experiment name, an i18n key). It must exist. |
role | string | What 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
id * | string | A 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 …
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
agentKeys | array | Which review agents to run. Omitted, every enabled one. |
prUrl | string | The 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
agent | string | Which coding agent to fire — `claude`, `cursor`, `copilot` or `jules`. Omitted, the project's coding-agent trigger. |
connectorId | string | A specific trigger connector to fire. Overrides `agent`. |
kind | string | Which 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 `… |
prompt | string | Extra 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…
| Parameter | Type | Description |
|---|---|---|
agentKey * | string | The review agent's key (from `ops review-agents list`). |
handle * | string | The trail's handle (`T-12`) or its id. |
rationale * | string | One or two sentences on the evidence behind the value. |
value * | number | 0–100 for a score agent; 1 (yes) or 0 (no) for a boolean one. |
agent | string | Your agent type, when you are the review agent. |
findings | array | Issues to fix, each with a severity, and a file and line when there is one. |
headSha | string | The commit reviewed. Omitted, the change's latest push. A sha that is not the latest push is recorded against that push, as history. |
prUrl | string | The change reviewed. Omitted, the trail's primary change. |
resources | array | Product 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. |
sessionId | string | Your 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…
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
before | string | ISO-8601 time; only events strictly before it (the `next` of the previous page). |
decisions | boolean | Only the decisions. |
limit | integer | Most events to return (1-200). Defaults to 50. |
trails_unlink_pr
Unlink a pull request from a trail. Detach a pull request from the trail. Its recorded pushes, evals, findings and approvals stay in history but no longer count toward the trail's gates. A merged change cannot be unlinked.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
prUrl * | string | The pull request's URL. |
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.
| Parameter | Type | Description |
|---|---|---|
handle * | string | The trail's handle (`T-12`) or its id. |
autopilot | object | Turn 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… |
body | string | |
goal | Replaces the trail's goal; `null` clears it. | |
health | Set the health by hand; `null` goes back to the derived health. | |
ownerConnectorId | The agent connector owner; `null` unassigns. | |
ownerId | The `users.id` of the person owner; `null` unassigns. | |
priority | Triage priority; `null` clears it. | |
repos | array | Replaces the trail's repo scope. |
startDate | The calendar day work starts (`YYYY-MM-DD`); `null` clears it. | |
targetDate | The calendar day the trail is meant to ship by (`YYYY-MM-DD`); `null` clears it. | |
title | string | |
type | string | What 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`.
| Parameter | Type | Description |
|---|---|---|
findingId * | string | A 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 * | string | The trail's handle (`T-12`) or its id. |
status * | string | A 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. |
agent | string | Your agent type, when an agent is resolving the finding. |
reason | string | Why — 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.
| Parameter | Type | Description |
|---|---|---|
sdk | string | SDK 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | Page key or snippet 'group/resource'. |
framework | string | Framework hint (substitutes {{FRAMEWORK}}). |
name | string | Resource name (substitutes {{RESOURCE_NAME}}). |
sdk | string | SDK 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).
| Parameter | Type | Description |
|---|---|---|
install | boolean | CLI only: write the skill to the local agent skills dir. |
sdk | string | SDK language. Defaults to the `sdk` recorded in the nearest `.shipeasy` when omitted. |