Loading API reference…
/organizations/{organizationId}/replays/timelineEntries available in [from, to), at most 1,000 per page, in available-time order. The first page adds the state at from and the entries it names; fold forward with foldReplayState from @oblive/types/replay-timeline. A T after settledThrough is provisional. Late arrivals describe the range but became available later; they are display only. Read-only, and never reads a live provider.
replayReadToken Dedicated server-only credential held by the backend and the frontend server; never provisioned to workers or browsers.
In: header
uuidRange start, inclusive, millisecond precision.
date-timeRange end, exclusive; at most 92 days after from.
date-timeThe previous page's pagination.nextCursor.
application/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replays/timeline?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"{ "success": true, "data": { "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "from": null, "to": null, "timezone": "string", "foldVersion": 1, "settledThrough": null, "start": { "at": null, "rows": { "property1": { "entryId": "string", "availableAt": null, "status": "in_progress", "rank": [ 0 ], "content": { "entryId": "string", "availableAt": null } }, "property2": { "entryId": "string", "availableAt": null, "status": "in_progress", "rank": [ 0 ], "content": { "entryId": "string", "availableAt": null } } } }, "startEntries": [ { "id": "string", "kind": "collection_attempt", "lane": "days", "effects": [ { "op": "set", "key": "string", "rank": [ 0 ], "status": "in_progress", "content": { "entryId": "string", "availableAt": null } } ], "source": { "providerKey": "string", "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceId": "string", "operation": "string" }, "businessTime": { "from": null, "to": null }, "availableAt": null, "status": "in_progress", "summary": "string", "values": { "points": [ { "metric": "string", "unit": "string", "from": null, "to": null, "value": "string" } ] }, "gaps": [ { "code": "needs_configuration", "path": [ "string" ] } ] } ], "entries": [ { "id": "string", "kind": "collection_attempt", "lane": "days", "effects": [ { "op": "set", "key": "string", "rank": [ 0 ], "status": "in_progress", "content": { "entryId": "string", "availableAt": null } } ], "source": { "providerKey": "string", "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceId": "string", "operation": "string" }, "businessTime": { "from": null, "to": null }, "availableAt": null, "status": "in_progress", "summary": "string", "values": { "points": [ { "metric": "string", "unit": "string", "from": null, "to": null, "value": "string" } ] }, "gaps": [ { "code": "needs_configuration", "path": [ "string" ] } ] } ], "lateArrivals": { "count": 0, "entries": [ { "id": "string", "kind": "collection_attempt", "lane": "days", "effects": [ { "op": "set", "key": "string", "rank": [ 0 ], "status": "in_progress", "content": { "entryId": "string", "availableAt": null } } ], "source": { "providerKey": "string", "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceId": "string", "operation": "string" }, "businessTime": { "from": null, "to": null }, "availableAt": null, "status": "in_progress", "summary": "string", "values": { "points": [ { "metric": "string", "unit": "string", "from": null, "to": null, "value": "string" } ] }, "gaps": [ { "code": "needs_configuration", "path": [ "string" ] } ] } ] }, "pagination": { "nextCursor": "string" } }}/organizations/{organizationId}/replays/entries/{entryId}Returns the entry with its content as captured: JSON data, the newest 100 log items of a run with hasOlder, or metadata only for database images. Content past its original retention is refused even while a replay pin holds it. Every authenticated read, served or refused, writes an audit log line. Content past its original retention is refused before any byte is read. Clients render content as text, never as markup.
replayReadToken Dedicated server-only credential held by the backend and the frontend server; never provisioned to workers or browsers.
In: header
uuid<kind>:<uuid>, or run_event:<runId>:started|finished.
application/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replays/entries/string"{ "success": true, "data": { "entry": { "id": "string", "kind": "collection_attempt", "lane": "days", "effects": [ { "op": "set", "key": "string", "rank": [ 0 ], "status": "in_progress", "content": { "entryId": "string", "availableAt": null } } ], "source": { "providerKey": "string", "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceId": "string", "operation": "string" }, "businessTime": { "from": null, "to": null }, "availableAt": null, "status": "in_progress", "summary": "string", "values": { "points": [ { "metric": "string", "unit": "string", "from": null, "to": null, "value": "string" } ] }, "gaps": [ { "code": "needs_configuration", "path": [ "string" ] } ] }, "content": { "kind": "json", "value": null } }}/organizations/{organizationId}/eval-runsNewest first, 25 per page by default, with total and the page's offset. Each trial is one initiative run once in a fresh replay environment. Every read, served or refused, writes an audit log line.
replayReadToken Dedicated server-only credential held by the backend and the frontend server; never provisioned to workers or browsers.
In: header
uuidOnly trials of this experiment.
pending, running or finished.
The previous page's nextCursor, toward older trials.
A page's previousCursor, toward newer trials. Not with cursor.
1 to 100.
application/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/eval-runs"{ "success": true, "data": { "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "purpose": "string", "experiment": "string", "harnessArm": "baseline", "title": "string", "asOf": "2019-08-24T14:15:22Z", "businessDate": "string", "timezone": "string", "status": "pending", "outcome": "string", "usage": { "runs": 0, "inputTokens": 0, "cachedInputTokens": 0, "outputTokens": 0, "reasoningOutputTokens": 0, "toolCalls": 0 }, "gapCount": 0, "guardHitCount": 0, "scoreCount": 0, "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string", "previousCursor": "string", "total": 0, "offset": 0 }}/organizations/{organizationId}/eval-runs/{trialId}The initiative, cutoff, snapshot, agent build, model, status, outcome, usage, gaps, cutoff guard hits, evidence hashes, scores and the trial's recent progress events (oldest first, at most 500). Stored chunk keys are never returned.
replayReadToken Dedicated server-only credential held by the backend and the frontend server; never provisioned to workers or browsers.
In: header
uuiduuidapplication/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/eval-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "success": true, "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "purpose": "string", "experiment": "string", "harnessArm": "baseline", "title": "string", "asOf": "2019-08-24T14:15:22Z", "businessDate": "string", "timezone": "string", "status": "pending", "outcome": "string", "usage": { "runs": 0, "inputTokens": 0, "cachedInputTokens": 0, "outputTokens": 0, "reasoningOutputTokens": 0, "toolCalls": 0 }, "gapCount": 0, "guardHitCount": 0, "scoreCount": 0, "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "candidateVersionId": "b142c458-71e4-4575-b549-669e1028bdd8", "initiative": { "property1": null, "property2": null }, "initiativeSha256": "string", "reconstruction": { "historyMode": "reconstructed", "historicalCoverageComplete": false, "sourceSha256": "string", "indexRevision": "string", "importSha256": "string", "selectionSha256": "string", "promptSource": "pinned_runtime_build", "environmentStatus": "string", "coverage": [ { "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "providerKey": "string", "enabled": true, "operations": [ "string" ], "gaps": [ { "code": "needs_configuration", "path": [ "string" ] } ] } ] }, "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" }, "agentBuild": { "gitSha": "string", "backendImage": "string", "workerImage": "string", "harness": { "arm": "baseline", "revision": "string" }, "agentPacks": { "property1": "string", "property2": "string" }, "profilesOnCurrentTemplate": [ "string" ] }, "skillsSha256": "string", "model": { "authMode": "api_key", "profiles": { "property1": { "model": "string", "reasoningEffort": "string" }, "property2": { "model": "string", "reasoningEffort": "string" } } }, "initiativeTaskId": "43444ac5-21d2-4295-bdc5-3e7d81c638b6", "gaps": [ { "code": "needs_configuration", "path": [ "string" ] } ], "guardHits": [ { "code": "needs_configuration", "path": [ "string" ] } ], "artifacts": [ { "kind": "stack", "sha256": "string", "bytes": 0 } ], "events": [ { "id": 0, "at": "2019-08-24T14:15:22Z", "kind": "queued" } ], "scores": [ { "scorer": "string", "scorerVersion": "string", "metric": "string", "value": 0, "createdAt": "2019-08-24T14:15:22Z" } ] }}/organizations/{organizationId}/eval-runs/{trialId}/trajectoryThe trial's runs, Codex sessions (sub-agents follow their parent) and proposed writes, read from its stored stack and ATIF evidence, with one page of one session's steps: the first session unless session names one. Text fields are cut to 16,000 characters and say so. A trial without stored evidence yet answers partial: true with empty lists.
replayReadToken Dedicated server-only credential held by the backend and the frontend server; never provisioned to workers or browsers.
In: header
uuiduuidA session id from sessions.
The previous page's steps.nextCursor.
Steps per page, 1 to 200.
application/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/eval-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/trajectory"{ "success": true, "data": { "status": "pending", "partial": true, "runs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parentRunId": "c21598d9-9e11-4929-a44f-027d54e71332", "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8", "parentTaskId": "2506db93-67fe-4ab8-a809-f4aa6ed8a0f4", "taskTitle": "string", "taskKind": "string", "profile": "string", "mode": "string", "status": "string", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "inputTokens": 0, "cachedInputTokens": 0, "outputTokens": 0, "reasoningOutputTokens": 0, "toolCalls": 0, "result": { "kind": "string", "text": { "text": "string", "truncated": true } }, "files": [ { "path": "string", "bytes": 0, "contentType": "string" } ] } ], "sessions": [ { "id": "string", "parentSessionId": "string", "runId": "78c33d18-170c-44d3-a227-b3194f134f73", "model": "string", "stepCount": 0, "firstAt": "2019-08-24T14:15:22Z", "lastAt": "2019-08-24T14:15:22Z", "promptTokens": 0, "completionTokens": 0, "cachedTokens": 0 } ], "proposedWrites": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "runId": "78c33d18-170c-44d3-a227-b3194f134f73", "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8", "tool": "string", "operation": "string", "status": "string", "risk": "string", "arguments": { "text": "string", "truncated": true }, "createdAt": "2019-08-24T14:15:22Z" } ], "conversionGaps": [ { "path": "string", "reason": "string" } ], "steps": { "session": "string", "items": [ { "stepId": 0, "timestamp": "2019-08-24T14:15:22Z", "source": "system", "message": { "text": "string", "truncated": true }, "reasoning": { "text": "string", "truncated": true }, "model": "string", "toolCalls": [ { "id": "string", "name": "string", "arguments": { "text": "string", "truncated": true } } ], "results": [ { "callId": "string", "content": { "text": "string", "truncated": true } } ], "promptTokens": 0, "completionTokens": 0, "cachedTokens": 0, "copiedContext": true } ], "nextCursor": 0 } }}/organizations/{organizationId}/replay-trials/candidatesreplayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuiduuidapplication/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/candidates"{ "success": true, "data": { "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "version": 0, "revision": 0, "contentSha256": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string" }}/organizations/{organizationId}/replay-trials/candidatesChoose a completed day or a saved parent candidate. Snapshot reference files require recorded profile catalog revisions in that exact snapshot; absent history never falls back to current templates. The candidate pins the currently assigned packs for the same authorized profile roster. Draft creation freezes a snapshot if needed but starts no model calls. A parent creates a new draft with the same source pins and inherited edits. The idempotency key retains the first pins across retries. Built-in model prompt text is not retained in historical snapshots; runtime/model settings remain controlled by the existing replay runner.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/candidates" \ -H "Content-Type: application/json" \ -d '{ "idempotencyKey": "string" }'{ "success": true, "data": { "candidate": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "version": 0, "revision": 0, "contentSha256": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "document": { "day": "2019-08-24", "timezone": "string", "asOf": "2019-08-24T14:15:22Z", "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" }, "requiredIntegrations": [ { "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceIds": [ "string" ] } ], "baseline": { "property1": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] }, "property2": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] } }, "current": { "property1": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] }, "property2": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] } }, "baselineRevision": "string", "currentRevision": "string", "edits": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "initiative": { "title": "string", "objective": "string" }, "purpose": "string", "experiment": "string" } }, "baselineFiles": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "currentFiles": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } } }}/organizations/{organizationId}/replay-trials/candidates/{candidateId}Returns only this organization's candidate and the effective agent-pack text files for its pinned baseline and current candidate. Saved versions remain readable after snapshot expiry, but running revalidates snapshot retention and current source authorization.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuiduuidapplication/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/candidates/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "success": true, "data": { "candidate": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "version": 0, "revision": 0, "contentSha256": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "document": { "day": "2019-08-24", "timezone": "string", "asOf": "2019-08-24T14:15:22Z", "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" }, "requiredIntegrations": [ { "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceIds": [ "string" ] } ], "baseline": { "property1": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] }, "property2": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] } }, "current": { "property1": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] }, "property2": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] } }, "baselineRevision": "string", "currentRevision": "string", "edits": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "initiative": { "title": "string", "objective": "string" }, "purpose": "string", "experiment": "string" } }, "baselineFiles": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "currentFiles": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } } }}/organizations/{organizationId}/replay-trials/candidates/{candidateId}expectedRevision fences concurrent editing. publish=false saves the draft; publish=true allocates an organization-local version and content hash and makes the row immutable. Exact lost-response retries return the same revision. Future edits require a child draft. File patches are limited to 500 KiB total, scoped per selected agent; paths cannot traverse folders. AGENTS.md, skills/... and a declared prompts/task-run.json are real pack resources. Task prompt edits use the same source loader and renderer as normal task execution. Old packs without a prompt resource retain installed defaults and expose no invented prompt file. Virtual developer/model prompt fields are rejected. New skills require a SKILL.md contract. Unedited agents always use pinned current packs. Saving never changes the shared catalog pointer or live profiles.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuiduuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/candidates/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "expectedRevision": 0, "name": "string", "edits": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "initiative": { "title": "string", "objective": "string" }, "purpose": "string", "publish": true }'{ "success": true, "data": { "candidate": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "version": 0, "revision": 0, "contentSha256": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "document": { "day": "2019-08-24", "timezone": "string", "asOf": "2019-08-24T14:15:22Z", "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" }, "requiredIntegrations": [ { "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "resourceIds": [ "string" ] } ], "baseline": { "property1": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] }, "property2": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] } }, "current": { "property1": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] }, "property2": { "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a", "templateKey": "string", "revision": "string", "skillKeys": [ "string" ] } }, "baselineRevision": "string", "currentRevision": "string", "edits": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "initiative": { "title": "string", "objective": "string" }, "purpose": "string", "experiment": "string" } }, "baselineFiles": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } }, "currentFiles": { "property1": { "property1": "string", "property2": "string" }, "property2": { "property1": "string", "property2": "string" } } }}/organizations/{organizationId}/replay-trials/candidates/{candidateId}/runRequires an immutable saved version. Revalidates retained snapshot inputs and current profile authorization, then queues exactly one candidate environment and trial under the existing open-trial limit. No baseline is created or rerun. No existing run reference is required. Unedited candidates use the pinned current harness. The same idempotency key returns the same candidate trial. Results use the existing trial detail and evidence APIs; baseline linking, result comparison and evaluation are outside this flow.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuiduuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/candidates/497f6eca-6276-4993-bfeb-53cbbbba6f08/run" \ -H "Content-Type: application/json" \ -d '{ "idempotencyKey": "string" }'{ "success": true, "data": { "trialId": "cab77369-93b0-4c9e-b216-4ef4fc94eeb1", "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "candidateId": "10f4deb6-fd4e-4907-a47e-355caf6e449d", "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" } }}/organizations/{organizationId}/replay-trials/optionsThe last 14 business days in UTC, each frozen, not frozen, missing required data, without history or not over, with what a frozen day's generated snapshot left out; whether a day can be frozen; when the replay runner last touched an environment of this business; and how many trials are not finished.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuidapplication/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/options"{ "success": true, "data": { "timezone": "string", "days": [ { "day": "string", "state": "frozen", "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" }, "missing": [ "string" ], "omitted": [ { "kind": "owner", "reason": "limit_exceeded", "count": 0 } ] } ], "canFreeze": true, "runnerLastActiveAt": "2019-08-24T14:15:22Z", "activeTrials": 0 }}/organizations/{organizationId}/replay-trialsThe strict initiative/purpose request selects one of the offered completed business days. Uses the day's newest complete business packet the replay runner can still read. Otherwise, for a business that ran replays:setup, freezes one declared from the day itself: its internal state, published Context, and the exact tool calls recorded that day with their tool lists, up to 50, leaving out what can't be served and saying so in omitted. A business without setup freezes one from its latest declaration. Then requests a replay environment that reads the snapshot's recorded integrations, with the trial and its pinned initiative. The replay runner prepares it. The same idempotency key returns the same trial. Alternatively, historyMode=reconstructed accepts day/query/idempotencyKey and resolves an operator-indexed, versioned S3 research ZIP. Older completed dates are permitted; the indexed timezone must describe UTC day boundaries. This path returns 202 before bulk preparation and always reports historicalCoverageComplete=false. The existing runner automatically selects permitted dated inputs, restores an isolated database, starts one worker and sends one initiative. Read progress, provenance, initiative identity and results through eval-runs; no replay UI connection is required. Unknown dates or unsupported source coverage never fall back to current data. Set harnessMode=current to start a baseline with the business's current pinned agent packs. A candidate request supplies baselineTrialId, per-profile overrides and a new idempotency key. It reuses the baseline's snapshot and initiative in a fresh environment and checks the same backend/worker images and model authentication mode.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials" \ -H "Content-Type: application/json" \ -d '{ "day": "string", "initiative": { "title": "string", "objective": "string" }, "purpose": "string", "idempotencyKey": "string" }'{ "success": true, "data": { "trialId": "cab77369-93b0-4c9e-b216-4ef4fc94eeb1", "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "sha256": "string" }, "frozeSnapshot": true, "omitted": [ { "kind": "owner", "reason": "limit_exceeded", "count": 0 } ] }}/organizations/{organizationId}/replay-trials/{trialId}Asks the replay runner to release the trial's environment. Release exports its evidence and records the trial as finished. A finished trial is left as it is.
replayTrialToken Dedicated server-only credential the frontend server uses to start and cancel eval trials for signed-in staff; never provisioned to workers or browsers.
In: header
uuiduuidcurl -X DELETE "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replay-trials/497f6eca-6276-4993-bfeb-53cbbbba6f08"/organizations/{organizationId}/replays/setupWrites nothing. Whether Replays are on; each integration's recording state, what turning Replays on will record or which additions wait for confirmation, reads over the binding limit, and integrations whose every call is kept; incomplete setup runs; and the replayable window in UTC.
replaySetupToken Dedicated server-only credential the frontend server uses to read and change a business's Replays setup for signed-in staff; never provisioned to workers or browsers.
In: header
uuidapplication/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replays/setup"{ "success": true, "data": { "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "replaysEnabled": true, "runInput": { "managedBy": "preset", "revision": 0, "standard": true }, "integrations": [ { "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "key": "string", "name": "string", "providerKey": "string", "departments": [ "string" ], "status": "enabled", "managedBy": "preset", "state": "not_managed", "recording": true, "bindings": [ "string" ], "presetBindings": [ "string" ], "staffOff": { "actor": "string", "at": "2019-08-24T14:15:22Z" }, "pending": [ "string" ], "overLimit": [ "string" ], "recordsEverything": true } ], "pendingAdditions": 0, "uncheckpointedOwners": 0, "setupCompletedAt": "2019-08-24T14:15:22Z", "incompleteEvents": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "setup", "createdAt": "2019-08-24T14:15:22Z" } ], "capture": { "state": "recording", "pausedAt": "2019-08-24T14:15:22Z", "removalDueAt": "2019-08-24T14:15:22Z", "historyRemovedAt": "2019-08-24T14:15:22Z", "archivesLeft": { "count": 0, "pinned": 0, "lastExpiresAt": "2019-08-24T14:15:22Z" } }, "pausedPeriods": [ { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" } ], "window": { "firstDay": "string", "lastDay": "string" } }}/organizations/{organizationId}/replays/setupreviewed lists every binding the action will start recording, as the caller saw them in the status (integrationId binding); a mismatch is refused. apply turns Replays on with the Standard capture preset and records the agreement reference and the staff member who acted; running it again rewrites nothing already current. confirm records every pending addition once the business agreed to it. pause stops new capture and keeps history readable; resume restarts it, following integration edits without widening. remove schedules history removal after a 7-day grace period and needs confirmOrganizationId equal to the business; cancel_removal keeps the history. recording_off stops one integration's recording with a staff-owned (manual) policy that the preset leaves alone; recording_on hands it back to the preset with the Standard bindings, which reviewed must list. Every action writes a setup event with the actor and basis and returns the new status.
replaySetupToken Dedicated server-only credential the frontend server uses to read and change a business's Replays setup for signed-in staff; never provisioned to workers or browsers.
In: header
uuidapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/replays/setup" \ -H "Content-Type: application/json" \ -d '{ "action": "apply", "basis": "string", "reviewed": [ "string" ], "actor": "user@example.com" }'{ "success": true, "data": { "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "replaysEnabled": true, "runInput": { "managedBy": "preset", "revision": 0, "standard": true }, "integrations": [ { "integrationId": "497a18ca-284e-40c0-985d-f72be35d468e", "key": "string", "name": "string", "providerKey": "string", "departments": [ "string" ], "status": "enabled", "managedBy": "preset", "state": "not_managed", "recording": true, "bindings": [ "string" ], "presetBindings": [ "string" ], "staffOff": { "actor": "string", "at": "2019-08-24T14:15:22Z" }, "pending": [ "string" ], "overLimit": [ "string" ], "recordsEverything": true } ], "pendingAdditions": 0, "uncheckpointedOwners": 0, "setupCompletedAt": "2019-08-24T14:15:22Z", "incompleteEvents": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "setup", "createdAt": "2019-08-24T14:15:22Z" } ], "capture": { "state": "recording", "pausedAt": "2019-08-24T14:15:22Z", "removalDueAt": "2019-08-24T14:15:22Z", "historyRemovedAt": "2019-08-24T14:15:22Z", "archivesLeft": { "count": 0, "pinned": 0, "lastExpiresAt": "2019-08-24T14:15:22Z" } }, "pausedPeriods": [ { "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z" } ], "window": { "firstDay": "string", "lastDay": "string" }, "applied": { "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c", "runInputRevision": 0, "observation": { "property1": 0, "property2": 0 }, "checkpoints": 0 } }}^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$date^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid^[a-zA-Z0-9_.:-]{8,200}$0 <= value <= 90071992547409911 <= length <= 120length <= 5001 <= length <= 200^[a-zA-Z0-9_.:-]{8,200}$length <= 170^\d{4}-\d{2}-\d{2}$1 <= length <= 5001 <= length <= 200Value in
^[a-zA-Z0-9_.:-]{8,200}$Value in
1 <= length <= 2000items <= 10000^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$emaillength <= 320