projects_upsert
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.
輸入參數bindnamepathdomain必填
Report whether ~/.config/shipeasy/config.json holds a valid CLI token. Returns { authenticated, project_id, base_url, user_email }.
無需輸入參數。
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.
無需輸入參數。
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…
輸入參數confirm必填
api_keys_create
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.
輸入參數env必填nametype必填scopesexpiresInDays
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…
輸入參數id必填
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`.
輸入參數qlimitstatus
errors_resolve
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…
輸入參數id必填
errors_series
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…
輸入參數id必填to必填from必填bucket
i18n_drafts_create
I18n Drafts Create
Create a translation draft. Stage a new translation draft against a target profile, optionally seeding its keys from a source profile.
輸入參數name必填listTokenprofile_id必填source_profile_id
i18n_drafts_list
I18n Drafts List
List translation drafts. List staged translation drafts awaiting review/publish.
無需輸入參數。
i18n_drafts_update
I18n Drafts Update
Update a translation draft. Transition a draft's lifecycle state (`open` / `merged` / `abandoned`).
輸入參數statusdraftId必填
i18n_keys_list
I18n Keys List
List i18n keys. List keys for a profile, optionally filtered to a name `prefix`.
輸入參數qlimitoffsetprefixprofile_id
i18n_keys_push
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`.
輸入參數keys必填forceprofile_id必填
i18n_keys_set
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'…
輸入參數key必填value必填profiledescription
i18n_keys_update
I18n Keys Update
Update one i18n key. Overwrite a single existing key's value — the only overwrite path.
輸入參數id必填value必填variablesdescriptionexperimentId
i18n_profiles_create
I18n Profiles Create
Create an i18n profile. Create a locale profile. `name` is the stable handle (e.g. `fr:prod`).
輸入參數name必填listToken
i18n_profiles_list
I18n Profiles List
List i18n profiles. Returns every locale profile in the project (e.g. `en:prod`, `fr:prod`).
無需輸入參數。
i18n_profiles_publish
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.
輸入參數profileId必填
metrics_archive
Metrics Archive
Archive a metric. Soft-deletes (archives) the metric. Returns `409` if it is attached to a running experiment — stop those experiments first.
輸入參數id必填
metrics_create
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.
輸入參數name必填unitqueryfolderdisplayquery_irdirectionlistToken另有 4 個
metrics_events_approve
Metrics Events Approve
Approve a pending event. Promotes a pending (auto-discovered) event to usable so metrics can query it (`pending` → `0`).
輸入參數id必填folderpropertiesdescription
metrics_events_archive
Metrics Events Archive
Archive an event. Soft-deletes (archives) the event. Returns `409` if any metric still references it — delete those metrics first.
輸入參數id必填
metrics_events_create
Metrics Events Create
Register an event. Registers a new event name and (optionally) its typed properties. Only `name` is required.
輸入參數name必填folderlistTokenpropertiesdescription
metrics_events_get
Metrics Events Get
Get an event. Returns one event's full detail. Resolves by exact id, unique id-prefix, or exact (unique) name.
輸入參數id必填
metrics_events_list
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.
輸入參數q
metrics_events_update
Metrics Events Update
Update an event. Partial update of an event's folder, description, or properties. `name` is immutable.
輸入參數id必填folderpropertiesdescription
metrics_experiments
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).
輸入參數id必填
List metrics. Returns every metric in the project (not paginated) — name, folder, source event, the typed `queryIr`, and the rendered query.
輸入參數q
metrics_series
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…
輸入參數id必填to必填from必填bucket
Get a metric. Fetch one metric by its id or name, including the rendered DSL query and the typed IR.
輸入參數id必填
metrics_unarchive
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.
輸入參數id必填
metrics_update
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`.
輸入參數id必填unitqueryfolderdisplayquery_irdirectionevent_name另有 3 個
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).…
輸入參數agentrunIdhandle必填launchtakeoversessionId
ops_activity_list
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…
輸入參數itemfieldlimitsinceuntil
ops_agents_list
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
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.
輸入參數id必填
ops_alerts_channels
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
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`.
輸入參數kindname必填sigmanotifyenabledmetricId必填rangeMaxrangeMin另有 17 個
ops_alerts_list
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.
輸入參數q
ops_alerts_update
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).
輸入參數id必填kindnamesigmanotifyenabledrangeMaxrangeMin另有 16 個
ops_attachments_create
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…
輸入參數urlkindhandle必填filenamemimeTypecontentBase64
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…
輸入參數tagstitle必填trailnotifystatuscontextpageUrlpriority另有 10 個
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…
輸入參數tagstype必填title必填trailnotifystatuscontextpageUrl另有 13 個
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…
輸入參數tagstitle必填trailnotifystatuscontextpageUrluseCase另有 8 個
ops_fired_alerts_list
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`.
輸入參數status
ops_fired_alerts_update
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.
輸入參數id必填agentstatusassigneeId
Get one queue item. Fetch a single queue item by its per-project `number` or full id.
輸入參數handle必填include
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…
輸入參數handle必填statuspriority
ops_investigations_create
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…
輸入參數kind必填agentmodelprUrlhandle必填qaNotessourcessummary另有 12 個
ops_investigations_list
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).
輸入參數handle必填
ops_investigations_update
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…
輸入參數kindmodelprUrlhandle必填qaNotessourcessummaryfindings另有 9 個
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…
輸入參數prUrlhandle必填unlinkprNumber必填
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 …
輸入參數handle必填addBlockingduplicateOfaddBlockedByremoveBlockingremoveBlockedBy
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…
輸入參數typelimit必填ownerscopeoffsetstatuspriorityreporter另有 2 個
ops_memory_search
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 (…
輸入參數qitemkindlimitpathstrail
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.
輸入參數hrefstepstitle必填summary必填dedupeKey
ops_qa_notes_create
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…
輸入參數body必填kind必填agenthandle必填verdictlistToken
ops_qa_notes_list
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 …
輸入參數kindhandle必填
ops_qa_questions_answer
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…
輸入參數agentanswer必填handle必填questionId必填
ops_qa_questions_ask
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…
輸入參數agenthandle必填question必填
ops_qa_questions_list
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`.
輸入參數handle必填status
ops_questions_answer
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…
輸入參數otherhandle必填selectedquestionId必填
ops_questions_ask
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…
輸入參數agentrunIdhandle必填deliveryquestions必填
ops_questions_cancel
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.
輸入參數handle必填questionId必填
ops_questions_list
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…
輸入參數handle必填status
ops_review_agents_archive
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.
輸入參數agentId必填
ops_review_agents_create
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 …
輸入參數keynamepresetenabledtriggerblockingpolaritylistToken另有 5 個
ops_review_agents_list
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
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.
輸入參數nameagentId必填enabledtriggerblockingpolaritythresholdvalueType另有 3 個
ops_routing_rules_create
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…
輸入參數tagsusertypesstatusenabledpriorityconnectorlistToken另有 3 個
ops_routing_rules_list
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
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
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).
輸入參數copyplanevals必填reposchecks必填guardedrolloutmeasured另有 14 個
ops_trigger_create_claude
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…
輸入參數nametokenconfig必填eventsenabled
ops_trigger_create_copilot
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…
輸入參數nametoken必填config必填eventsenabled
ops_trigger_create_cursor
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…
輸入參數nameapiKey必填config必填eventsopsKey必填enabled
ops_trigger_create_jules
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…
輸入參數nameapiKey必填config必填eventsopsKey必填enabled
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…
輸入參數titlehandle必填notifystatususeCaseprioritydescriptionactualResult另有 3 個
projects_current
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
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.
輸入參數id必填nameslugdomaintimezonedefaultEnvdefaultMeimoduleUser另有 25 個
release_configs_archive
Release Configs Archive
Delete a dynamic config. Soft-deletes the config and rebuilds the project's flags KV blob.
輸入參數id必填
release_configs_create
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.
輸入參數devname必填prodvaluefolderschema必填staginglistToken另有 1 個
release_configs_get
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.
輸入參數id必填
release_configs_list
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.
輸入參數qlimitcursor
release_configs_update
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…
輸入參數id必填devprodvaluefolderschemastaging
release_configs_update_schema
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.
輸入參數id必填schema必填
release_experiments_archive
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.
輸入參數id必填
release_experiments_create
Release Experiments Create
Create an experiment. Creates a new experiment in `draft` status. `name`, `universe`, and `groups` are required; everything else has sensible defaults.
輸入參數tagname必填saltfoldergroups必填paramsaudienceuniverse必填另有 16 個
release_experiments_get
Release Experiments Get
Get one experiment. Returns the full experiment row including groups, params, allocation, and lifecycle timestamps.
輸入參數id必填
release_experiments_list
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.
輸入參數qlimitcursorstatus
release_experiments_readout_create
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" …
輸入參數id必填kind必填acknowledgedCaveatIdsrequireAllAcknowledged
release_experiments_readout_get
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.
輸入參數id必填readoutId必填
release_experiments_reanalyze
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.
輸入參數id必填
release_experiments_restore
Release Experiments Restore
Restore an archived experiment (→ draft). Drives the experiment lifecycle. Allowed transitions:
輸入參數id必填
release_experiments_results
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.
輸入參數id必填
release_experiments_set_metrics
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`).
輸入參數id必填metrics必填
release_experiments_start
Release Experiments Start
Start an experiment (draft → running). Drives the experiment lifecycle. Allowed transitions:
輸入參數id必填
release_experiments_stop
Release Experiments Stop
Stop a running experiment. Drives the experiment lifecycle. Allowed transitions:
輸入參數id必填
release_experiments_timeseries
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.
輸入參數id必填metric
release_experiments_universes_archive
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.
輸入參數id必填
release_experiments_universes_create
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).
輸入參數name必填folderlistTokenunit_typedescriptionparam_schemaholdout_rangerecommended_headroom
release_experiments_universes_list
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.
輸入參數qlimitcursor
release_experiments_universes_update
Release Experiments Universes Update
Update a universe. Partial update. Only `holdout_range` is mutable — `name` and `unit_type` are immutable after create.
輸入參數id必填folderdescriptionparam_schemaholdout_rangerecommended_headroom
release_experiments_update
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.
輸入參數id必填tagnamesaltfoldergroupsparamsaudience另有 16 個
release_flags_activity
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).
輸入參數id必填limit
release_flags_archive
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.
輸入參數id必填
release_flags_attributes_archive
Release Flags Attributes Archive
Archive a targeting attribute. Soft-deletes (archives) a targeting attribute.
輸入參數id必填
release_flags_attributes_create
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`.
輸入參數name必填type必填requiredsdk_pathlistTokendescriptionenum_values
release_flags_attributes_get
Release Flags Attributes Get
Get a targeting attribute. Fetch one targeting attribute by id.
輸入參數id必填
release_flags_attributes_list
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.
輸入參數q
release_flags_attributes_update
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.
輸入參數id必填typerequiredsdk_pathdescriptionenum_values
release_flags_create
Release Flags Create
Create a feature gate. Creates a new gate. Default `enabled: true` at the supplied `rollout_pct` (`0` = fully dark).
輸入參數name必填salttypegrouprulesstacktitlefolder另有 6 個
release_flags_disable
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.
輸入參數id必填
release_flags_enable
Release Flags Enable
Enable a gate. Sets `enabled: true`. The current `rollout_pct` is preserved.
輸入參數id必填
release_flags_get
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`.
輸入參數id必填
release_flags_list
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.
輸入參數qlimitcursor
release_flags_templates_archive
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.
輸入參數id必填
release_flags_templates_create
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.
輸入參數autoname必填rules必填categoryicon_keylistTokendescription
release_flags_templates_get
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.
輸入參數id必填
release_flags_templates_list
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 …
輸入參數qquery
release_flags_templates_update
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.
輸入參數id必填autonamerulescategoryicon_keydescription
release_flags_update
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.
輸入參數id必填typegrouprulesstacktitlefolderenabled另有 4 個
release_flags_whitelist
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.
輸入參數id必填
release_flags_whitelist_add
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.
輸入參數id必填attrentries必填
release_flags_whitelist_remove
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.
輸入參數id必填entries必填
release_flags_whitelist_set
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.
輸入參數id必填attrentries必填
release_killswitch_archive
Release Killswitch Archive
Delete a killswitch. Soft-deletes the killswitch and rebuilds the project's flags KV blob so SDKs stop seeing it.
輸入參數id必填
release_killswitch_create
Release Killswitch Create
Create a killswitch. Creates a new killswitch with `value` (default `false`) applied to **every** env at version 1.
輸入參數name必填valuefolderswitcheslistTokendescription
release_killswitch_get
Release Killswitch Get
Get one killswitch. Returns the killswitch metadata plus the latest published `value`/`switches`/`version` per env.
輸入參數id必填
release_killswitch_list
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.
輸入參數qlimitcursor
release_killswitch_set
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.
輸入參數id必填env必填value必填switchKey必填
release_killswitch_set_value
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.
輸入參數id必填env必填value必填
release_killswitch_toggle
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.
輸入參數id必填envvalueswitchKey
release_killswitch_unset
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.
輸入參數id必填env必填switchKey必填
release_killswitch_update
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.
輸入參數id必填valuefolderswitchesdescription
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.
輸入參數entityId必填entityType必填
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.
輸入參數q
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…
輸入參數tags必填entityId必填entityType必填
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.
輸入參數addremoveentityId必填entityType必填
trails_attribute
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,…
輸入參數item必填handle必填evidence必填confidence必填
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…
輸入參數handle必填reason
trails_confirm_suspect
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.
輸入參數handle必填suspectId必填
trails_create
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…
輸入參數bodygoaltyperepostitle必填healthintakeownerId另有 7 個
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…
輸入參數fileshandle必填
trails_items_add
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…
輸入參數item必填handle必填milestoneId
trails_items_move
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 …
輸入參數handle必填itemHandle必填milestoneId必填
trails_items_remove
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.
輸入參數handle必填itemHandle必填
trails_link_pr
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…
輸入參數itemprUrl必填handle必填
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):…
輸入參數fqsorttypeviewlimit必填ownerphase另有 5 個
trails_milestones_add
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 …
輸入參數name必填handle必填positiontargetDatedescription
trails_milestones_remove
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.
輸入參數handle必填milestoneId必填
trails_milestones_update
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.
輸入參數namehandle必填positiontargetDatedescriptionmilestoneId必填
trails_pause_autopilot
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…
輸入參數handle必填reason
trails_pause_rollout
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…
輸入參數handle必填reasonresource
trails_plan_revisions
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 …
輸入參數handle必填
trails_promote_finding
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…
輸入參數typetitlehandle必填reason必填findingId必填
trails_reject_suspect
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.
輸入參數handle必填suspectId必填
trails_release_facts
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%)…
輸入參數proxyhandle必填
trails_reopen
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.
輸入參數handle必填
trails_resources_add
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)…
輸入參數kind必填rolehandle必填resourceKey必填
trails_resources_list
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…
輸入參數handle必填
trails_resources_remove
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.
輸入參數id必填handle必填
trails_review
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 …
輸入參數prUrlhandle必填agentKeys
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…
輸入參數kindagenthandle必填promptconnectorId
trails_submit_eval
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…
輸入參數agentprUrlvalue必填handle必填headShaagentKey必填findingsrationale必填另有 2 個
trails_submit_plan
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…
輸入參數plan必填handle必填release必填sourcessummarybreakdownmarketing
trails_timeline
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…
輸入參數limitbeforehandle必填decisions
trails_unlink_pr
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.
輸入參數prUrl必填handle必填
trails_update
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.
輸入參數bodygoaltyperepostitlehandle必填healthownerId另有 5 個
trails_update_finding
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`.
輸入參數agenthandle必填reasonstatus必填findingId必填
trails_update_plan
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 …
輸入參數planhandle必填releasebreakdownmarketing
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
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`.
無需輸入參數。
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.
輸入參數sdk
Fetch one SDK doc page or snippet. Fetch one feature page (`flags`, `experiments`, …) or nested snippet (`release/experiments`, …), substituting declared {{placeholders}} from caller args.
輸入參數sdknamepath必填framework
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).
輸入參數sdkinstall