Reference
Management API
Create and control simulations from scripts, CI and your own tools. JSON in, JSON out.
Base URL and authentication
All endpoints live under https://api.slurry.io/v1. Authenticate with an account key in the Authorization header. Keys look like slurry_acct_live_..., carry scopes (simulations:read, simulations:write), and can be restricted to IP ranges and given an expiry. {id} in every path accepts the simulation id or its slug.
curl https://api.slurry.io/v1/simulations \
-H "Authorization: Bearer $SLURRY_ACCOUNT_KEY"Retries and the machine-readable spec
Send an Idempotency-Key header (up to 200 characters) on any POST: the first response is stored for 24 hours and replayed for retries, so a CI job that times out and retries never creates a second simulation. A body nested more than 512 levels deep is refused with 400 body_too_deep. A stored reply replays only to the API key that sent the request, while its member keeps the same role: the same Idempotency-Key from another key, even another of your own or a read-only one, or from the same key after its role in the organisation changed, answers 422 idempotency_key_reused, as a different body does. Two routes never store a reply: an evaluation, which simply runs again, and a canary plant, whose reply is the answer key; with a seed a retried plant gives the same tokens (and appends them to the records again), and the reply carries x-slurry-idempotency: not_stored. A new API key or signing secret (simulation, key, webhook and suite creates) is never stored: the stored reply holds "[redacted]" in its place, so a retry that gets the stored reply sees "apiKey": "[redacted]" with x-slurry-idempotency: redacted and no second simulation; create another key with POST /v1/simulations/{id}/keys. An owner or admin can set idempotencySecrets: "replay" with PUT /v1/settings to keep the old behaviour, where the reply is stored as sent for 24 hours and a retry gets the key or secret again. The OpenAPI document for this API is at https://api.slurry.io/v1/openapi.json and needs no key; so do /v1/library and /v1/scenarios.
Which engine build answered
Slurry ships new engine builds often, so every grade and every logged call names the build that served it: its commit, engineVersion. GET https://api.slurry.io/health needs no key and answers { "ok": true, "version": "<commit>", "engineVersion": "<commit>" } (the same value under both names). Each /v1/evaluate result carries engine.version and the simulations its checks read, each with the simulation a fork was made from (forkOf), and each request in the log carries engineVersion; requests logged before the engine recorded it show null. To compare a run with an earlier one, or replay it, fork the same base simulation and check the version is the same.
Errors
Errors use conventional HTTP status codes and one envelope, shared with simulation hosts. docs_url links to the code on the errors page, which lists every code.
{
"error": {
"type": "slurry_error",
"code": "ip_not_allowed",
"message": "Requests from 203.0.113.9 are not on this simulation's IP allow-list",
"docs_url": "https://slurry.io/docs/errors#ip_not_allowed",
"request_id": "req_01J8Z6Q4M2V7K3T9"
}
}Endpoints
/v1/librarySearch the library. Query: q, vertical, limit (max 200).
{
"data": [
{ "slug": "asana", "name": "Asana", "provider": "Asana",
"vertical": "project-management", "description": "...", "operations": 213 }
]
}/v1/simulationsList your simulations.
Scope simulations:read
{
"data": [
{ "id": "4f0c2a8e-...", "name": "Acme projects", "slug": "acme-projects",
"status": "running", "url": "https://<acme-projects>.slurry.io", ... }
]
}/v1/simulationsCreate a simulation from library (a slug) or spec (OpenAPI JSON or YAML as a string, up to 5 MB). Optional: name, slug, instructions (up to 2,000 characters), volume, seedRecords, ipAllowlist, ipRestrictionEnabled, useModel, useWorld (people and companies from your organisation's world; on by default when you have one). The creating IP is added to the allow-list automatically.
Scope simulations:writeReturns 201
{
"library": "asana",
"slug": "acme-projects",
"volume": { "tasks": 400, "projects": 12 },
"ipAllowlist": ["203.0.113.0/24"]
}{
"id": "4f0c2a8e-...",
"slug": "acme-projects",
"url": "https://<acme-projects>.slurry.io",
"status": "queued",
"apiKey": "slurry_sim_...",
"note": "Store the apiKey now: it is shown once. ..."
}/v1/simulations/{id}Everything about one simulation: status, API summary, collections with record counts, events, behaviour plan, access settings, keys (prefixes only), rules and webhooks. mcpUrl is its own MCP server, where the agent under test calls the API as tools with a simulation key (see the MCP docs). {id} accepts the id or the slug.
{
"id": "4f0c2a8e-...", "slug": "acme-projects", "status": "running",
"url": "https://<acme-projects>.slurry.io", "mcpUrl": "https://<acme-projects>.slurry.io/_slurry/mcp",
"api": { "title": "Asana", "version": "1.0", "basePath": "", "operations": 213 },
"collections": [ { "name": "tasks", "records": 400, "statusField": "status", ... } ],
"events": ["task.created", "task.updated", "task.deleted"],
"access": { "ipRestrictionEnabled": true, "ipAllowlist": ["203.0.113.0/24"] },
"keys": [...], "rules": [...], "webhooks": [...]
}/v1/simulations/{id}/statusA small status payload for polling: status, statusDetail, url, kind and expiresAt.
/v1/simulations/{id}Delete a simulation or fork and all of its data. Irreversible.
Scope simulations:writeReturns 204
/v1/simulations/{id}/pausePause: requests get 503 and the schedule stops.
Scope simulations:write
{ "ok": true }/v1/simulations/{id}/resumeResume a paused simulation.
Scope simulations:write
{ "ok": true }/v1/simulations/{id}/rebuildLibrary simulations pick up the library's latest version and re-seed. Send { "useWorld": true } to adopt your organisation's latest world (any simulation, uploaded specs too) or false to leave it. Records are replaced; URL, keys, access list, rules and webhooks are kept.
Scope simulations:write
{ "ok": true, "status": "queued", "library": "jira", "operations": 588, "worldVersion": 3 }/v1/worldYour organisation's world: the company, employees, customers (with contacts) and teams every simulation draws on. { "exists": false } until one is set up.
Scope simulations:read
{
"exists": true, "version": 3, "source": "model",
"company": { "name": "Northwind Logistics", "domain": "northwind.example", "industry": "Logistics", "country": "GB" },
"counts": { "employees": 40, "customers": 12, "contacts": 36, "teams": ["Operations", "Fleet", "Sales"] },
"cast": {
"employees": [{ "name": "Priya Shah", "email": "priya.shah@northwind.example", "title": "Head of Operations", "department": "Operations" }],
"customers": [{ "name": "Kestrel Retail", "domain": "kestrelretail.co.uk", "contacts": [{ "name": "Tom Hale", "email": "tom.hale@kestrelretail.co.uk" }] }],
"teams": [{ "name": "Operations", "department": "Operations" }]
}
}/v1/worldCreate or update the world; every save is a new version (GET /v1/world/versions). A new brief (or regenerate: true) has the model design the cast once; useModel: false builds it without AI. Edit companyName, domain, industry, country or the cast (employees, customers, teams) directly; emails always follow names and domains. The brief is reviewed first: while review is unavailable nothing is saved (503 moderation_unavailable). Needs the developer role or above.
Scope simulations:write
{ "brief": "Northwind Logistics is a 250-person UK freight company in Leeds...", "domain": "northwind.example" }{ "exists": true, "version": 1, "source": "model", "notes": [], "next": "New simulations use this world..." }/v1/simulations/{id}/resetPut the records back to the original seed, in the background. Rules, behaviour and webhooks are kept.
Scope simulations:write
{ "ok": true }/v1/simulations/{id}/fast-forwardRun the behaviour plan as if hours passed (0.25 to 720).
Scope simulations:write
{ "hours": 168 }{ "hours": 168, "changes": 412 }/v1/simulations/{id}/behaviourReplace the behaviour plan (/behavior also works). The plan is validated against the data model and limits; invalid steps are dropped. GET on the same path returns the current plan.
Scope simulations:write
{ "rules": [ { "id": "churn", "name": "Weekly churn", "everySeconds": 3600,
"enabled": true, "steps": [ { "kind": "delete", "collection": "tasks", "fraction": 0.01 } ] } ] }/v1/simulations/{id}/rulesAdd a response rule. See Rules.
Scope simulations:writeReturns 201
{
"name": "Slow search",
"kind": "latency",
"method": "GET",
"pathPattern": "/tasks*",
"config": { "latencyMs": 1500, "latencyJitterMs": 500 }
}/v1/simulations/{id}/behaviour/rulesAppend one behaviour rule, or replace the rule with the same id, and keep the rest of the plan. Use this to save a compiled behaviour rule.
Scope simulations:writeReturns 201
{ "rule": { "id": "blocked-tasks", "name": "Tasks get blocked", "everySeconds": 3600, "enabled": true,
"steps": [ { "kind": "transition", "collection": "tasks", "field": "status", "from": ["open"], "to": ["blocked"], "fraction": 0.05 } ] } }/v1/simulations/{id}/rulesEndpoint rules with id, enabled, priority, review status and expiry.
/v1/simulations/{id}/rules/{ruleId}Switch a rule on or off, or change its priority (lower runs first).
Scope simulations:write
{ "enabled": false, "priority": 10 }/v1/simulations/{id}/rules/{ruleId}Remove a rule.
Scope simulations:writeReturns 204
/v1/simulations/{id}/webhooksRegister a public https endpoint. events accepts exact names, *, or prefixes such as task.*.
Scope simulations:writeReturns 201
{ "url": "https://example.com/hooks/slurry", "events": ["task.*"] }{
"id": "b7e1...",
"url": "https://example.com/hooks/slurry",
"events": ["task.*"],
"secret": "whsec_...",
"note": "Verify deliveries with the Slurry-Signature header: ..."
}/v1/simulations/{id}/webhooksWebhooks on a simulation. Secrets are never returned.
/v1/simulations/{id}/webhooks/{webhookId}Stop sending events to a webhook.
Scope simulations:writeReturns 204
/v1/simulations/{id}/accessReplace the permanent IP allow-list (up to 50 IPs or CIDR ranges) or switch restriction on or off. For CI, prefer the additive, expiring entries below.
Scope simulations:write
{ "ipRestrictionEnabled": true, "ipAllowlist": ["203.0.113.7", "198.51.100.0/24"] }{ "ok": true }/v1/simulations/{id}/access/entriesAllow one IP or CIDR for ttlMinutes (1 to 10,080, default 60). Leave out cidr to allow the caller's own address. Additive, so parallel CI jobs never overwrite each other. Remove one early with DELETE /v1/simulations/{id}/access/entries?cidr=....
Scope simulations:writeReturns 201
{ "ttlMinutes": 30, "label": "GitHub Actions run 812" }/v1/simulations/{id}/keysIssue another simulation key, for example one per CI system.
Scope simulations:writeReturns 201
{ "name": "GitHub Actions" }{ "id": "c3f1...", "prefix": "slurry_sim_live_ab12", "apiKey": "slurry_sim_live_...", "note": "Shown once." }/v1/simulations/{id}/keysSimulation keys (prefixes only) with their ids.
/v1/simulations/{id}/keys/{keyId}Revoke a simulation key.
Scope simulations:writeReturns 204
/v1/simulations/{id}/records/{collection}Read records directly, bypassing the simulated API. Query: limit, offset. Write-only fields (a password in any common spelling, and its hash) are left out, as the vendor would leave them out.
/v1/simulations/{id}/records/{collection}/importPut your own records into a collection: fixtures, a CSV export, the customer case that broke production. records lists 1 to 500 objects in the shape the read above returns; a record without its id field gets a new id the way the simulation makes them. mode upsert (default) replaces a record with the same id or adds it; insert only adds and reports ids that exist as skipped. Writes go through the same path as API writes, so change events are recorded and webhooks fire. Fields starting __ are refused, and the plan's records per simulation apply to the whole import (402 plan_limit). Records get the same content review as seed records at creation: content that breaches the acceptable use policy is refused with 422 content_blocked naming the record (records.2) and collection, and nothing is written (503 moderation_unavailable while the review cannot run). MCP import_records, CLI slurry records import (JSON, JSON lines or CSV).
Scope simulations:write
{ "records": [{ "id": "C-1001", "name": "Renewal at risk", "owner": { "email": "ivan@acme.example" } }, { "name": "No id: one is made" }], "mode": "upsert" }{ "collection": "deals", "mode": "upsert", "created": 1, "updated": 1, "skipped": 0, "records": [{ "id": "C-1001", "result": "updated" }, { "id": "D-0042", "result": "created" }] }/v1/simulations/{id}/records/{collection}/defectsPlant known data defects in a collection (for prompt-injection text and fake secrets, POST /v1/simulations/{id}/records/{collection}/canaries takes count from 1 to 20, kinds of instruction and secret, seed and fields, and answers with the planted tokens and ready-made checks for /v1/evaluate), for testing an agent that cleans, matches, migrates or syncs records, and get the answer key. Kinds: duplicate (a new near copy of a record, with casing or spacing changed in one or two text fields), casing, whitespace, missing (a field emptied) and junk (a new row of placeholder text). count 1 to 50 (default 10), kinds (default all), fields (only these top-level fields), seed (the same defects again from the same records, for example after a reset). Only top-level fields change, never the id. Writes go through the import path: change events, webhooks and the plan's record limit apply. Grade the agent afterwards with verify_state or evaluate_run. MCP plant_defects, CLI slurry records defects.
Scope simulations:write
{ "count": 3, "kinds": ["duplicate", "casing", "missing"], "seed": "run-42" }{ "collection": "contacts", "seed": "run-42", "planted": 3, "defects": [
{ "kind": "duplicate", "recordId": "C-0431", "of": "C-0102", "changes": [{ "field": "email", "before": "ivan@acme.example", "after": "IVAN@ACME.EXAMPLE" }] },
{ "kind": "casing", "recordId": "C-0077", "field": "lastname", "before": "Okafor", "after": "OKAFOR" },
{ "kind": "missing", "recordId": "C-0219", "field": "phone", "before": "+44 20 7946 0012", "after": null }
] }/v1/simulations/{id}/forksCreate a fork: an isolated copy at <slug>--<name>. name 2 to 20 characters, optional ttlHours (0.25 to 168, default 24) and fromSnapshot. Delete a fork with DELETE /v1/simulations/{forkId}. See Worlds.
Scope simulations:writeReturns 201
{ "name": "pr-123", "ttlHours": 24 }{
"id": "9b2e...", "slug": "acme-projects--pr-123",
"url": "https://<acme-projects--pr-123>.slurry.io",
"expiresAt": "2026-09-26T10:00:00Z",
"note": "Forks accept the parent simulation API keys and IP allow-list."
}/v1/simulations/{id}/forksForks of a simulation with their URLs and expiry.
/v1/simulations/{id}/snapshotsSave the current records under a name (up to 60 characters).
Scope simulations:writeReturns 201
{ "name": "baseline" }/v1/simulations/{id}/snapshotsSaved snapshots.
/v1/simulations/{id}/snapshots/{snapshot}/restoreReplace the live records with the snapshot. Rules, behaviour and webhooks are unchanged.
Scope simulations:write
/v1/simulations/{id}/snapshots/{snapshot}/diffPer collection: records added, removed and changed since the snapshot. Collections with no changes are left out.
{ "snapshot": "baseline",
"collections": [ { "collection": "tasks", "added": 3, "removed": 1, "changed": 12 } ] }/v1/simulations/{id}/snapshots/{snapshot}Delete a snapshot.
Scope simulations:writeReturns 204
/v1/scenariosScenario packs with their parameters and defaults.
/v1/simulations/{id}/scenarios/{scenario}Run a scenario now. The body holds its parameters. data-purge deletes records: take a snapshot first.
Scope simulations:write
{ "minutes": 15 }/v1/simulations/{id}/rules/explainWhich rule a request would hit, and why each other rule would not. Takes method, path (with any query string), optional headers (at most 50), body (at most 64 KB) and session. Answers the operation, every rule in priority order with its verdict and detail, decides, mayDecide and latency. Serves, logs and counts nothing. See why did my rule not fire.
Scope simulations:read
{ "method": "POST", "path": "/rest/api/3/issue", "body": { "fields": { "summary": "x" } }, "session": "run-42" }/v1/simulations/{id}/rules/reset-countsStart the counts of counted rules again without resetting the data: failFirst (per session), passFirst, expireAfter (per credential) and the request rates behind perRps. rule limits it to one rule of this simulation (404 otherwise). seeds: true also restarts the seeded draw sequences, as a reset does, and cannot be combined with rule. Records, rules, webhooks and the log are not touched. See Rules.
Scope simulations:write
{ "rule": "7b1e0c2a-..." }{ "ok": true, "simulation": "acme-jira", "rule": "7b1e0c2a-...", "cleared": 3, "seeds": false }/v1/simulations/{id}/rules/lintRules that can never fire. Every rule in priority order with a verdict: ok, disabled, pending_review, expired, no_operation, method, collection or shadowed (with shadowedBy), and detail; also ok, problems and operationsChecked. Reads only. See rules that can never fire.
Scope simulations:read
/v1/simulations/{id}/rules/coverageWhich rules did a run actually hit? The simulation's rules against its request log, for one session or a since and before window (the newest 5,000 calls that name a rule): firedRules with hits and the statuses served, and notFired with why when the rule is disabled, pending_review or expired. requireAll (every rule that could have fired: disabled and held rules are excused, a temporary rule that expired unhit is not unless it expired before since) and require (rule names or ids, up to 50) make it a gate; without either it is a report and pass is true. A window past 5,000 rule calls fails a gate unless allowPartial. Reads only. See Rules.
Scope simulations:read
{ "session": "run-42", "requireAll": true }{ "simulation": "acme-jira", "session": "run-42", "truncated": false, "pass": false, "rules": 2, "fired": 1, "ruleCalls": 3, "otherRuleCalls": 0, "missingAll": ["search times out"], "firedRules": [{ "id": "...", "name": "create is rate limited", "kind": "error", "method": "POST", "pathPattern": "/rest/api/3/issue", "hits": 3, "statuses": [{ "status": 429, "count": 3 }] }], "notFired": [{ "id": "...", "name": "search times out", "kind": "fault", "method": "GET", "pathPattern": "/rest/api/3/search" }], "moreNotFired": 0 }/v1/simulations/{id}/rules/compileCompile a plain-English description (5 to 1,000 characters) into a response rule or behaviour rule and return it for review. Saves nothing. Uses your AI allowance.
Scope simulations:write
{ "description": "5% of open tasks become blocked every hour" }/v1/sessions/compareCompare two runs of an agent or system. baseline is { simulation, session }, or { report } with a saved session report, so its fork can be gone and it can live in your repository; current is { simulation, session }; callsTolerance is the share of extra calls allowed (default 0.2); allowPartial accepts a comparison on part of a long run. Answers pass, false on any regression: a write operation not called before, a new error status on an operation, or more writes, destructive calls, deleted records, retries, errors or calls. Also improvements, changes and truncated (a run over 5,000 requests or 200 operations is compared on part of its log, which is a regression unless allowPartial is true). Reads only.
/v1/simulations/{id}/sessions/{session}Report for requests sent with Slurry-Session: <session>: calls, writes, destructive calls, errors, retries, records touched and a recent journal.
/v1/simulations/{id}/webhook-faultsThe delivery faults this simulation has on.
/v1/simulations/{id}/webhook-faultsSet delivery faults for testing a handler: duplicateRate, dropRate, forgedRate, staleRate (0 to 1), delayMaxSeconds (at most 3600), seed. Forged and stale deliveries are extra copies signed with a throwaway key, never your secret. Replaces the whole setting; applies to events from now on. See delivery faults.
Scope simulations:write
/v1/simulations/{id}/webhook-faultsTurn delivery faults off.
Scope simulations:write
/v1/simulations/{id}/webhook-deliveriesWebhook deliveries, newest first (100 by default, limit up to 500), with event, status, attempts and the response code received. Filter by status (pending, sending, delivered, failed), event (exact, or a prefix ending in * such as issue.*), webhook (a webhook id), since, before and planted (any, accepted or refused: forged and stale deliveries, which carry planted and plantedResult).
/v1/simulations/{id}/webhook-deliveries/{delivery}One delivery with the payload Slurry sent (cut at 20,000 characters), its status, attempts, the response code your endpoint answered, the short reason it failed, when it is tried next, and the webhook URL. The signing secret is never returned.
{ "id": "9b2e...", "event": "issue.updated", "status": "failed", "attempts": 5, "responseStatus": 500, "reason": "HTTP 500", "payload": { ... }, "url": "https://example.com/hooks/jira" }/v1/simulations/{id}/webhook-deliveries/{delivery}/replaySend a delivery again, with the same payload and a fresh signature. At most 30 replays a minute per simulation.
Scope simulations:write
{ "replayId": "e41c...", "status": "pending" }/v1/simulations/{id}/eventsThe latest 100 data change events.
/v1/simulations/{id}/logsThe latest 100 requests: method, path, status, duration, source IP, operation, session and engineVersion, the engine build that served it (null on requests logged before the engine recorded it).
/v1/simulations/{id}/logs/exportA run's requests as a file, to open in browser tools or keep from CI. format is har (HAR 1.2) or jsonl (one JSON object a line), with optional session, since and before. The newest 5,000 in the window, oldest first and streamed; past that a HAR says truncated: true in its comment and JSON Lines ends with a line that says so. Bodies appear when the simulation keeps them, exactly as logged: the log copy of a body has any NUL character or half of a surrogate pair replaced by U+FFFD, and a body over 16,000 characters is kept as a preview. A HAR entry starts at the time the request arrived. The log keeps no headers, so a HAR has none, and the caller address is never exported. Each entry names the engine build that served it: engineVersion in JSON Lines, _engineVersion and the entry comment in a HAR (null, and no comment, on requests logged before the engine recorded it). At most two at a time per organisation (429). MCP: export_requests (at most 200). CLI: slurry requests export, which streams the file to disk (or stdout) as it arrives and, with --out, writes it under a temporary name and renames it at the end, so a failed download leaves no file.
Scope simulations:read
/v1/simulations/{id}/requests/searchFind the requests your system sent, newest first. Filters combine: method, path (a spec template such as /issues/{id} or a glob), status (a code or a class such as 4xx), operation, session, query and body conditions ({ "dotted.path": value }, or a list of { field, op, value }), bodyContains, since and before. includeBodies adds request and response bodies (each cut at 2,000 characters, at most 20 requests). Bodies are matched as logged: a NUL character or half of a surrogate pair is kept as U+FFFD, and a body over 16,000 characters as a preview. Searches the newest 5,000 requests in the window; requests appear about 2 seconds after they are served. Reads only.
Scope simulations:read
{ "method": "POST", "path": "/rest/api/3/issue", "body": { "fields.summary": "Renewal at risk" }, "includeBodies": true }{ "matched": 1, "scanned": 212, "truncated": false, "data": [{ "id": "6c1f...", "at": "2026-10-30T23:10:04.512Z", "method": "POST", "path": "/rest/api/3/issue", "status": 201, "durationMs": 38, "operation": "createIssue", "session": "run-42", "requestBody": { ... }, "responseBody": { ... } }] }/v1/simulations/{id}/requests/verifyCheck that your system made the calls it should have: the same filters plus expect ({ "count": 1 } exactly, or atLeast and/or atMost; default at least 1). On a fail, nearMisses lists the newest requests with the same method, path or operation and the filters each failed, with the values it had. complete is false when the window held more than 5,000 requests. Reads only. In conditions, in and nin take a list of 1 to 100 values; anything else is a 400, so a check cannot pass by excluding nothing. A comparison needs a value too: ne null, a string, a number or a boolean (not a list), contains a non-empty string, a number or a boolean, and gt, gte, lt and lte a number or a date; without one it is a 400 rather than a check that holds for everything or for nothing.
Scope simulations:read
{ "method": "POST", "path": "/rest/api/3/issue", "session": "run-42", "expect": { "count": 1 } }{ "pass": false, "matched": 0, "expected": "exactly 1", "complete": true, "nearMisses": [{ "request": { "method": "POST", "path": "/rest/api/3/issue", "status": 400, ... }, "failed": [{ "filter": "session", "expected": "run-42", "actual": null }] }] }/v1/requests/trajectoryDid a run's calls happen in the right order, across simulations? Reads one Slurry-Session from each simulation in simulations (up to 20), merges the calls oldest first by the time they were served and judges them against steps (up to 50, each with simulation, method, path, status, operation, query or name). mode is contains (default: every step, in this order, others allowed between), strict (exactly these, one to one), unordered (every step has its own call) or within (no call outside the steps). ignore drops calls first. No calls is a fail; a run past 5,000 calls on a simulation or 20,000 in all fails unless allowPartial. Also a check of type trajectory in /v1/evaluate.
Scope simulations:read
{ "session": "run-42", "simulations": ["acme-stripe", "acme-hubspot"], "mode": "contains", "steps": [{ "simulation": "acme-stripe", "method": "POST", "path": "/v1/invoices", "status": "2xx" }, { "simulation": "acme-hubspot", "method": "POST", "path": "/crm/v3/objects/notes" }], "ignore": [{ "method": "GET" }] }{ "session": "run-42", "mode": "contains", "simulations": ["acme-stripe", "acme-hubspot"], "calls": 7, "truncated": false, "pass": false, "considered": 3, "ignored": 4, "steps": [{ "step": 0, "label": "acme-stripe POST /v1/invoices status 2xx", "matched": { "simulation": "acme-stripe", "at": "...", "method": "POST", "path": "/v1/invoices", "status": 200, "durationMs": 12, "operation": "PostInvoices" } }, { "step": 1, "label": "acme-hubspot POST /crm/v3/objects/notes", "matched": null }], "failedStep": { "step": 1, "label": "acme-hubspot POST /crm/v3/objects/notes", "nearMisses": [] } }/v1/simulations/{id}/requests/coverageWhich of the vendor's operations did a run call? The simulation's spec against its request log, for one session or a since and before window (the newest 5,000 calls). An operation is covered by a 2xx or 3xx reply, or by any reply with countErrors. minPercent and require (operation ids) make it a gate; without either it is a report and pass is true. A window past 5,000 calls fails a gate unless allowPartial.
Scope simulations:read
{ "session": "run-42", "minPercent": 60, "require": ["createIssue"] }{ "simulation": "acme-jira", "session": "run-42", "truncated": false, "pass": false, "operations": 180, "covered": 12, "percent": 6.7, "calls": 41, "matchedCalls": 40, "minPercent": 60, "missingRequired": [], "called": [{ "id": "createIssue", "method": "POST", "path": "/rest/api/3/issue", "calls": 9, "ok": 9, "errors": 0 }], "uncovered": [{ "id": "deleteIssue", "method": "DELETE", "path": "/rest/api/3/issue/{issueIdOrKey}" }], "moreUncovered": 67, "unmatched": [{ "call": "GET /rest/api/2/issue", "count": 1 }], "moreUnmatched": 0 }/v1/simulations/{id}/requests/paginationDid a client read every page, once? Follows each walk through a paged list in one Slurry-Session: a first page (no paging parameter, or the one the walk began with, such as page=1 or startAt=0), then the calls of the same operation and filter (for a POST search, the same body) that carry a cursor, page, offset or the vendor's token (Notion start_cursor, AWS nextToken, Shopify page_info, CouchDB bookmark, scroll_id, ExclusiveStartKey and vidOffset among them). A next page given as a link in the reply, such as Salesforce nextRecordsUrl or a links.next path, is followed: a later GET of exactly that path is the next page of the same walk. cursor_loop (a page asked for again after a reply that said more remained, or the first page read three times in a row, each reply saying more) and stopped_early (the last page said more remained: has_more, isLast: false, a next token or link, or a total past what was read) fail it; no_paging (one call of a list that said more remained) warns, and fails with strict; ended_on_error (the last call of a walk failed) warns. The log keeps no headers, so paging only in a Link header cannot be seen, and without logged bodies nothing can (unreadable). A run past 5,000 calls or 1,000 walks fails unless allowPartial. At most 20 a minute with other heavy checks. Read-only.
Scope simulations:read
{ "session": "run-42" }{ "pass": false, "session": "run-42", "calls": 9, "truncated": false, "listCalls": 6, "counts": { "stopped_early": 1 }, "walks": [{ "operation": "searchIssues", "method": "GET", "path": "/rest/api/3/search", "calls": 2, "pages": ["(first page)", "startAt=50"], "complete": false, "findings": [{ "kind": "stopped_early", "severity": "fail", "detail": "Stopped after 2 pages while the last reply said more remained" }] }], "moreWalks": false, "unreadable": 0 }/v1/simulations/{id}/requests/retriesDid a client back off, or hammer? Judges one Slurry-Session's retries after a 429, a 5xx or a dropped connection: no_backoff (sooner than minGapMs, default 200), ignored_retry_after (with retryAfterSeconds; the log keeps no headers, so say what the simulated 429 asked for) and retry_storm (over maxAttempts, default 8) fail it; gap_not_growing and write_retried warn. Read-only.
Scope simulations:read
{ "session": "run-42", "retryAfterSeconds": 30 }{ "pass": false, "session": "run-42", "calls": 14, "retries": 3, "truncated": false, "counts": { "ignored_retry_after": 1 }, "chains": [{ "operation": "createIssue", "method": "POST", "path": "/rest/api/3/issue", "attempts": 3, "statuses": [429, 429, 429, 201], "gapsMs": [120, 240, 480], "recovered": true, "findings": [{ "kind": "ignored_retry_after", "severity": "fail", "detail": "..." }] }], "moreChains": false }/v1/simulations/{id}/requests/validateCheck that what your system sent would have been accepted by the real vendor. Every request matching the same filters as search is checked against its operation in the vendor spec: path and query parameters (required, type, enum, format) and the JSON body (required properties, types, enums, formats, lengths and bounds, nested objects and arrays, oneOf/anyOf/allOf, and unknown properties where the spec allows none). A call to a path the spec does not have is unknown_operation. pass is true when nothing would be rejected; data lists the requests with problems (at most limit, default 20), each problem with where, rule, message, expected and actual; summary counts the commonest. Headers are not checked, and bodies only when the simulation keeps them (bodiesChecked). Searches the newest 5,000 requests in the window. Reads only.
Scope simulations:read
{ "session": "run-42" }{ "pass": false, "checked": 14, "withProblems": 1, "bodiesChecked": true, "summary": [{ "operation": "createIssue", "where": "fields.priority.name", "rule": "enum", "count": 1 }], "data": [{ "request": { "method": "POST", "path": "/rest/api/3/issue", "status": 201, ... }, "problems": [{ "where": "fields.priority.name", "rule": "enum", "message": "fields.priority.name is not one of the allowed values", "expected": ["Highest", "High", "Medium", "Low", "Lowest"], "actual": "Urgent" }] }] }/v1/records/reconcileDoes system B now match system A, after a sync or an agent run? Joins a collection from each of two simulations on a key (strings trimmed and compared case-insensitively unless ignoreCase is false) and reports missing (in from, not in to), mismatched (a compare pair differs; 5 and "5" agree), duplicates (a key more than once in to, unless allowDuplicates) and extra (in to, not in from; fails only with direction: "both"). Selecting no records in from fails unless allowEmpty; a side past 20,000 records or 8 seconds fails unless allowPartial. Internal and write-only fields (a password in any common spelling, such as Password, passwd, user_password or Password__c, and its hash or hash function, in any case) cannot be named or shown. Also a check of type reconcile in /v1/evaluate.
Scope simulations:read
{ "from": { "simulation": "acme-hubspot", "collection": "contacts", "key": "properties.email" }, "to": { "simulation": "acme-zendesk", "collection": "users", "key": "email" }, "compare": [{ "from": "properties.firstname", "to": "name" }] }{ "pass": false, "direction": "from_to", "from": { "simulation": "acme-hubspot", "collection": "contacts", "read": 40, "selected": 40, "noKey": 0, "complete": true }, "to": { "simulation": "acme-zendesk", "collection": "users", "read": 39, "selected": 39, "noKey": 0, "complete": true }, "joined": 39, "missing": 1, "mismatched": 1, "duplicates": 0, "extra": 0, "fromDuplicates": 0, "missingSample": [{ "id": "101", "key": "ada@example.test" }], "mismatchedSample": [{ "key": "bo@example.test", "fromId": "102", "toId": "7", "differences": [{ "from": "properties.firstname", "to": "name", "fromValue": "Bo", "toValue": "Robert" }] }], "duplicateSample": [], "extraSample": [] }/v1/simulations/{id}/records/invariantA run invariant: did a number only move one way across the writes, which the end state can hide (an invoice total that dropped and was put back, a stock count that went down)? Reads the record as served after each create and update of collection, oldest first, and fails when field (a dotted path, as the records list shows it) went down, or up with direction: "down", or stayed the same with strict. where (the forms of records verify) picks the records at each write, ids picks them by id, session, since and before narrow the writes. Numbers and numeric strings are judged; other values are counted as notNumbers. Writes in one request are judged in the order they were made. A delete carries no value, so a record made again under the same id is compared with its last value. Returns pass, records, writes, violations and up to 5 broken writes. Fails when no write carried the field unless allowEmpty, and past 20,000 writes, 64 MB or 8 seconds unless allowPartial. Internal and write-only fields cannot be named. Also a check of type invariant in evaluate; MCP verify_invariant; CLI slurry state invariant.
Scope simulations:read
{ "collection": "Invoices", "field": "AmountPaid", "session": "run-42" }{ "simulation": "acme-xero--run-42", "collection": "Invoices", "field": "AmountPaid", "direction": "up", "strict": false, "pass": false, "records": 3, "writes": 7, "violations": 1, "notNumbers": 0, "scanned": 7, "complete": true, "broken": [{ "id": "INV-0042", "from": 120, "to": 0, "fromAt": "2026-11-23T22:41:03.112Z", "toAt": "2026-11-23T22:41:04.870Z", "session": "run-42" }] }/v1/simulations/{id}/records/verifyAn answer key over a simulation's records after an agent or your system ran, usually on a fork. collection names where to look; where selects records ({ "dotted.path": value }, or a list of { field, op, value } with the same operators as request search) and ids picks them by id; each lists conditions every selected record must meet; expect says how many ({ "count": 1 } exactly, or atLeast and/or atMost; default at least 1). Returns pass, matched, up to 10 records with the fields you named, failures (records that broke each, with what they had) and, when the count is wrong, nearMisses: the records that met most of where and what they had instead. Field names are as the records list returns them; internal fields cannot be used. Reads at most 20,000 records (complete is false beyond that). Reads only.
Scope simulations:read
{ "collection": "issue", "where": { "fields.summary": "Renewal at risk" }, "each": { "fields.status.name": "Done" }, "expect": { "count": 1 } }{ "pass": false, "matched": 1, "expected": "exactly 1", "countOk": true, "failedEach": 1, "complete": true, "records": [{ "id": "10042", "fields.summary": "Renewal at risk", "fields.status.name": "In Progress" }], "failures": [{ "record": { "id": "10042", ... }, "failed": [{ "field": "fields.status.name", "expected": "Done", "actual": "In Progress" }] }] }/v1/evaluateGrade a run in one call, for agent evaluations and CI. checks lists 1 to 20 checks, run in order: { "type": "requests", ... } takes the filters and expect of requests verify, { "type": "valid", ... } the filters of requests validate (passes when nothing would be rejected), { "type": "state", ... } the collection, where, ids, each and expect of records verify, { "type": "invariant", ... } the collection, field and direction of records invariant. Each check may carry name, simulation (id or slug; default the top-level simulation) and weight (1 to 100). The top-level session (the Slurry-Session your agent sent), since and before reach every requests and valid check that does not set its own. Returns pass (the score, passed weight over total, reaches passMark, default 1, and no check was skipped), counts, and for each check its status (pass, fail, error when it could not run, skipped after 30 seconds), a one-line summary and the check's own result. A check on a simulation your organisation does not own is an error (not found). A passMark below 1 tolerates errors as well as fails, so keep it at 1 when a misspelt simulation should fail the run. At most two evaluations at a time per organisation. Reads only, so an Idempotency-Key is ignored and a retry runs it again. { "type": "trajectory", ... } checks the order of the run's calls across simulations (see /v1/requests/trajectory), and { "type": "reconcile", ... } joins two simulations' records (see /v1/records/reconcile). Every result names the engine build that graded it (engine.version) and lists the simulations its checks read, once each in the order first named, with id, slug and forkOf (the simulation a fork was made from, otherwise null); a simulation your organisation does not own is never listed.
Scope simulations:read
{ "simulation": "acme-jira--run-42", "session": "run-42", "checks": [{ "type": "requests", "name": "created the issue", "method": "POST", "path": "/rest/api/3/issue", "expect": { "count": 1 } }, { "type": "valid" }, { "type": "state", "collection": "issue", "where": { "fields.summary": "Renewal at risk" }, "each": { "fields.status.name": "Done" } }] }{ "pass": false, "score": 0.667, "passMark": 1, "passed": 2, "failed": 1, "errors": 0, "skipped": 0, "durationMs": 412, "engine": { "version": "3a642a1c..." }, "simulations": [{ "id": "6f1e...", "slug": "acme-jira--run-42", "forkOf": "0b9d..." }], "checks": [{ "name": "created the issue", "type": "requests", "simulation": "acme-jira--run-42", "status": "pass", "weight": 1, "summary": "POST /rest/api/3/issue in session run-42: 1 matched, expected exactly 1", "result": { ... } }, ...] }/v1/feedbackReport that a simulation does not behave like the real vendor API. kind is one of wrong_shape, wrong_status, missing_endpoint, unrealistic_data, wrong_behaviour, docs or other. Pass simulation (id or slug) or library (a library slug), and the operation, the x-request-id of the bad response and what you expected versus what you got: the matching request log is captured with the report. Any member may report (read scope); at most 10 reports an hour and 40 a day each.
Returns 201
{ "kind": "wrong_shape", "title": "search omits total", "body": "GET /rest/api/3/search has no total field", "simulation": "acme-jira", "method": "GET", "path": "/rest/api/3/search", "requestId": "req_4f0c...", "expected": "{ "total": 42 }", "actual": "no total" }{ "id": "8d2e...", "status": "new", "library": "jira", ... }/v1/feedbackYour organisation's reports, newest first, with status (new, triaged, in_progress, fixed, wont_fix, duplicate), resolution and fixedIn. Filter with ?simulation= and ?status=.
/v1/usagePlan, subscription status, remaining AI allowance, prepaid credit balance and this month’s usage.
{
"plan": "team", "status": "active", "creditUsd": 7.42,
"requestsThisMonth": 18230, "requestLimit": 500000,
"simulations": 4, "simulationLimit": 15
}/v1/settingsYour organisation's settings. idempotencySecrets is redact (the default) or replay: see Retries.
Scope simulations:read
{ "idempotencySecrets": "redact" }/v1/settingsChange your organisation's settings; omitted settings keep their value. Needs the owner or admin role, and only ever changes the organisation the key belongs to. Also slurry settings idempotencySecrets replay and MCP update_settings.
Scope simulations:write
{ "idempotencySecrets": "replay" }{ "idempotencySecrets": "replay" }