/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export interface paths { "/transfers/protocol": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * The session transfer protocol this daemon speaks * @description A source's preflight reads it through the relay before it exports anything. */ get: operations["getTransferProtocol"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/preflight": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Whether a session could move to another daemon now * @description Answers within about ten seconds. A target out of reach, a daemon there that speaks another transfer protocol or can't take what the export would send, a session mid-turn or one that already moved is available false with the reason, not an error. The target is asked through its read-only `POST /transfers/check`. A target from before that route is not checked, and its staging refuses what it lacks once the move starts. */ get: operations["getTransferPreflight"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read a move this daemon drives */ get: operations["getTransfer"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/move": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Move a session and its same-workspace descendants to another host's daemon * @description The source daemon drives the move to the end whether or not the client stays, and a restart resumes it from its state. A repeat with the same transfer id and target answers the move as it stands. Once active the sessions here are marked moved and refuse new input (409 session_moved). A move takes an ACP session from its editor, so only the attachment holder may move one; another client gets 409 `acp_owned`, and a token that no longer holds the attachment gets 409 `attachment_lost`. */ post: operations["moveSessionToDaemon"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/finish": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Disarm the source's bindings and finish a move waiting at its checklist * @description Disarms every binding the move lists (schedules and heartbeats deleted, webhooks answering 410 with their new url, the discord bot stopped), reports what this daemon delivered after the export snapshot to the target so it skips those, then marks the sessions moved and the move active. A step that fails leaves the move at checklist with that binding's status failed and the move's error set; a repeat goes on from there, and a repeat once active answers the move. */ post: operations["finishTransfer"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/export": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read an export's manifest */ get: operations["getTransferExport"]; put?: never; /** * Export a session and its same-workspace descendants for a move * @description One consistent snapshot per transfer id; a repeat answers the same manifest. Every session in scope must be idle. */ post: operations["exportTransfer"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/export/segments/{index}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read one chunk of an exported segment * @description At most 512 KiB from offset; an empty body past the end. */ get: operations["getTransferSegment"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/import": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read a staged transfer's progress */ get: operations["getTransferImport"]; /** * Stage a source's manifest, inactive * @description Refuses an unknown owner or table version, a session that already lives here, or too little free space, before any byte arrives. A repeat with the same manifest and workspace answers the status; another workspace is a conflict. */ put: operations["stageTransfer"]; post?: never; /** * Cancel an import that is not live yet * @description Removes the rows activation applied, last segment first, then the staged files; poll until cancelled. Refused once the import is installing or active. */ delete: operations["cancelTransferImport"]; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/import/segments/{index}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Write one chunk of a staged segment * @description Offsets resume where the segment's bytes end; a repeat of bytes already there is accepted, different bytes are not. */ put: operations["putTransferSegment"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/import/ready": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Verify every staged segment; the import stays inactive * @description A segment that fails its digest or framing is dropped and named, to be sent again. */ post: operations["readyTransfer"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/import/occurrences": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Record what the source delivered after its export, so this daemon skips it * @description Called by the source when it finishes a move. Each occurrence is a schedule (its source id and due time, in seconds), a webhook event (hook id and event id) or a letter (its id); a repeat records nothing twice. The schedule due scan, webhook intake and discord delivery skip a recorded occurrence. */ post: operations["recordTransferOccurrences"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/runs-there": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Whether sessions moving here can run on the profiles they name * @description Called by a source through the relay. For each session, ok when this daemon has the profile and it offers the model; otherwise problem says which is missing and alternatives lists the profiles here offering the model. */ post: operations["checkTransferProfiles"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/check": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Whether this daemon would stage rows of these shapes * @description Called by a source's preflight through the relay. Runs the owner, table, version and column checks of staging and nothing else. It reads table columns only, and writes no receipt, staging directory or expiry, and checks no free space. A daemon from before this route answers 404 or 405, and the source then leaves the decision to staging. The 422 problem's code is `transfer_unsupported` for an owner or table this build lacks, `transfer_extension_unavailable` for an extension built in here that failed to load, `transfer_version` for a version or column this daemon lacks, or `transfer_protocol` for another transfer protocol. */ post: operations["checkTransferShape"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/mail/forwarded": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Admit letters from a daemon this one's sessions moved from * @description Called by that daemon through its relay. Each letter is admitted once by its id; a repeat is acknowledged again without a copy. A sender that does not live here is kept with the origin daemon and host, so a reply goes back there. */ post: operations["admitForwardedMail"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/mail/forwarded/collect": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Collect the letters waiting here for the calling daemon * @description A long-poll the daemon sessions moved from keeps open through its relay. It settles the letters the caller acknowledges (admitted, or refused, which bounces them to their sender here), then answers the letters waiting for it, holding the call until one is queued or wait_ms (at most five minutes) ends. */ post: operations["collectForwardedMail"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/import/family": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Record the relatives the moved sessions left on the source * @description Called by the source as the import goes live. Each stub names a moved session, a relative of it on the source (its parent, a child, or a sibling) and the name it addresses it by, so "parent" and those names keep resolving here to the same session ids. A repeat updates them. */ post: operations["recordTransferFamily"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/agents/sessions/{session_id}/{op}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Run a handle call on a session that moved here * @description Called by the daemon the session moved from, through its relay, after it authorized the caller as it would have before the move. The body is the handle call's own arguments; the answer is what the call answers. */ post: operations["runMovedAgentCall"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/transfers/{transfer_id}/import/activate": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Make a ready import live, in bounded batches * @description Answers at once and goes on in the background; poll the import until its state is active. The sessions stay invisible and inert (stage importing) until one commit makes them live. A repeat answers the status and never applies a row twice. A row whose key this daemon already holds sends the import back to ready with error transfer_collision, nothing applied. A body names what each session runs on here; a ready import with a session that can't is refused with 422 profile_unavailable before anything applies, and the profiles it names are switched in the commit that makes the sessions live. */ post: operations["activateTransfer"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/terminals/{terminal_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Upgrade to interactive pseudo-terminal session * @description WebSocket upgrade endpoint for an interactive terminal. Authenticated by the same bearer token and origin policy as other daemon routes. * Binary frames carry raw terminal PTY bytes. Text frames are JSON objects for control commands: * {type:"ping"}, {type:"input",data:...}, {type:"resize",cols:...,rows:...}, {type:"signal",signal:"SIGINT"|"SIGTERM"|...}, {type:"restart",cols:...,rows:...}. * Server sends {type:"ready",id,cwd,shell,cols,rows,state,exit_code} on attach, binary frames for terminal output (including initial scrollback history), * {type:"exit",exit_code} when the shell process exits, and {type:"pong"} keepalives. */ get: operations["attachTerminal"]; put?: never; post?: never; /** * Explicitly close an interactive pseudo-terminal session * @description Terminates the pseudo-terminal process group and releases its resources. */ delete: operations["closeTerminal"]; options?: never; head?: never; patch?: never; trace?: never; }; "/events": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Upgrade to multiplexed live session events * @description WebSocket upgrade endpoint, authenticated by the same bearer token and origin * policy as other daemon routes. A socket owns at most 64 keyed follows. * Client text frames are JSON objects: {key,type:"session",session_id,tail:0, * after_generation?,after_seq?}, {key,type:"sessions",scope:"roots"}, * {key,type:"stop"}, or {type:"ping"}. Keys contain 1 to 128 UTF-8 bytes. * Session replay and tail validation match GET /sessions/{session_id} SSE. * Subscribing an existing key releases that follow first, so a refused * replacement leaves the key without one. after_seq accepts an * integer or its decimal string; tail defaults to 100 and is at most 200. * Server text frames are {key,batch:}: session batches * carry generation,cursor,events and optional snapshot; collection batches * carry events. A successful send acknowledges its session cursor. A follow * ending (including stop, deletion, failure or overflow) sends {key,end:true}. * Invalid commands and admission refusals send {key,failure:{code,detail}}, which ends * the key like an end frame; * malformed commands without a usable key use an empty key. Session failures * and collection overflow retain their SSE batch before the end frame. * Ping replies and 15-second keepalives are {type:"pong"}. Commands are at * most 4096 UTF-8 bytes; response frames are at most 1 MiB. Unsubscribe and * socket closure release watches. Clients reconnect a follow with its last * fully consumed cursor. Existing SSE routes remain available. */ get: operations["getEvents"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/server": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read daemon identity and capabilities * @description No startup or replacement. Authentication and protocol failures remain actionable errors. Pagination is valid only with include=quota_history. */ get: operations["getServer"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/server/shutdown": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Drain the identified daemon * @description No automatic recovery or replay. The local launcher alone may offer replacement. */ post: operations["shutdownServer"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/settings": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read shared settings or one canonical group * @description Return aggregate settings with canonical group resources. */ get: operations["getSettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/usage": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read what the provider calls used * @description Totals come from hourly counts kept beside the request records, so they cost the same however long the history is and keep the use of sessions since deleted. Hours are UTC; in a zone that is not a whole number of hours from UTC the hour that straddles midnight counts in the earlier day. Counts are as the providers reported them, and providers differ on whether `input_tokens` includes `cached_input_tokens`. `provider` and `account` narrow the days and lines to one scope, while `scopes` always lists every scope the window saw. Requires capability `usage_summary: 1`. */ get: operations["getUsage"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/storage": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read storage accounting * @description Each section has its own continuation. Totals cover complete storage. Paths never authorize local mutation. Requires capability `storage_report: 1`. */ get: operations["getStorage"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Browse sessions or watch collection changes * @description JSON defaults to roots, or all with parent/family. Parent and family are exclusive. Explicit roots with either is invalid. SSE accepts the same scope filters, excluding sort/limit/next; no cursor or replay. Subscribe, wait for ready, then read pages. Closure or overflow repeats this flow. */ get: operations["listSessions"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/title-generation": { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; get?: never; put?: never; /** Generate a session name from the conversation */ post: operations["generateSessionTitle"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/fast-mode": { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** Read fast-mode state and provider capability */ get: operations["getFastMode"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** * Change session fast mode * @description Conditional, user-facing configuration change. Requires the session * configuration ETag. Enabling is rejected unless the provider reports * fast mode supported; unknown capability is not inferred. Disabling is * always allowed. `toggle` inverts the state protected by If-Match; replaying * a successful toggle with the old ETag is refused rather than toggling twice. * This setting can affect provider billing, so the editor of an ACP session * owns it: another client gets 409 `acp_owned`, and a token that no * longer holds the attachment gets 409 `attachment_lost`. */ patch: operations["patchFastMode"]; trace?: never; }; "/sessions/{session_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read a session snapshot */ get: operations["getSession"]; /** * Create a new, forked or child session * @description Session ID must be UUIDv7. If-None-Match:* is required. Retain the identity and submitted intent after response loss. An existing resource returns 412; GET creation.submitted proves original intent. Child membership and task admission commit together. */ put: operations["createSession"]; post?: never; /** * Delete a leaf or captured subtree * @description Leaf requires idle and no children. Subtree requires the session's observed family revision and gates new children, interrupts captured members and deletes deepest first. Partial outcomes are explicit. Refresh before confirming a new attempt; never automatically replay after transport loss. */ delete: operations["deleteSession"]; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/visits/{visit_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Count one deliberate opening * @description Visit ID is UUIDv7. Same identity increments once and answers its original count again, even after the session is deleted; under another session it conflicts. Reads and refreshes never count. */ put: operations["recordVisit"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/side-questions/{question_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put: operations["putSideQuestion"]; post?: never; delete?: never; options?: never; head?: never; patch: operations["patchSideQuestion"]; trace?: never; }; "/sessions/{session_id}/side-questions/{question_id}/cancel": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post: operations["cancelSideQuestion"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/shell-commands/{command_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read a human shell command */ get: operations["getShellCommand"]; /** * Admit one immutable human shell command * @description Durable admission precedes process spawn. Same identity and command returns the original resource before mutable checks; changed intent conflicts. One running command and at most 32 uncommitted outcomes per session. No automatic model turn. Remote workspaces are refused. */ put: operations["putShellCommand"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/shell-commands/{command_id}/stop": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Request termination of one human shell command * @description Stops this command process group only. Response can remain running until cleanup is confirmed; read the same resource for its terminal outcome. */ post: operations["stopShellCommand"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/shell-commands/{command_id}/output": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read retained sanitized shell output * @description UTF-8 byte offsets, complete-codepoint pages, next_offset null at the current captured cutoff. Retained output is at most 16 MiB; no terminal controls are stored. */ get: operations["getShellCommandOutput"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/inputs/{input_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read a durable input outcome * @description Available after session deletion. Accepted is not consumed or answered. Retain pending and unfinished-turn identities; terminal decisions last seven days. Unknown old UUIDv7 returns 410, never a fresh admission. */ get: operations["getInput"]; /** * Admit immutable identified input * @description Input ID is UUIDv7. Duplicate lookup precedes mutable validation and returns the original admission status with current delivery. Queue-full rejection remains rejected. No If-None-Match. Preserve the exact intent and identity while recovering an uncertain response. */ put: operations["putInput"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/uploads/{upload_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Upload a picture or clip as its own bytes * @description Upload ID is UUIDv7. The body is the whole file, at most 20 MiB, and Content-Type its MIME type, which must match what its header says; a picture holds at most 5 MiB. A message names it with an `upload` entry in `images`, and the session's model is checked then, not here. The upload waits under the session until a message the session accepts takes it, or for a day; a message it refuses leaves it for the next one. Uploads no message has taken hold 256 MiB across every session. */ put: operations["putUpload"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/inputs/{input_id}/cancel": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Cancel or interrupt only this input * @description Never interrupts a later unrelated turn. shared_running leaves a shared turn running; retry only inspects or acts on this same input. ACP sessions require the current attachment token. */ post: operations["cancelInput"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/inputs/{input_id}/hold": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Hold a waiting message while it is edited * @description Holds a person's typed message that still waits in the session's queue, or renews the hold. Neither it nor anything queued after it is read until the edit is saved, the hold is released, or lease_ms pass without another hold. 409 input_not_waiting once the session read the message or it was cancelled; 409 input_not_editable for any other input. */ post: operations["holdInput"]; /** * Let a held message be read as it is * @description Idempotent. A message that was never held is unaffected. */ delete: operations["releaseInput"]; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/inputs/{input_id}/edit": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Put an edited message in place of a waiting one * @description Replaces a person's typed message that still waits, keeping its id and its place in the queue, and releases any hold on it. 409 input_not_waiting once the session read it or it was cancelled. Its images and clips are checked as a new message's are, so 409 image_rejected or media_budget refuse them the same way. */ post: operations["editInput"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/interrupt": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Interrupt a captured run and waiting prefix * @description Capture run_id and through_input_order from the installed session. Retry cannot interrupt a later run or cancel newer inputs. */ post: operations["interruptSession"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/acp-plan": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read an ACP session's retained checklist * @description Returns the full retained checklist in creation order. Open items map to pending plan entries and checked items map to completed entries. The session must have been created over ACP. */ get: operations["getACPPlan"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/acp-attachment": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Attach this ACP connection as the session's single writer * @description Attach or re-attach with the same token. 409 not_acp_session for a session created without kind acp; 409 workspace_mismatch unless workspace equals the session's canonical workspace exactly; 409 attachment_held while another token holds a live lease (never stolen); 409 session_busy when the session has an active turn and the overlay differs from the installed one (nothing changes); 409 mcp_overlay_conflict for duplicate editor names. Globally configured names take precedence; 409 mcp_overlay_failed when an idle replacement could not be prepared (the previous overlay and attachment stay as they were). 503 overlay_installed_reload_failed means publication succeeded but runtime reload failed; the replacement remains installed. 503 overlay_update_uncertain means publication or reload was not confirmed within 15 seconds and may still complete. An identical reattach retries a failed reload. With editor-mcp enabled, publication awaiting reload blocks turns with 409 overlay_installed_reload_failed. A missing required overlay after restart blocks turns with 409 overlay_reattach_required; the editor must resume and resupply its servers. An empty overlay permits daemon-driven turns after daemon restart, but old editor tokens are invalid. Failed setup releases a newly acquired lease and retains a preexisting same-token lease. An empty list removes only the editor overlay. */ put: operations["attachACPSession"]; post?: never; /** * Release this connection's attachment * @description Idempotent. Never cancels accepted inputs, the active turn, or the MCP overlay. */ delete: operations["releaseACPSession"]; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/acp-attachment/renew": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Extend this connection's attachment lease * @description 409 attachment_lost when this token no longer holds the attachment (expired, released, or the daemon restarted). Renewal never re-attaches; the client must attach again. */ post: operations["renewACPSession"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/active-output/{content_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read unfinished output at a captured snapshot cutoff * @description Pages contain at most 262144 UTF-8 bytes and remain within the captured cutoff. Preserve the required snapshot query when following next. */ get: operations["getActiveOutputContent"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/history": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Page history or fork checkpoints * @description Use only one of before/after/next. Durable positions are independent of actor replay. Pages are ascending and preserve complete display groups where bounded. */ get: operations["getHistory"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/history/content": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read several entries' full content in one walk * @description The same parts and byte offsets as the single-entry route, for up to 200 entries, in the order `entries` names them. Follow next until null, repeating entries. One page stays inside the common encoded response bound, so a page whose entries are mostly references costs one request per byte budget instead of one request per entry. */ get: operations["getHistoryContentBatch"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/history/{entry_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read full content in bounded pieces * @description Follow next until null. UTF-8 pieces end at character boundaries. Reconstruct stored content, not shortened previews. Image fields are not paged here; their references name the image resource. */ get: operations["getHistoryContent"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/history/{entry_id}/{field}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read one image field as its own bytes * @description Image references in history point here. The body is the stored image itself, not base64, and is never content-coded. When `edge` is given and either dimension exceeds it, the response is scaled down so its longer edge equals `edge` and encoded as lossy WebP; smaller images are returned untouched. An audio or video clip is always returned untouched. */ get: operations["getHistoryImage"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/context": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read ContextSummary */ get: operations["getContext"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/catalog": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Discover candidates, loaded commands and pages * @description Discovery and loaded composition are separate. Reads do not reload. Continuation identifies its section; candidate revision guards discovery-based selection. Requires capability `catalog: 1`. */ get: operations["getCatalog"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/context-window": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read the window this session compacts against * @description The session's own window outranks the model's. Reads do not prepare a request, so the answer is available while the prepared context is pending. Requires capability `context: 1`. */ get: operations["getContextWindow"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/files": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read a text file in the session's workspace * @description Reads on the machine the workspace is on: the daemon for a local workspace, the host through one SSH gather for a remote one. A missing file, a directory or another non-regular file answers 404 `file_not_found`; an unknown session answers 404 like other session routes. A remote host that is not ready answers 503 `workspace_unavailable`, a failed gather 502. Requires capability `file_reading: 1`. */ get: operations["getSessionFile"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/changes": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read every change of the session's checkout * @description Diffs the working copy of the checkout enclosing the session's workspace, on the machine the workspace is on (the daemon, or the host through SSH gathers). Read-only: git runs without optional locks and jj with `--ignore-working-copy`. `uncommitted` compares the working tree, staged and unstaged, with HEAD (git) or `@-` (jj); `upstream` compares it with the merge base of HEAD and the branch's upstream, else origin/HEAD, else origin/main (git), or with `fork_point(trunk() | @)` (jj). Untracked files that are not ignored are listed whole. A jj checkout colocated with git is answered by git and so includes edits jj has not snapshotted, listing a file new to git as `added`; one without git is as fresh as jj's last snapshot. Files sort by path, at most 1000 (`truncated` past that). A diff over 256 KiB is omitted `too_large`; once the JSON-encoded diffs reach 768 KiB, that file and every later one are omitted `budget`. Binary content, and text that is not UTF-8, is `binary`. `diff` is null exactly when `omitted` is set; counts are always filled (0 for binary, and for an untracked file over 64 MiB). The ETag hashes the answer: `If-None-Match` with it answers 304. A missing workspace folder is 404 `workspace_unavailable`. Requires capability `checkout_changes: 1`. */ get: operations["getSessionChanges"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/media": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List the pictures and clips a session's history holds * @description Each stored picture or clip once, by the first hex digits of its payload hash, with every row that shows it. `clips_held` is the base64 bytes of the clips the session's next request carries, as its model is sent them, which `clip_budget` bounds; null when the session has no provider. `clip_budget` is what the wire of the session's current model takes, held to albedo's own 64 MiB, or that ceiling without a provider. */ get: operations["getSessionMedia"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/media/shake": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Drop pictures and clips from a session's history * @description Removes what `media` names from every row and cell result of the session, which keep their text and gain a marker such as `[audio/wav clip removed by shake]`, and deletes payloads no other session names. Earlier messages change, so the next request misses the provider's prompt cache once. A running turn goes on with the new history from its next request. An unknown or ambiguous id, or a session compacting, is refused with 409 shake_refused. */ post: operations["shakeSessionMedia"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/reload": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Reload composition, models or both * @description Session reload requires idle. Both targets return separate outcomes, preserving confirmed success when the other fails. Lost-response replay is not automatic. */ post: operations["reloadSession"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/kernel/upgrade": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Explicitly upgrade an idle kernel * @description Stage and validate before swap. Report external jobs stopped during an unsuccessful upgrade; do not claim them restored. No automatic retry. */ post: operations["upgradeKernel"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/kernel/restart": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Replace the session's kernel with an empty one * @description Stop the running turn and cancel queued inputs as an interrupt does, discard the saved variables, and stop the kernel and its jobs. The response waits for the stop; the next turn boots an empty kernel. A stop that fails answers 503 kernel_restart_failed. */ post: operations["restartKernel"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/rewind": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Cut a session back to before a user message and keep the removed tail as an archived session * @description Idle required. The checkpoint must be a user message from the checkpoint view. The session keeps every row before it, and the full prior conversation is copied first into a new archived session. The session actor stops, so attached streams reconnect and reset. Python namespace and files on disk are not rewound. A requested summary is made before anything changes, so a failed summary leaves the session untouched. Requires capability `history_rewind: 1`. */ post: operations["rewindSession"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/models": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read provider model metadata * @description In catalogue view, exactly one of provider_profile/provider is required. Endpoint is allowed only with provider. Unknown facts are null. A manual unlisted ID remains usable. Optional model returns one metadata row, including cap_key, for an unlisted manual ID; unknown facts stay null. */ get: operations["listModels"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/workspaces": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Browse recent locations or a directory * @description Without location return recent workspaces. include requires location. Paths resolve on the daemon host; cached host state does not perform SSH sign-in. Requires capability `workspace_browsing: 1`. */ get: operations["getWorkspaces"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/hosts": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read known SSH hosts and cached state * @description Requires capability `host_probes: 1`. */ get: operations["listHosts"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/hosts/{host}/probe": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Start or join a host probe * @description Coalesce repeated probes. Authentication remains an explicit operator handoff; no background SSH sign-in. Requires capability `host_probes: 1`. */ post: operations["probeHost"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read login choices and redacted accounts * @description Requires capability `provider_auth: 1`. */ get: operations["getAuth"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/auth/logins/{login_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Inspect a provider login * @description No credential or submitted form echo. Terminal records remain fifteen minutes; unfinished flows expire at their provider deadline. Requires capability `provider_auth: 1`. */ get: operations["getLogin"]; /** * Start or recover an identified provider login * @description UUIDv7 identity. Compare immutable private intent inside the daemon. Duplicate returns existing flow, never another browser/exchange. Restart turns unfinished flows into retained daemon_restarted failures; a new flow needs a new ID. Requires capability `provider_auth: 1`. */ put: operations["createLogin"]; post?: never; /** * Cancel a login idempotently * @description Cancellation stops only this flow; completed accounts remain saved. No If-Match is needed for identity-scoped cancellation. Requires capability `provider_auth: 1`. */ delete: operations["cancelLogin"]; options?: never; head?: never; /** * Supply manual callback or code * @description Requires capability `provider_auth: 1`. */ patch: operations["answerLogin"]; trace?: never; }; "/auth/accounts/{account_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** * Remove an unreferenced provider account * @description Signs the account out. Reject only an account that comes from the environment (`account_external`). A profile pinned to it by `account_id` goes back to automatic selection, and it leaves every `account_ids` list naming it; a list it empties becomes null. Does not interrupt captured credentials in an active request. Account IDs are never reused. Requires capability `provider_auth: 1`. */ delete: operations["deleteAccount"]; options?: never; head?: never; /** * Rename a saved provider account * @description Environment accounts cannot be renamed (`account_external`). Requires capability `provider_auth: 1`. */ patch: operations["patchAccount"]; trace?: never; }; "/auth/keys/{account_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Save an API key as a provider account * @description The client chooses the account id (a UUIDv7). Replaying the same request returns the account; different content at a used id is `409 conflict`. Requires capability `provider_auth: 1`. */ put: operations["putKeyAccount"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/work/items": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List work resources * @description Requires enabled extension work. Lists may include bounded page descriptors and glances. */ get: operations["listWork"]; put?: never; /** * Create a work resource * @description No automatic lost-response retry. Notification outcome does not undo a committed domain edit. */ post: operations["createWork"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/work/items/{item_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read one work resource */ get: operations["getWork"]; put?: never; post?: never; /** * Delete a work resource * @description Committed deletion remains successful if notification fails. Work items with children cannot be deleted. */ delete: operations["deleteWork"]; options?: never; head?: never; /** * Edit a work resource * @description Use the displayed item validator. Reject readonly/unknown fields. No automatic lost-response retry. */ patch: operations["patchWork"]; trace?: never; }; "/extensions/artifacts/items": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List artifacts, newest change first * @description Requires enabled extension artifacts. Artifacts outlive their session; `session_deleted` marks one whose session is gone. */ get: operations["listArtifacts"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/artifacts/items/{artifact_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read one artifact with its versions */ get: operations["getArtifact"]; put?: never; post?: never; /** Delete an artifact and every version of it */ delete: operations["deleteArtifact"]; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/artifacts/frame/{frame}/{version}/{path}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Serve one file of one artifact version * @description `albedo web` forwards `/frame/...` here; see robot-docs/artifacts.md. A wrong key answers 404. `path` may contain `/`; one ending in `/` serves its index.html, and an empty one the entry of that version. Under `latest` files are `no-cache` and the bridge is told to follow; the files of a numbered version are immutable. */ get: operations["getArtifactFile"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/artifacts/frame/{frame}/{version}/.albedo/state": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Save the page's localStorage */ post: operations["saveArtifactState"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/artifacts/frame/{frame}/{version}/.albedo/errors": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Record a failure in the page */ post: operations["reportArtifactError"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/artifacts/frame/{frame}/{version}/.albedo/version": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Wait for a newer version of an artifact * @description What a page open on `latest/` in a tab of its own asks to know when to reload. With `after`, the daemon holds the answer until the latest version passes it or about 25 seconds pass; without, it answers at once. The version in the path only has to exist. */ get: operations["getArtifactLatestVersion"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/paperclips/items": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List paperclips resources * @description Requires enabled extension paperclips. Lists may include bounded page descriptors and glances. */ get: operations["listPaperclips"]; put?: never; /** * Create a paperclips resource * @description No automatic lost-response retry. Notification outcome does not undo a committed domain edit. */ post: operations["createPaperclips"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/paperclips/items/{item_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read one paperclips resource */ get: operations["getPaperclips"]; put?: never; post?: never; /** * Delete a paperclips resource * @description Committed deletion remains successful if notification fails. Work items with children cannot be deleted. */ delete: operations["deletePaperclips"]; options?: never; head?: never; /** * Edit a paperclips resource * @description Use the displayed item validator. Reject readonly/unknown fields. No automatic lost-response retry. */ patch: operations["patchPaperclips"]; trace?: never; }; "/extensions/web-search/providers": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List web search providers in the order a search tries them * @description Requires enabled extension web-search. The global order lives in extensions.json. */ get: operations["listWebSearchProviders"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/web-search/providers/{name}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Move a web search provider up or down, or turn it on or off * @description A move past either end leaves the order as it was. */ post: operations["changeWebSearchProvider"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/skills/loads": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List the skills a session loaded * @description Requires enabled extension skills. Each skill the session's model or user loaded, once, first loaded first; the session's sidebar glance lists the same. */ get: operations["listSkillLoads"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/schedule/jobs": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List schedule resources * @description Requires enabled extension schedule. Lists may include bounded page descriptors and glances. */ get: operations["listSchedule"]; put?: never; /** * Create a schedule resource * @description No automatic lost-response retry. Notification outcome does not undo a committed domain edit. */ post: operations["createSchedule"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/schedule/jobs/{job_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read one schedule resource */ get: operations["getSchedule"]; put?: never; post?: never; /** * Delete a schedule resource * @description Committed deletion remains successful if notification fails. Work items with children cannot be deleted. */ delete: operations["deleteSchedule"]; options?: never; head?: never; /** * Edit a schedule resource * @description Use the displayed item validator. Reject readonly/unknown fields. No automatic lost-response retry. */ patch: operations["patchSchedule"]; trace?: never; }; "/extensions/honcho/sessions/{session_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read Honcho enrollment and delivery status */ get: operations["readHonchoSession"]; put?: never; /** Change Honcho delivery for this session */ post: operations["changeHonchoSession"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/links/groups": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read linked membership and presence * @description Only configuration view has the canonical membership ETag. Presence does not change that validator. A managed worktree uses its recorded origin's membership and validator. Unresolved legacy membership conflicts return 409 link_migration_conflict. */ get: operations["getLinkGroup"]; put?: never; /** * Merge two observed workspace groups * @description Check both observed validators in one owner commit. Human-only; domain commit and notifications are separate. No automatic lost-response retry. */ post: operations["mergeLinkGroups"]; /** * Remove a member from the observed group * @description Check membership at commit. Creates a singleton group; deletes no work or memory. Human-only. */ delete: operations["unlinkWorkspace"]; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/webhooks/hooks": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List hooks without secrets */ get: operations["listHooks"]; put?: never; /** * Create a hook and disclose its secret once * @description Default enabled=true, signature_header=X-Albedo-Signature and signature_prefix=sha256=. Missing secret generates one. Lost secret requires explicit rotation; never retry creation automatically. */ post: operations["createHook"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/webhooks/hooks/{hook_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read hook state or canonical configuration * @description ETag is present only on configuration view. Ordinary read exposes the configuration resource and validator plus runtime observations. */ get: operations["getHook"]; put?: never; post?: never; /** Delete a hook while retaining accepted deliveries */ delete: operations["deleteHook"]; options?: never; head?: never; /** * Edit the observed hook configuration * @description Target session and secret are not writable. Agent callers need that session permission; HTTP bearer clients are operators. */ patch: operations["patchHook"]; trace?: never; }; "/extensions/webhooks/hooks/{hook_id}/secret": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Rotate and disclose the hook secret once * @description If-Match is the observed hook configuration validator. Missing secret generates one. No automatic retry after a lost response. */ post: operations["rotateHookSecret"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/webhooks/hooks/{hook_id}/deliveries": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read accepted hook delivery metadata * @description Historical reads remain available after hook deletion while retained deliveries exist. */ get: operations["listHookDeliveries"]; put?: never; /** * Accept signed external data durably * @description Authenticate configured HMAC-SHA256 over the exact raw body. A daemon bearer is not a substitute. Signature header name and prefix come from hook configuration. Same event ID and body returns original admission; changed body conflicts. A hook whose session moved to another daemon answers 410 naming the url to send to there. Pending inbox limit 1000. Raw body maximum 65536 bytes. */ post: operations["deliverWebhook"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/webhooks/deliveries/{delivery_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read an accepted delivery payload */ get: operations["getDelivery"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/webhooks/permissions/{session_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read agent hook-management permission * @description Absent stored permission reads false with its initial canonical validator. */ get: operations["getHookPermission"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** * Set agent hook-management permission * @description Only operator callers can grant permission. Omission retains it; turning off management keeps existing hooks enabled. */ patch: operations["patchHookPermission"]; trace?: never; }; "/extensions/photon/status": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read the local iMessage pairing and transport readiness */ get: operations["getPhotonStatus"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/discord/bots": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** List Discord bots of every session without tokens */ get: operations["listDiscordBots"]; put?: never; /** * Create the Discord bot of a session * @description One bot per session (409 bot_exists). The token must have three dot-separated parts and is never returned. */ post: operations["createDiscordBot"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/discord/bots/{bot_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read a Discord bot and its live state */ get: operations["getDiscordBot"]; put?: never; post?: never; /** Delete a Discord bot and its channel and DM settings */ delete: operations["deleteDiscordBot"]; options?: never; head?: never; /** * Edit a Discord bot at an observed revision * @description A token or enabled change restarts or stops the bot process. A stale revision is 412 precondition_failed. */ patch: operations["patchDiscordBot"]; trace?: never; }; "/extensions/discord/bots/{bot_id}/guilds": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List the servers and channels the bot can see, with their delivery * @description Read live from the bot process; 503 bot_offline when the bot is not online. */ get: operations["listDiscordGuilds"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/discord/bots/{bot_id}/channels/{channel_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Set how a channel reaches the session * @description Delivery off removes the channel; threads follow their parent channel. */ put: operations["putDiscordChannel"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/discord/bots/{bot_id}/dms": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read the DM allow list and pending requests */ get: operations["getDiscordDMs"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/discord/bots/{bot_id}/dms/{user_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Allow a person to DM the session * @description A null name is resolved from Discord when the bot is online. Allowing removes a pending request. */ put: operations["putDiscordDM"]; post?: never; /** * Remove a person from the DM allow list * @description The owner cannot be removed (400). */ delete: operations["deleteDiscordDM"]; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/discord/bots/{bot_id}/requests/{user_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** Dismiss a pending DM request */ delete: operations["deleteDiscordRequest"]; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/proxy/v1/models": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List saved-profile OpenAI model IDs * @description External OpenAI envelope. Bearer required unless operator explicitly configured anonymous loopback access. */ get: operations["listProxyModels"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/proxy/v1/models/{id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read one saved-profile OpenAI model and its efforts * @description External OpenAI envelope. Bearer required unless operator explicitly configured anonymous loopback access. */ get: operations["getProxyModel"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/proxy/v1/chat/completions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Run a stateless OpenAI chat completion * @description Caller supplies full history. Tool IDs carry opaque provider state and must be echoed exactly. Bearer required unless anonymous loopback policy explicitly enabled. Providers apply only representable generation options; proxy transport documentation defines these differences. No automatic replay after request admission. */ post: operations["createProxyCompletion"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/run/sessions/{session_id}/jobs": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read bounded live job observations and the jobs page */ get: operations["listJobs"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/run/sessions/{session_id}/jobs/recent": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read the kernel's jobs, running and finished * @description What the session's kernel still knows of the jobs its run tool started, newest first, with up to 100 rows. Finished jobs stay for as long as the kernel keeps their output (its 64 newest). A session with no kernel has none. */ get: operations["listRecentJobs"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/run/sessions/{session_id}/jobs/{job_id}/output": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read a page of one job's output * @description Pages are byte ranges cut on character boundaries, so a reader that continues from `next_offset` loses none of what the job wrote; a running job's last character waits for the page after it. Without `offset` the page is the end of the output. Reading never counts as the model reading the job's result. */ get: operations["readJobOutput"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/run/sessions/{session_id}/jobs/{job_id}/stop": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Explicitly stop one observed process group * @description No automatic retry after response loss. Read the job collection before confirming another attempt. A successful response confirms the supervisor verdict, not just signal delivery. */ post: operations["stopJob"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/mail/sessions/{session_id}/queue": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Read what waits in the session's inbox and the queue page * @description Every input the session has not read yet, in the order it will read them, the first 200 shown. Reading never loads the session's kernel. */ get: operations["readQueue"]; put?: never; post?: never; /** * Drop everything waiting in the session's inbox * @description A person's waiting input is cancelled, as cancelling the input would. What the running turn already took stays with it. */ delete: operations["clearQueue"]; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/mail/sessions/{session_id}/queue/order": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Put waiting inputs first, in the order given * @description The listed inputs move to the front in this order; the rest keep their order after them. Ids that no longer wait are skipped. */ put: operations["arrangeQueue"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/mail/sessions/{session_id}/queue/{item_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** * Take one input out of the session's queue * @description A person's input is cancelled, as cancelling the input would. Fails with 404 `queue_item_not_found` when nothing with that id waits, including an input the running turn already took. */ delete: operations["dropQueued"]; options?: never; head?: never; patch?: never; trace?: never; }; "/extensions/mail/sessions/{session_id}/queue/{item_id}/first": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Move one waiting input to the front of the queue */ post: operations["moveQueuedFirst"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/settings/providers": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read providers settings */ get: operations["getProviderSettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit providers settings */ patch: operations["patchProviderSettings"]; trace?: never; }; "/settings/mcp": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read mcp settings */ get: operations["getMCPSettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit mcp settings */ patch: operations["patchMCPSettings"]; trace?: never; }; "/settings/extensions": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read extensions settings */ get: operations["getExtensionSettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit extensions settings */ patch: operations["patchExtensionSettings"]; trace?: never; }; "/settings/extension_settings": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read extension_settings settings */ get: operations["getDeclaredSettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit extension_settings settings */ patch: operations["patchDeclaredSettings"]; trace?: never; }; "/settings/capabilities": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read capabilities settings */ get: operations["getCapabilitySettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit capabilities settings */ patch: operations["patchCapabilitySettings"]; trace?: never; }; "/settings/models": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read models settings */ get: operations["getModelSettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit models settings */ patch: operations["patchModelSettings"]; trace?: never; }; "/settings/ui": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read ui settings */ get: operations["getUISettings"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit ui settings */ patch: operations["patchUISettings"]; trace?: never; }; "/sessions/{session_id}/configuration": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read session configuration */ get: operations["getSessionConfiguration"]; put?: never; post?: never; delete?: never; options?: never; head?: never; /** Edit session configuration */ patch: operations["patchSession"]; trace?: never; }; "/sessions/{session_id}/status": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read session status */ get: operations["getSessionStatus"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/events": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read session events */ get: operations["watchSession"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/workspace": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** Move a session workspace */ post: operations["moveSessionWorkspace"]; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/requests": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read RequestRecordPage */ get: operations["getSessionRequests"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/context/{snapshot_id}/sections/{section_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read ContextSectionPage */ get: operations["getContextSection"]; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; "/sessions/{session_id}/compactions/{action_id}": { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** Read a compaction receipt */ get: operations["getCompaction"]; /** Admit identified compaction */ put: operations["putCompaction"]; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { TransferPreflight: { available: boolean; /** @description Why the move is unavailable, in words for a person. */ reason: string | null; /** @description The stable code of the refusal that makes the move unavailable, null when it is available or the target was out of reach. It is the code a move would fail with, such as `transfer_target_older` (a missing extension, table, version or column), `transfer_extension_unavailable` (an extension that failed to load there), `transfer_protocol`, `session_busy`, `session_moved` or `profile_unavailable`. Daemons before this field omit it. */ code?: string | null; target_daemon: components["schemas"]["TransferTargetDaemon"]; /** @description The move's size, when known before export. */ bytes: number | null; /** @description The session and its same-workspace descendants, which move together. */ sessions: components["schemas"]["ID"][]; /** @description Whether each session can run on the target, in the order of sessions; empty when the target was not reached. A session that can't and has no alternative makes available false with its reason; one with alternatives leaves the pick to the client (the move's profiles). */ runs_there: components["schemas"]["TransferRunsThere"][]; }; ForwardedLetter: { id: string; recipient: components["schemas"]["ID"]; sender: components["schemas"]["ID"]; sender_name: string; /** @enum {string} */ kind: "task" | "request" | "message" | "result" | "unreviewed"; body: string; }; ForwardedAck: { id: string; /** @description Why the letter was not admitted; null when it was. */ error: string | null; /** @description Send it again later (a full inbox) rather than bouncing it. */ retry: boolean; }; TransferRunsThere: { session_id: components["schemas"]["ID"]; /** @description The session's family name, else its name or title. */ name: string; /** @description The target has this profile and it offers this model. */ ok: boolean; profile: string; model: string; /** @description Why it can't run there, in words for a person. */ reason: string | null; /** @description The target's other profiles offering the model, when this one does not. */ alternatives: string[]; }; /** @description What a source's export would list, without the data. Each table is a rows segment. An owner that carries files and no tables, but has files to send, is one file segment, whose owner is checked as staging checks a file's owner. */ TransferShape: { protocol: number; segments: { /** @enum {string} */ kind: "rows" | "file"; owner: string; name: string; version: number; columns: string[]; }[]; }; TransferRunsThereRequest: { sessions: components["schemas"]["TransferSessionProfile"][]; /** @description Sessions to switch to another profile as they go live, session id to profile. */ profiles?: { [key: string]: string; }; }; TransferSessionProfile: { session_id: components["schemas"]["ID"]; profile: string; model: string; }; TransferTargetDaemon: { host: string; protocol: number | null; home: string | null; }; Move: { id: string; session_id: components["schemas"]["ID"]; /** @description [user@]host:/absolute/path */ target: string; /** * @description At checklist the target is live and the sessions here still are too, until finish disarms the bindings and marks them moved. * @enum {string} */ state: "checking" | "exporting" | "copying" | "activating" | "checklist" | "active" | "failed"; /** @description Why the move waits, such as a turn still running or the target out of reach. */ reason: string | null; progress: components["schemas"]["MoveProgress"]; error: components["schemas"]["MoveError"] | null; target_session_id: string | null; target_home: string | null; /** @description What the target could not restore, such as the python namespace. */ lost: string[]; /** @description What finish disarms here, listed from checklist on. */ bindings: components["schemas"]["MoveBinding"][]; }; MoveBinding: { /** @enum {string} */ kind: "schedule" | "heartbeat" | "webhook" | "discord"; id: string; label: string; /** @description A schedule's prompt and cadence, a webhook's name, the bot's name and channels. */ detail: string; /** @description The webhook url senders post to here. */ old_url: string | null; /** @description The webhook url on the target to point senders at; null when the target has none. */ new_url: string | null; /** @enum {string} */ status: "pending" | "disarmed" | "failed"; /** @description Why disarming this binding failed. */ error: string | null; }; TransferOccurrences: { occurrences: components["schemas"]["TransferOccurrence"][]; }; TransferOccurrence: { /** @enum {string} */ kind: "schedule" | "webhook" | "letter"; /** @description The schedule's id on the source, the hook id, or empty for a letter. */ origin: string; /** @description The due time in unix seconds, the event id, or the letter id. */ key: string; /** @description The delivery id the source gave a webhook event. */ detail?: string | null; }; MoveProgress: { bytes_done: number; bytes_total: number; }; MoveError: { /** @description Why the move failed. `transfer_target_older` is a target too old to take a table version or column this daemon sends; moves go only from an older daemon to a newer one. `transfer_unsupported` is a target without an extension or table this daemon sends, because it is older or the extension failed to load there. `transfer_extension_unavailable` is a target whose extension failed to load. The detail is the target's own refusal, naming the first thing it lacks. */ code: string; detail: string; }; SessionMovePending: { transfer_id: string; host: string; }; SessionMoved: { host: string; /** @description [user@]host:/absolute/path */ workspace: string; transfer_id: string; at: components["schemas"]["Timestamp"]; }; TransferManifest: { protocol: number; id: string; /** @description The source home's identity. */ origin: string; root: string; workspace: string; sessions: string[]; /** @description The highest transcript position exported. */ watermark: number; segments: { /** @enum {string} */ kind: "rows" | "file"; owner: string; name: string; version: number; columns: string[]; rows: number; bytes: number; /** @description SHA-256, lowercase hex. */ digest: string; }[]; }; TransferStatus: { /** * @description importing and installing are still inert; active is live. * @enum {string} */ state: "staging" | "ready" | "importing" | "installing" | "active" | "cancelling" | "cancelled"; bytes: number; received: number[]; rows: { done: number; total: number; }; /** @description The root session, the same id as on the source. */ session_id: string; /** @description This daemon's home. */ home: string; /** @description What could not be restored, such as "python namespace". */ lost: string[]; /** @description Why activation last stopped; a retry resumes it. */ error: { code: string; detail: string; } | null; }; /** @description The interactive terminal session was closed and its process group ended. */ TerminalClose: { closed: components["schemas"]["ID"]; }; /** @description Opaque identity. Never infer a resource type or route from its contents. */ ID: string; /** * Format: uuid * @description Client-generated lowercase UUIDv7. Retained decisions are checked before timestamp expiry. */ UUIDv7: string; /** @description 128 random bits encoded as unpadded base64url; new for each session actor lifetime. */ Generation: string; Counter: number; /** * Format: date-time * @description UTC RFC 3339. */ Timestamp: string; /** @description Opaque continuation, tied to the query and representation; never authority. */ PageToken: string; /** @description Strong opaque validator for the complete canonical representation. */ ETag: string; /** @description Daemon-relative URL, including any representation query. No foreign origin or fragment. */ ResourceURL: string; /** @description Canonical daemon-host location, local or SSH. Clients do not resolve this path locally. */ Workspace: string; SafeReason: { code: string; detail: string; }; Warnings: components["schemas"]["SafeReason"][]; /** @description Explicit domain payload: tool arguments, tool results, provider-private state, or extension data. JSON values of any type are allowed; no core resource uses this as its envelope. */ DynamicJSON: unknown; /** * @example { * "type": "about:blank", * "title": "Queue full", * "status": 429, * "detail": "the session's inbox is full", * "code": "queue_full", * "decision": { * "kind": "input", * "input": { * "id": "01a0fcea-2b00-7000-8000-000000000002", * "session_id": "01a0fcea-2b00-7000-8000-000000000001", * "kind": "message", * "admission": "rejected", * "http_status": 429, * "problem": { * "type": "about:blank", * "title": "Queue full", * "status": 429, * "detail": "the session's inbox is full", * "code": "queue_full" * }, * "accepted_at": null, * "acceptance_order": null, * "delivery": null, * "blocking_reason": null, * "transcript_position": null, * "turn": null, * "client_id": "draft-1" * } * } * } */ Problem: { /** @constant */ type: "about:blank"; title: string; status: number; detail: string; code: string; fields?: { pointer: string; detail: string; }[]; decision?: components["schemas"]["CreationDecision"] | components["schemas"]["InputDecision"]; }; EmptyRequest: Record; Cursor: { generation: components["schemas"]["Generation"]; sequence: components["schemas"]["Counter"]; }; ResourceValidator: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; }; Notification: { /** @enum {string} */ state: "not_requested" | "queued" | "failed"; code: string | null; detail: string | null; }; TargetNotification: { session_id: components["schemas"]["ID"]; notification: components["schemas"]["Notification"]; }; QuotaObservation: { sequence: components["schemas"]["Counter"]; provider: components["schemas"]["ID"]; account_id: components["schemas"]["ID"]; limit_id: string; label: string; plan: string | null; used_percent: number | null; window_label: string | null; window_seconds: components["schemas"]["Counter"] | null; resets_at: components["schemas"]["Timestamp"] | null; scope: string | null; status: string; source: string; error: components["schemas"]["SafeReason"] | null; observed_at: components["schemas"]["Timestamp"]; }; QuotaPage: { items: components["schemas"]["QuotaObservation"][]; next: components["schemas"]["PageToken"] | null; }; /** @description Installed extension and its resolved global default, independent of session overrides. */ GlobalExtension: { id: components["schemas"]["ID"]; /** @description Display name from the extension's declarations. Absent from older daemons. */ title?: string; description: string; requires: components["schemas"]["ID"][]; enabled: boolean; quarantined: boolean; diagnostic: string | null; }; /** * @example { * "instance_id": "instance-1", * "protocol": 4, * "state": "ready", * "capabilities": { * "durable_inputs": 1, * "session_replay": 1, * "collection_invalidation": 1, * "tool_progress": 1, * "storage_report": 1 * }, * "build": "example-build", * "digest": null, * "extensions": [ * { * "name": "work", * "version": 1 * } * ], * "quota": null, * "notices": [] * } */ Server: { instance_id: components["schemas"]["ID"]; /** @description OS process id of the daemon VM. Clients check it against daemon.json when present. Absent from daemons that predate this field. */ pid?: number; /** @constant */ protocol: 4; /** @enum {string} */ state: "ready" | "draining"; capabilities: { [key: string]: number; }; build: string | null; /** @description Content digest of the running code tree; update information, not attachment compatibility. */ digest: string | null; /** @description Digest of the HTTP contract this daemon serves (docs/openapi.yaml without prose or examples), as cli/tools/apigen computes it. A client generated from a different digest may reject responses, so it refuses to attach and names the side to rebuild or restart. Absent from daemons that predate it. */ api_digest?: string; extensions: { name: components["schemas"]["ID"]; version: number; }[]; quota: components["schemas"]["QuotaObservation"][] | null; notices: { id: components["schemas"]["ID"]; /** @enum {string} */ kind: "info" | "warning" | "migration"; message: string; }[]; /** @description Returned only with include=extensions. Includes disabled and quarantined extensions; never prepares a session. */ extension_inventory?: components["schemas"]["GlobalExtension"][]; quota_history?: components["schemas"]["QuotaPage"]; }; ShutdownRequest: { instance_id: components["schemas"]["ID"]; /** @default 5000 */ timeout_ms: number; /** * @description End every Python kernel this daemon holds instead of leaving them running for the next daemon to attach to. Sessions save their variables first, as when they go idle; running jobs end. * @default false */ stop_kernels: boolean; }; Shutdown: { instance_id: components["schemas"]["ID"]; /** @constant */ state: "draining"; }; ProviderProfile: { extension: components["schemas"]["ID"]; /** @description Bedrock API mode. Null or omission means messages; replay protocol is unchanged. */ api?: ("messages" | "converse") | null; endpoint: string | null; /** @enum {string} */ protocol: "responses" | "chat_completions"; model: components["schemas"]["ID"]; /** @description Profile reasoning override. A supported level overrides the model default for inheriting sessions. Null, inherit, or default leaves the model default in control. */ effort: string | null; image_edge: number | null; account_id: components["schemas"]["ID"] | null; /** @description Accounts this profile uses, in order, by id. Null when it does not rotate. Exclusive with `account_id`; with neither, a profile uses one account (its saved key, the environment key, or the provider's selected or first account) and never switches. `rotation` says how the list is used. */ account_ids: components["schemas"]["ID"][] | null; /** * @description How `account_ids` is used. `failover` uses the first ready account and moves down the list after a limit. `spread` starts each new session (every agent is a session) on the next ready account in turn and keeps it there for the session's life, so its prompt cache stays warm; it moves only when that account is limited or needs sign-in, and stays on the account it moved to. `first` uses only the first and waits out its limit. Ignored without `account_ids`. * @default failover * @enum {string} */ rotation: "failover" | "spread" | "first"; project: string | null; location: string | null; has_key: boolean; }; /** @description Partial existing profile; extension and model required when creating a new map entry. */ ProviderProfilePatch: { extension?: components["schemas"]["ID"]; /** * @description Bedrock API mode. Omission preserves an existing value; new and legacy profiles without a value use messages; converse selects streaming Converse. * @enum {string} */ api?: "messages" | "converse"; endpoint?: string | null; /** @enum {string} */ protocol?: "responses" | "chat_completions"; model?: components["schemas"]["ID"]; /** @description Profile reasoning override. A supported level overrides the model default for inheriting sessions. Null, inherit, or default leaves the model default in control. */ effort?: string | null; image_edge?: number | null; account_id?: components["schemas"]["ID"] | null; /** @description Accounts this profile uses, in order, by id. Null when it does not rotate. Exclusive with `account_id`; with neither, a profile uses one account (its saved key, the environment key, or the provider's selected or first account) and never switches. `rotation` says how the list is used. */ account_ids?: components["schemas"]["ID"][] | null; /** * @description How `account_ids` is used. `failover` uses the first ready account and moves down the list after a limit. `spread` starts each new session (every agent is a session) on the next ready account in turn and keeps it there for the session's life, so its prompt cache stays warm; it moves only when that account is limited or needs sign-in, and stays on the account it moved to. `first` uses only the first and waits out its limit. Ignored without `account_ids`. * @enum {string} */ rotation?: "failover" | "spread" | "first"; project?: string | null; location?: string | null; api_key?: string | null; }; ProviderSettings: { default_profile: components["schemas"]["ID"] | null; profiles: { [key: string]: components["schemas"]["ProviderProfile"]; }; }; /** * @description Removing the selected profile requires replacing or clearing default_profile in this same patch. * @example { * "default_profile": "personal", * "profiles": { * "personal": { * "extension": "openai", * "endpoint": "https://provider.example/v1", * "protocol": "responses", * "model": "example-model", * "effort": null, * "image_edge": null, * "account_id": null, * "project": null, * "location": null, * "api_key": "synthetic-example-key" * } * } * } */ ProviderSettingsPatch: { default_profile?: components["schemas"]["ID"] | null; profiles?: { [key: string]: components["schemas"]["ProviderProfilePatch"] | null; }; /** @description Existing profile names mapped to new ones, applied before profiles, which then use the new names. The saved key, default_profile and every session on the old name follow. An unknown old name is 409 unknown_profile; a new name another profile already has is 409 profile_exists. */ renames?: { [key: string]: components["schemas"]["ID"]; }; }; /** @description For env, value is a daemon-host environment variable name. */ ValueSource: { /** @enum {string} */ source: "literal" | "env"; value: string; }; SecretPresence: { bearer_token: boolean; environment: string[]; headers: string[]; }; /** @description A server's OAuth sign-in. none until the server asks for one; needs_sign_in when it asked and albedo has no usable token, signed_in, or signed_out after the user signed out. Start a sign-in with PUT /auth/logins/{login_id} and provider mcp:. Tokens and client secrets never appear. */ MCPAuth: { /** @enum {string} */ state: "none" | "needs_sign_in" | "signed_in" | "signed_out"; account: string | null; expires_at: string | null; scope: string | null; /** @description The wider scope a signed-in server asked for; signing in again grants it. */ step_up: string | null; reason: string | null; /** @description configured when the user set a client id, registered when albedo registered itself. */ client: ("configured" | "registered") | null; }; MCPDefinition: { enabled: boolean; /** @enum {string} */ transport: "stdio" | "http"; command: string | null; arguments: string[]; cwd: components["schemas"]["Workspace"] | null; url: string | null; environment: { [key: string]: components["schemas"]["ValueSource"]; }; headers: { [key: string]: components["schemas"]["ValueSource"]; }; bearer_token_env_var: string | null; enabled_tools: string[] | null; disabled_tools: string[]; startup_timeout_ms: number; call_timeout_ms: number; secret_presence: components["schemas"]["SecretPresence"]; auth: components["schemas"]["MCPAuth"]; }; MCPSecretsPatch: { bearer_token?: string | null; environment?: { [key: string]: string | null; }; headers?: { [key: string]: string | null; }; /** @description Null signs the server out of its OAuth sign-in. */ oauth?: null; /** @description A client the user registered with the server's authorization server, used instead of registering albedo; null forgets it. */ oauth_client?: { client_id: string; client_secret?: string | null; } | null; }; /** @description Partial merge patch. Public and secret sources cannot overlap. HTTP and stdio fields are validated against transport on the complete candidate. Public environment/header entries accept null removal; a null whole map clears it. Switching credential sources removes the former source in the same patch. */ MCPDefinitionPatch: { enabled?: boolean; /** @enum {string} */ transport?: "stdio" | "http"; command?: string | null; arguments?: string[]; cwd?: components["schemas"]["Workspace"] | null; url?: string | null; environment?: { [key: string]: components["schemas"]["ValueSource"] | null; } | null; headers?: { [key: string]: components["schemas"]["ValueSource"] | null; } | null; bearer_token_env_var?: string | null; enabled_tools?: string[] | null; disabled_tools?: string[]; startup_timeout_ms?: number; call_timeout_ms?: number; secrets?: components["schemas"]["MCPSecretsPatch"]; }; MCPSettings: { definitions: { [key: string]: components["schemas"]["MCPDefinition"]; }; }; /** * @description Validate candidate connections before atomic commit unless explicitly disabled. * @example { * "validate_connection": true, * "definitions": { * "example": { * "enabled": true, * "transport": "http", * "url": "https://tools.example/mcp", * "secrets": { * "bearer_token": "synthetic-example-token" * } * } * } * } */ MCPSettingsPatch: { definitions?: { [key: string]: components["schemas"]["MCPDefinitionPatch"] | null; }; /** @default true */ validate_connection: boolean; }; ExtensionSettings: { defaults: { [key: string]: boolean; }; }; ExtensionSettingsPatch: { defaults?: { [key: string]: boolean | null; }; }; CapabilitySettings: { preferences: { [key: string]: boolean; }; }; /** @description Resolve candidate IDs to stable preference keys under the observed catalog revision. */ CapabilitySettingsPatch: { catalog_session_id: components["schemas"]["ID"]; catalog_revision: components["schemas"]["ID"]; choices: { [key: string]: boolean | null; }; }; CachePrior: { provider: components["schemas"]["ID"]; model: components["schemas"]["ID"] | null; ttl_seconds: number | null; source: string; }; ModelSettings: { raised_caps: { [key: string]: boolean; }; compact_at?: { [key: string]: number; }; cache_ttl_priors: components["schemas"]["CachePrior"][]; }; /** @description Keys are cap_key values from model metadata. For raised_caps, true raises to the advertised maximum; false uses the ordinary limit; null clears the choice. A missing choice defaults to false. For compact_at, a token count is the window every session on that model compacts against, as long as it is below the model's window; null clears it. Only raised_caps and compact_at are writable. */ ModelSettingsPatch: { raised_caps?: { [key: string]: boolean | null; }; compact_at?: { [key: string]: number | null; }; }; UISettings: { /** @description Sender label shared by web and terminal chats. Empty uses albedo. */ assistant_name?: string; thinking: boolean; tools: boolean; dismissed_notices: components["schemas"]["ID"][]; /** @description Networks `albedo web` serves to besides this machine, as CIDR or an address whose trailing zero octets stand for any (10.0.0.0 is 10.0.0.0/8). A bare unspecified address (0.0.0.0) is refused; 0.0.0.0/0 or ::/0 allows every client. */ web_allow?: string[]; /** @description Networks `albedo proxy` serves to besides this machine, as CIDR or an address whose trailing zero octets stand for any (10.0.0.0 is 10.0.0.0/8). A bare unspecified address (0.0.0.0) is refused; 0.0.0.0/0 or ::/0 allows every client. */ proxy_allow?: string[]; }; UISettingsPatch: { /** @description Sender label shared by web and terminal chats. Empty uses albedo. */ assistant_name?: string; thinking?: boolean; tools?: boolean; dismissed_notices?: components["schemas"]["ID"][]; /** @description Networks `albedo web` serves to besides this machine, as CIDR or an address whose trailing zero octets stand for any (10.0.0.0 is 10.0.0.0/8). A bare unspecified address (0.0.0.0) is refused; 0.0.0.0/0 or ::/0 allows every client. */ web_allow?: string[]; /** @description Networks `albedo proxy` serves to besides this machine, as CIDR or an address whose trailing zero octets stand for any (10.0.0.0 is 10.0.0.0/8). A bare unspecified address (0.0.0.0) is refused; 0.0.0.0/0 or ::/0 allows every client. */ proxy_allow?: string[]; }; DeclaredSetting: { /** @description The key in the section of extensions.json. */ key: string; label: string; description: string; /** * @description integer takes a whole number from minimum to maximum; text takes a non-empty string of at most 4096 bytes; limit takes a whole number from minimum to maximum, or -1 for no limit; map takes an object of at most 64 names to text, each name 1 to 64 bytes without whitespace or =, each value text, and unset reads as empty; choices takes an object like map whose values are each one of options or a name in the section's options_from map, a row left out being unset. * @enum {string} */ kind: "integer" | "text" | "limit" | "map" | "choices"; /** @description What the section's owner uses while nothing is saved. Null when leaving the setting unset has a meaning of its own, which the description gives. */ default: number | string | null; /** @description The smallest integer accepted; null for text and map. */ minimum: number | null; /** @description The largest integer accepted; null for text and map. */ maximum: number | null; /** @description The saved value, or null when nothing is saved and the default applies. A saved value of the wrong kind reads as null, and the section's problem names it. */ value: number | string | { [key: string]: string; } | null; /** @description The rows a choices setting offers; null for other kinds. */ rows: components["schemas"]["DeclaredSettingRow"][] | null; /** @description The fixed choices of a choices setting. */ options: string[] | null; /** @description The map field in this section whose names are options too. */ options_from: string | null; }; DeclaredSettingRow: { name: string; /** @description What leaving the row unset means. */ unset: string; }; DeclaredSettingsSection: { /** @description The section's key in extensions.json. The daemon's own sections take names no extension may have; every other section is named after the extension that declares it. */ name: components["schemas"]["ID"]; /** @description What the section configures, for a reader who does not know who declares it. */ label: string; /** * @description The part of /config the section belongs to. web_search is what web_search asks and where; context is how a session's context is kept within its window; agents is how many agents a session may spawn and how deep; models_and_caching is the model catalog and prompt cache warming; tools is what the agent drives or reaches, such as MCP servers, remote kernels and the desktop. * @enum {string} */ category: "web_search" | "context" | "agents" | "models_and_caching" | "tools"; description: string; fields: components["schemas"]["DeclaredSetting"][]; /** @description Why the section's owner cannot use its saved section, when it cannot. */ problem: string | null; }; DeclaredSettings: { /** @description The daemon's own sections, then the sections installed extensions declare, in registry order. */ sections: components["schemas"]["DeclaredSettingsSection"][]; }; DeclaredSettingsPatch: { /** @description Section name to declared key to value. A value replaces the saved one; null removes it so the default applies. Unknown sections, undeclared keys, values outside the declaration, and a section its owner's own check rejects are refused, and nothing is saved. */ values: { [key: string]: { [key: string]: number | string | { [key: string]: string; } | null; }; }; }; ProviderSettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["ProviderSettings"]; }; MCPSettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["MCPSettings"]; }; ExtensionSettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["ExtensionSettings"]; }; DeclaredSettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["DeclaredSettings"]; }; CapabilitySettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["CapabilitySettings"]; }; ModelSettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["ModelSettings"]; }; UISettingsResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["UISettings"]; }; Settings: { providers: components["schemas"]["ProviderSettings"]; mcp: components["schemas"]["MCPSettings"]; extensions: components["schemas"]["ExtensionSettings"]; extension_settings: components["schemas"]["DeclaredSettings"]; capabilities: components["schemas"]["CapabilitySettings"]; models: components["schemas"]["ModelSettings"]; ui: components["schemas"]["UISettings"]; group_resources: { providers: components["schemas"]["ResourceValidator"]; mcp: components["schemas"]["ResourceValidator"]; extensions: components["schemas"]["ResourceValidator"]; extension_settings: components["schemas"]["ResourceValidator"]; capabilities: components["schemas"]["ResourceValidator"]; models: components["schemas"]["ResourceValidator"]; ui: components["schemas"]["ResourceValidator"]; }; }; SettingsRead: components["schemas"]["Settings"] | components["schemas"]["ProviderSettings"] | components["schemas"]["MCPSettings"] | components["schemas"]["ExtensionSettings"] | components["schemas"]["DeclaredSettings"] | components["schemas"]["CapabilitySettings"] | components["schemas"]["ModelSettings"] | components["schemas"]["UISettings"]; /** @description The group query selects the one applicable patch schema. It is an error to send fields for another group. */ SettingsPatch: components["schemas"]["ProviderSettingsPatch"] | components["schemas"]["MCPSettingsPatch"] | components["schemas"]["ExtensionSettingsPatch"] | components["schemas"]["DeclaredSettingsPatch"] | components["schemas"]["CapabilitySettingsPatch"] | components["schemas"]["ModelSettingsPatch"] | components["schemas"]["UISettingsPatch"]; SettingsApplication: { desired_revision: components["schemas"]["ID"]; active_service_revision: components["schemas"]["ID"] | null; /** @description Whether this save changed the desired composition, so loaded sessions need a reload to apply it. Always false for providers, extension_settings, models and ui. A concurrent save to another composition group can make it true. GET /sessions?needs_reload=true lists the sessions. */ composition_changed: boolean; /** @enum {string} */ validation: "passed" | "skipped" | "not_applicable"; warnings: components["schemas"]["Warnings"]; }; ProviderSettingsChange: { /** @constant */ group: "providers"; resource: components["schemas"]["ProviderSettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; MCPSettingsChange: { /** @constant */ group: "mcp"; resource: components["schemas"]["MCPSettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; ExtensionSettingsChange: { /** @constant */ group: "extensions"; resource: components["schemas"]["ExtensionSettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; DeclaredSettingsChange: { /** @constant */ group: "extension_settings"; resource: components["schemas"]["DeclaredSettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; CapabilitySettingsChange: { /** @constant */ group: "capabilities"; resource: components["schemas"]["CapabilitySettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; ModelSettingsChange: { /** @constant */ group: "models"; resource: components["schemas"]["ModelSettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; UISettingsChange: { /** @constant */ group: "ui"; resource: components["schemas"]["UISettingsResource"]; application: components["schemas"]["SettingsApplication"]; }; SettingsChange: components["schemas"]["ProviderSettingsChange"] | components["schemas"]["MCPSettingsChange"] | components["schemas"]["ExtensionSettingsChange"] | components["schemas"]["DeclaredSettingsChange"] | components["schemas"]["CapabilitySettingsChange"] | components["schemas"]["ModelSettingsChange"] | components["schemas"]["UISettingsChange"]; /** @description One day of the client's, with what the provider calls used in it. */ UsageDay: { start: components["schemas"]["Timestamp"]; calls: components["schemas"]["Counter"]; errors: components["schemas"]["Counter"]; input_tokens: components["schemas"]["Counter"]; cached_input_tokens: components["schemas"]["Counter"]; cache_creation_tokens: components["schemas"]["Counter"]; output_tokens: components["schemas"]["Counter"]; reasoning_tokens: components["schemas"]["Counter"]; }; /** @description What one profile, account and model used over the whole window. */ UsageLine: { profile: string; provider: string; /** @description Null for a provider without an account pool. */ account: string | null; model: string; calls: components["schemas"]["Counter"]; errors: components["schemas"]["Counter"]; input_tokens: components["schemas"]["Counter"]; cached_input_tokens: components["schemas"]["Counter"]; cache_creation_tokens: components["schemas"]["Counter"]; output_tokens: components["schemas"]["Counter"]; reasoning_tokens: components["schemas"]["Counter"]; }; /** @description One provider and account that used the window, named as `lines` names them. */ UsageScope: { provider: string; /** @description Null for a provider without an account pool. */ account: string | null; }; UsageSummary: { generated_at: components["schemas"]["Timestamp"]; utc_offset_minutes: number; /** @description Oldest first, one for each day asked for, empty days included. A day counts only the rows the requested `provider` and `account` match. */ days: components["schemas"]["UsageDay"][]; /** @description Most used first, at most 100 of what the request matches; `lines_truncated` says more matched than are listed. */ lines: components["schemas"]["UsageLine"][]; /** @description Every provider and account with use in the window, before `provider` and `account` narrow the totals, so a client can offer what it is not showing. At most 200, sorted by provider then account. */ scopes: components["schemas"]["UsageScope"][]; /** @description Whether more profile, account and model lines matched than `lines` lists. */ lines_truncated: boolean; /** @description Whether more provider and account scopes used the window than `scopes` lists. */ scopes_truncated: boolean; }; StorageSession: { id: components["schemas"]["ID"]; title: string; workspace: components["schemas"]["Workspace"]; created_at: components["schemas"]["Timestamp"] | null; activity_at: components["schemas"]["Timestamp"] | null; estimated_content_bytes: components["schemas"]["Counter"]; }; StorageFile: { path: string; /** @enum {string} */ category: "kernel" | "backup" | "other"; bytes: components["schemas"]["Counter"]; modified_at: components["schemas"]["Timestamp"] | null; cleanup_candidate: boolean; cleanup_reason: string | null; }; StorageSessionPage: { items: components["schemas"]["StorageSession"][]; next: components["schemas"]["PageToken"] | null; total_count: components["schemas"]["Counter"]; total_estimated_content_bytes: components["schemas"]["Counter"]; }; StorageFilePage: { items: components["schemas"]["StorageFile"][]; next: components["schemas"]["PageToken"] | null; totals: { kernel_bytes: components["schemas"]["Counter"]; backup_bytes: components["schemas"]["Counter"]; other_bytes: components["schemas"]["Counter"]; shell_output_bytes: components["schemas"]["Counter"]; recent_backup_bytes: components["schemas"]["Counter"]; recent_backup_count: components["schemas"]["Counter"]; }; }; /** * @example { * "database": { * "main_file_bytes": 8192, * "wal_bytes": 0, * "page_size_bytes": 4096, * "page_count": 2, * "free_page_count": 0, * "used_bytes": 8192 * }, * "sessions": { * "items": [], * "next": null, * "total_count": 0, * "total_estimated_content_bytes": 0 * }, * "images": { * "count": 0, * "bytes": 0 * }, * "files": { * "items": [], * "next": null, * "totals": { * "kernel_bytes": 0, * "backup_bytes": 0, * "other_bytes": 0, * "shell_output_bytes": 0, * "recent_backup_bytes": 0, * "recent_backup_count": 0 * } * }, * "measured_at": "2026-10-02T14:00:00Z" * } */ StorageReport: { database: { main_file_bytes: components["schemas"]["Counter"]; wal_bytes: components["schemas"]["Counter"]; page_size_bytes: components["schemas"]["Counter"]; page_count: components["schemas"]["Counter"]; free_page_count: components["schemas"]["Counter"]; used_bytes: components["schemas"]["Counter"]; }; sessions: components["schemas"]["StorageSessionPage"]; images: { count: components["schemas"]["Counter"]; bytes: components["schemas"]["Counter"]; }; files: components["schemas"]["StorageFilePage"]; measured_at: components["schemas"]["Timestamp"]; }; /** @description Live progress for the current compaction, not a durable transcript entry. Counts cover the current stage or batch, not the whole compaction. */ CompactionProgress: { strategy: string; /** @enum {string} */ stage: "preparing" | "summarizing" | "merging" | "notes"; completed: number; total: number | null; active?: number; /** Format: date-time */ started_at: string; }; SessionStatus: { /** @enum {string} */ phase: "idle" | "preparing" | "generating" | "running" | "interrupting" | "compacting"; run_id: components["schemas"]["ID"] | null; interrupt_requested: boolean; blocking_reason: components["schemas"]["SafeReason"] | null; /** @description Present while this run is preparing compacted history; absent or null otherwise. */ compaction?: components["schemas"]["CompactionProgress"] | null; }; Preview: { text: string; transcript_count: components["schemas"]["Counter"]; truncated: boolean; }; SessionPreferences: { pinned: boolean; pin_order: components["schemas"]["Counter"] | null; archived: boolean; opens: components["schemas"]["Counter"]; }; PreferencePatch: { pinned?: boolean; archived?: boolean; /** @description Moves the session among the pinned, before this pinned session, or last when null. The session must be pinned, in this patch or already. Fails with 409 `pin_target_invalid` when the target is not pinned, and 400 `pin_move_unpinned` when the session is not. Only this session is renumbered when a number is free between its new neighbours; otherwise the fewest neighbours shift in the same commit and are named in the collection stream's `invalidate` event. A shift changes their ETag, not their revision, so a change already admitted against them still commits. */ pin_before?: components["schemas"]["ID"] | null; }; ProgressPreview: { offset_scalars: components["schemas"]["Counter"]; text: string; }; /** * @example { * "call_id": "progress-1", * "tool_call_id": null, * "name": "python", * "phase": "generating", * "intent": "unknown", * "title": "find which go files label python cells", * "preview": { * "offset_scalars": 0, * "text": "print(\"hello\")" * } * } */ ToolProgress: { call_id: components["schemas"]["ID"]; tool_call_id: string | null; name: string; /** @enum {string} */ phase: "generating" | "running"; /** @enum {string} */ intent: "read" | "search" | "list" | "run" | "unknown"; title?: string | null; preview?: components["schemas"]["ProgressPreview"]; }; AgentRequest: { input_id: components["schemas"]["ID"]; text: string; }; Activity: { lines: { /** @enum {string} */ kind: "assistant" | "thinking" | "tool" | "input" | "note" | "error"; text: string; }[]; output_scalars: components["schemas"]["Counter"]; output_utf8_bytes: components["schemas"]["Counter"]; observed_at: components["schemas"]["Timestamp"]; latest_input: { input_id: components["schemas"]["ID"]; /** @enum {string} */ source: "chat" | "agent" | "system"; bytes: components["schemas"]["Counter"]; } | null; current_request?: components["schemas"]["AgentRequest"] | null; latest_progress?: string | null; latest_answer: { message_id: components["schemas"]["ID"]; bytes: components["schemas"]["Counter"]; } | null; }; /** @description Parsed workspace and daemon-resolved display label. Reading this metadata does not connect to the remote host. */ SessionLocation: { host: string | null; user: string | null; path: string; label: string | null; }; /** @description Session live fields and cursor are captured together. ACP attachment metadata is read separately. Extra response fields may be ignored. */ SessionSummary: { configuration_etag?: components["schemas"]["ETag"]; id: components["schemas"]["ID"]; name: string; automatic_name: string; location: components["schemas"]["SessionLocation"]; workspace: components["schemas"]["Workspace"]; parent_id: components["schemas"]["ID"] | null; root_id: components["schemas"]["ID"]; role: string; started_by: components["schemas"]["ID"] | null; address: string | null; depth: number; closed: boolean; created_at: components["schemas"]["Timestamp"] | null; activity_at: components["schemas"]["Timestamp"] | null; provider_profile: components["schemas"]["ID"] | null; model: components["schemas"]["ID"] | null; /** @description Saved reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null retains legacy unset behavior. */ effort: string | null; fast: boolean; /** @enum {string|null} */ cyber_access?: "daybreak_blue" | null; status: components["schemas"]["SessionStatus"]; preview: components["schemas"]["Preview"]; preferences: components["schemas"]["SessionPreferences"]; current_progress: components["schemas"]["ToolProgress"][]; activity: components["schemas"]["Activity"]; cursor: components["schemas"]["Cursor"] | null; /** @description Present only for ACP-owned sessions. Attachment state is read separately from the session capture. */ acp?: components["schemas"]["ACPState"]; /** @description Set once the session moved to another daemon; it then refuses new input (409 session_moved). */ moved?: components["schemas"]["SessionMoved"] | null; /** @description Set while a move of this session waits at its checklist; the session is still live here. */ move_pending?: components["schemas"]["SessionMovePending"] | null; }; /** * @example { * "items": [ * { * "id": "01a0fcea-2b00-7000-8000-000000000001", * "name": "New session", * "automatic_name": "New session", * "workspace": "/workspace/project", * "location": { * "host": null, * "user": null, * "path": "/workspace/project", * "label": null * }, * "parent_id": null, * "root_id": "01a0fcea-2b00-7000-8000-000000000001", * "address": null, * "depth": 0, * "closed": false, * "created_at": "2026-10-02T14:00:00Z", * "activity_at": "2026-10-02T14:00:00Z", * "provider_profile": "personal", * "model": "example-model", * "effort": null, * "status": { * "phase": "idle", * "run_id": null, * "interrupt_requested": false, * "blocking_reason": null * }, * "preview": { * "text": "", * "transcript_count": 0, * "truncated": false * }, * "preferences": { * "pinned": false, * "pin_order": null, * "archived": false, * "opens": 0 * }, * "current_progress": [], * "active_output": [], * "activity": { * "lines": [], * "output_scalars": 0, * "output_utf8_bytes": 0, * "observed_at": "2026-10-02T14:00:00Z", * "latest_input": null, * "latest_answer": null * }, * "cursor": { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "sequence": 0 * } * } * ], * "next": null * } */ SessionPage: { items: components["schemas"]["SessionSummary"][]; next: components["schemas"]["PageToken"] | null; family?: { root_id: components["schemas"]["ID"]; revision: components["schemas"]["ID"]; }; }; SelectionOverrides: { extensions: { [key: string]: boolean | null; }; skills: { [key: string]: boolean | null; }; instructions: { [key: string]: boolean | null; }; mcp: { [key: string]: boolean | null; }; }; /** @description Null map entry clears that override. Null entire map clears all overrides of that kind. */ SelectionPatch: { extensions?: { [key: string]: boolean | null; } | null; skills?: { [key: string]: boolean | null; } | null; instructions?: { [key: string]: boolean | null; } | null; mcp?: { [key: string]: boolean | null; } | null; }; SessionSelection: { overrides: components["schemas"]["SelectionOverrides"]; effective: { extensions: { [key: string]: boolean; }; skills: { [key: string]: boolean; }; instructions: { [key: string]: boolean; }; mcp: { [key: string]: boolean; }; }; }; FastMode: { fast: boolean; support: { /** @enum {string} */ status: "supported" | "unsupported" | "unknown"; mode?: string | null; source?: string | null; detail?: string | null; }; message: string; }; /** * @example { * "id": "01a0fcea-2b00-7000-8000-000000000001", * "name": null, * "workspace": "/workspace/project", * "provider_profile": "personal", * "model": "example-model", * "effort": null, * "fast": false, * "preferences": { * "pinned": false, * "pin_order": null, * "archived": false * }, * "selection": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * }, * "revision": "config-1" * } */ SessionConfiguration: { id: components["schemas"]["ID"]; /** @description Explicit name. Null shows the automatic title for a root, or the family name for a child; the session representation carries the displayed name. */ name: string | null; workspace: components["schemas"]["Workspace"]; provider_profile: components["schemas"]["ID"] | null; model: components["schemas"]["ID"] | null; /** @description Saved reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null retains legacy unset behavior. */ effort: string | null; /** @description Provider fast-mode setting; defaults off and may affect billing. */ fast: boolean; /** * @description Explicit session-scoped Codex Blue intent; null sends ordinary requests. * @enum {string|null} */ cyber_access?: "daybreak_blue" | null; /** @description Tokens this session compacts against instead of the model's catalogued window. Null uses the model's window. */ context_window?: number | null; preferences: { pinned: boolean; pin_order: components["schemas"]["Counter"] | null; archived: boolean; }; selection: components["schemas"]["SelectionOverrides"]; revision: components["schemas"]["ID"]; }; SessionConfigurationResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["SessionConfiguration"]; }; /** * @description Skill and instruction changes require catalog_revision. All fields validate and commit together. * @example { * "selection": { * "extensions": { * "browser": null * }, * "skills": { * "candidate-1": false * } * }, * "catalog_revision": "discovery-1" * } */ SessionPatch: { name?: string | null; provider_profile?: components["schemas"]["ID"]; model?: components["schemas"]["ID"]; /** @description Saved reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null restores legacy unset behavior. Omission preserves the current choice. */ effort?: string | null; /** @description Enable provider fast mode; enabling requires a supported capability and may affect billing. */ fast?: boolean; /** * @description Select Blue for this session; null explicitly clears it. * @enum {string|null} */ cyber_access?: "daybreak_blue" | null; /** @description Tokens this session compacts against instead of the model's catalogued window. Null uses the model's window. */ context_window?: number | null; preferences?: components["schemas"]["PreferencePatch"]; selection?: components["schemas"]["SelectionPatch"]; catalog_revision?: components["schemas"]["ID"]; }; /** * @example { * "workspace": "/workspace/other-project", * "family_revision": "family-1" * } */ WorkspaceMoveRequest: { workspace: components["schemas"]["Workspace"]; family_revision: components["schemas"]["ID"]; }; /** * @example { * "kind": "new", * "workspace": "/workspace/project" * } */ NewSessionRequest: { /** @constant */ kind: "new"; workspace: components["schemas"]["Workspace"]; name?: string | null; provider_profile?: components["schemas"]["ID"] | null; model?: components["schemas"]["ID"] | null; /** @description Initial reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null or omission uses inherit. */ effort?: string | null; /** @description Tokens this session compacts against instead of the model's catalogued window. Null uses the model's window. */ context_window?: number | null; /** * @description Explicit Blue at creation; null or omission selects standard. * @enum {string|null} */ cyber_access?: "daybreak_blue" | null; }; NewSessionIntent: { /** @constant */ kind: "new"; workspace: components["schemas"]["Workspace"]; name: string | null; provider_profile: components["schemas"]["ID"] | null; model: components["schemas"]["ID"] | null; /** @description Initial reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null or omission uses inherit. */ effort: string | null; /** @description Tokens this session compacts against instead of the model's catalogued window. Null uses the model's window. */ context_window?: number | null; /** * @description Explicit Blue at creation; null or omission selects standard. * @enum {string|null} */ cyber_access?: "daybreak_blue" | null; }; ForkSessionRequest: { /** @constant */ kind: "fork"; source_session_id: components["schemas"]["ID"]; checkpoint_id: components["schemas"]["ID"]; name?: string | null; }; ForkSessionIntent: { /** @constant */ kind: "fork"; source_session_id: components["schemas"]["ID"]; checkpoint_id: components["schemas"]["ID"]; name: string | null; }; ChildSessionRequest: { /** @constant */ kind: "child"; parent_id: components["schemas"]["ID"]; address: string; name: string; initial_input_id: components["schemas"]["UUIDv7"]; task: string; model?: components["schemas"]["ID"] | null; /** @description Initial reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null or omission uses inherit. */ effort?: string | null; }; ChildSessionIntent: { /** @constant */ kind: "child"; parent_id: components["schemas"]["ID"]; address: string; name: string; initial_input_id: components["schemas"]["UUIDv7"]; task: string; model: components["schemas"]["ID"] | null; /** @description Initial reasoning choice. inherit follows the profile override or model default; default bypasses the profile override. Other strings select an explicit supported level. Null or omission uses inherit. */ effort: string | null; }; SessionCreationRequest: components["schemas"]["NewSessionRequest"] | components["schemas"]["ForkSessionRequest"] | components["schemas"]["SideQuestionSessionRequest"] | components["schemas"]["ChildSessionRequest"] | components["schemas"]["ACPSessionRequest"]; Creation: { submitted: components["schemas"]["NewSessionIntent"] | components["schemas"]["ForkSessionIntent"] | components["schemas"]["SideQuestionSessionRequest"] | components["schemas"]["ChildSessionIntent"] | components["schemas"]["ACPSessionIntent"]; resolved: { workspace: components["schemas"]["Workspace"]; provider_profile: components["schemas"]["ID"] | null; model: components["schemas"]["ID"] | null; effort: string | null; }; }; CreationDecision: { /** @constant */ kind: "creation"; session_id: components["schemas"]["ID"]; /** @enum {string} */ admission: "accepted" | "rejected"; http_status: number; creation: components["schemas"]["Creation"] | null; decided_at: components["schemas"]["Timestamp"] | null; deleted_at: components["schemas"]["Timestamp"] | null; }; WorkspaceChange: { desired: components["schemas"]["Workspace"]; active: components["schemas"]["Workspace"]; /** @enum {string} */ state: "deferred" | "applying"; revision: components["schemas"]["ID"]; }; QuarantineDiagnostic: { id: components["schemas"]["ID"]; reason: components["schemas"]["SafeReason"]; }; Composition: { desired_revision: components["schemas"]["ID"]; loaded_revision: components["schemas"]["ID"] | null; needs_reload: boolean; dependencies: { [key: string]: components["schemas"]["ID"][]; }; quarantine: components["schemas"]["QuarantineDiagnostic"][]; availability: { [key: string]: boolean; }; }; HonchoSession: { status: { enrolled: boolean; pending: components["schemas"]["Counter"]; fork_copy: string | null; endpoint: string | null; human_peer: string | null; assistant_peer: string | null; workspace: string | null; remote_session: string | null; next_attempt_ms: number | null; last_delivery_ms: number | null; paused: string | null; }; page: components["schemas"]["PageDescriptor"]; }; /** * @example { * "items": [], * "total": 0, * "limit": 1000, * "page": { * "title": "queue", * "empty_state": "nothing is waiting", * "rows": [], * "glance": null, * "actions": [], * "summary": "0 inputs waiting" * } * } */ QueueCollection: { items: components["schemas"]["QueueItem"][]; total: components["schemas"]["Counter"]; limit: components["schemas"]["Counter"]; page: components["schemas"]["PageDescriptor"]; }; /** @description One input waiting in a session's inbox. */ QueueItem: { id: components["schemas"]["ID"]; /** @enum {string} */ kind: "task" | "request" | "message" | "result" | "unreviewed" | "webhook" | "event" | "chat" | "continue" | "acp" | "shell" | "note" | "job"; /** @description Who submitted it, as the transcript names the source. */ source: string; from: string; sender_session_id: components["schemas"]["ID"] | null; /** * @description `steer` joins a running turn at its next step, `wait` waits for the turn to end, `alone` takes a turn of its own, `next_turn` joins a running turn at its next step or rides with the next turn without starting one, and `attach` joins a running turn at its next step or is written into a resting session's transcript without a turn. * @enum {string} */ delivery: "steer" | "wait" | "alone" | "next_turn" | "attach"; text: string; text_truncated: boolean; /** @description A person's typed message whose text is all of it, with no images, files, pasted text or skills, so an edit from the queue loses nothing. */ editable: boolean; images: components["schemas"]["QueueImage"][]; files: components["schemas"]["QueueFile"][]; created_at: components["schemas"]["Timestamp"]; position: components["schemas"]["Counter"]; attempts: components["schemas"]["Counter"]; last_error: string | null; }; QueueImage: { mime_type: string; width: components["schemas"]["Counter"]; height: components["schemas"]["Counter"]; bytes: components["schemas"]["Counter"]; }; QueueFile: { name: string; bytes: components["schemas"]["Counter"]; }; QueueOrder: { ids: components["schemas"]["ID"][]; }; /** * @example { * "items": [], * "live_job_count": 0, * "page": { * "title": "jobs", * "empty_state": "no background jobs running", * "rows": [], * "glance": null, * "actions": [], * "summary": "0 background jobs running" * } * } */ JobCollection: { items: components["schemas"]["KernelJob"][]; live_job_count: components["schemas"]["Counter"]; page: components["schemas"]["PageDescriptor"]; }; JobRecord: { id: components["schemas"]["ID"]; command: string; /** @enum {string} */ state: "running" | "exited"; exit_code: number | null; timed_out: boolean; /** @description Started to keep running, so nothing waits on its end. */ service: boolean; /** @enum {string} */ kind: "command" | "cell"; parent_id: components["schemas"]["ID"] | null; /** @description Wall-clock milliseconds since the epoch. */ started_at: components["schemas"]["Counter"]; ended_at: components["schemas"]["Counter"] | null; /** @description Everything the job has written, kept or not. */ bytes: components["schemas"]["Counter"]; }; JobRecordCollection: { items: components["schemas"]["JobRecord"][]; }; JobOutputPage: { job: components["schemas"]["JobRecord"]; /** @description Byte the page starts at. */ offset: components["schemas"]["Counter"]; /** @description Byte to continue from; equal to `offset` when there is nothing more yet. */ next_offset: components["schemas"]["Counter"]; text: string; /** @description Full cell source when `job.kind` is `cell`, bounded to 16384 characters. */ source: string | null; }; /** * @example { * "stopped": "job-1" * } */ JobStop: { stopped: components["schemas"]["ID"]; }; KernelJob: { id: components["schemas"]["ID"]; pid: components["schemas"]["Counter"] | null; command: string; /** @enum {string} */ kind: "command" | "cell"; parent_id: components["schemas"]["ID"] | null; /** @description Wall-clock milliseconds since the epoch when the owner recorded the job. Zero when unknown, which clients treat as settled work. */ started_at: components["schemas"]["Counter"]; }; Kernel: { /** @enum {string} */ state: "none" | "booting" | "attached" | "reattaching" | "busy" | "lost"; stage: ("staging" | "starting") | null; build: string | null; stale: boolean; staleness_reasons: components["schemas"]["SafeReason"][]; /** @description Up to 100 observed live jobs, ordered by ID. Null when the kernel owner is unavailable. The count may exceed this list. */ running_jobs: components["schemas"]["KernelJob"][] | null; /** @description Observed owned jobs. Null while booting or when the kernel owner is lost. */ live_job_count: components["schemas"]["Counter"] | null; instance_id: components["schemas"]["ID"] | null; }; /** @description The amount a provider reported for one call, and the statement that the amount belongs to. */ Cost: { usd: number; /** @enum {string} */ basis: "charged" | "counted" | "listed"; }; Usage: { model: components["schemas"]["ID"] | null; observed_at: components["schemas"]["Timestamp"] | null; prompt_tokens: components["schemas"]["Counter"] | null; cached_prompt_tokens: components["schemas"]["Counter"] | null; cache_write_tokens: components["schemas"]["Counter"] | null; completion_tokens: components["schemas"]["Counter"] | null; total_tokens: components["schemas"]["Counter"] | null; elapsed_ms: number | null; tokens_per_second: number | null; context_window_tokens: components["schemas"]["Counter"] | null; cache_ttl_seconds: components["schemas"]["Counter"] | null; /** @description Set when the token counts are a strategy's size for a request no call has measured yet, such as after a compaction, rather than one call's own report; its parts say how much was measured and how much estimated. */ size?: components["schemas"]["Size"] | null; cache_miss_tokens?: components["schemas"]["Counter"] | null; cache_drift_tokens?: components["schemas"]["Counter"] | null; spent?: components["schemas"]["Cost"] | null; cache_fade: { at: components["schemas"]["Timestamp"]; cached_tokens: components["schemas"]["Counter"] | null; }[]; }; PendingInput: { id: components["schemas"]["ID"]; /** @enum {string} */ kind: "message" | "continue" | "skill" | "command"; preview: components["schemas"]["Preview"]; accepted_at: components["schemas"]["Timestamp"]; acceptance_order: components["schemas"]["Counter"]; /** @constant */ delivery: "pending"; blocking_reason: components["schemas"]["SafeReason"] | null; }; Glance: { extension: components["schemas"]["ID"]; title: string; rows: components["schemas"]["PageRow"][]; url: components["schemas"]["ResourceURL"]; data?: components["schemas"]["DynamicJSON"]; }; /** * @example { * "id": "01a0fcea-2b00-7000-8000-000000000001", * "name": "New session", * "automatic_name": "New session", * "workspace": "/workspace/project", * "location": { * "host": null, * "user": null, * "path": "/workspace/project", * "label": null * }, * "parent_id": null, * "root_id": "01a0fcea-2b00-7000-8000-000000000001", * "address": null, * "depth": 0, * "closed": false, * "created_at": "2026-10-02T14:00:00Z", * "activity_at": "2026-10-02T14:00:00Z", * "provider_profile": "personal", * "model": "example-model", * "effort": null, * "status": { * "phase": "idle", * "run_id": null, * "interrupt_requested": false, * "blocking_reason": null * }, * "preview": { * "text": "", * "transcript_count": 0, * "truncated": false * }, * "preferences": { * "pinned": false, * "pin_order": null, * "archived": false, * "opens": 0 * }, * "current_progress": [], * "active_output": [], * "shell_commands": [], * "activity": { * "lines": [], * "output_scalars": 0, * "output_utf8_bytes": 0, * "observed_at": "2026-10-02T14:00:00Z", * "latest_input": null, * "latest_answer": null * }, * "cursor": { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "sequence": 0 * }, * "creation": { * "submitted": { * "kind": "new", * "workspace": "/workspace/project", * "name": null, * "provider_profile": null, * "model": null, * "effort": null * }, * "resolved": { * "workspace": "/workspace/project", * "provider_profile": "personal", * "model": "example-model", * "effort": null * } * }, * "revision": "config-1", * "family_revision": "family-1", * "configuration_resource": { * "url": "/sessions/01a0fcea-2b00-7000-8000-000000000001/configuration", * "etag": "\"session-config-1\"", * "value": { * "id": "01a0fcea-2b00-7000-8000-000000000001", * "name": "New session", * "workspace": "/workspace/project", * "provider_profile": "personal", * "model": "example-model", * "effort": null, * "preferences": { * "pinned": false, * "pin_order": null, * "archived": false * }, * "selection": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * }, * "revision": "config-1" * } * }, * "workspace_change": null, * "selection": { * "overrides": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * }, * "effective": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * } * }, * "composition": { * "desired_revision": "composition-1", * "loaded_revision": null, * "needs_reload": true, * "dependencies": {}, * "quarantine": [], * "availability": {} * }, * "kernel": { * "instance_id": null, * "state": "none", * "stage": null, * "build": null, * "stale": false, * "staleness_reasons": [], * "live_job_count": 0, * "running_jobs": [] * }, * "pending_inputs": [], * "input_order": 0, * "usage": { * "model": null, * "observed_at": null, * "prompt_tokens": null, * "cached_prompt_tokens": null, * "cache_write_tokens": null, * "completion_tokens": null, * "total_tokens": null, * "elapsed_ms": null, * "tokens_per_second": null, * "context_window_tokens": null, * "cache_ttl_seconds": null, * "cache_fade": [] * }, * "history": { * "items": [], * "older": null, * "newer": null, * "high_water": 0 * }, * "glances": [] * } */ Session: components["schemas"]["SessionSummary"] & { /** @description Null only for stored sessions that predate immutable creation provenance. All newly admitted creations have provenance. */ creation: components["schemas"]["Creation"] | null; revision: components["schemas"]["ID"]; family_revision: components["schemas"]["ID"]; configuration_resource: components["schemas"]["SessionConfigurationResource"]; workspace_change: components["schemas"]["WorkspaceChange"] | null; selection: components["schemas"]["SessionSelection"]; composition: components["schemas"]["Composition"]; kernel: components["schemas"]["Kernel"]; side_question?: components["schemas"]["SideQuestion"] | null; shell_commands: components["schemas"]["ShellCommand"][]; pending_inputs: components["schemas"]["PendingInput"][]; input_order: components["schemas"]["Counter"]; usage: components["schemas"]["Usage"]; active_output: components["schemas"]["ActiveOutput"][]; history: components["schemas"]["HistoryPage"]; glances: components["schemas"]["Glance"][]; }; SessionRead: components["schemas"]["Session"] | components["schemas"]["SessionConfiguration"] | components["schemas"]["SessionStatusRead"]; /** @description The live facts a watching client keeps current, read from the session's own memory and its kernel, with no configuration, history, or composition read. Kernel job changes and glance changes also arrive on the session stream, so this is a safety read rather than the cadence. */ SessionStatusRead: { id: components["schemas"]["ID"]; cursor: components["schemas"]["Cursor"]; status: components["schemas"]["SessionStatus"]; kernel: components["schemas"]["Kernel"]; usage: components["schemas"]["Usage"]; glances: components["schemas"]["Glance"][]; }; SessionChange: { session: components["schemas"]["Session"]; move: { applied_count: components["schemas"]["Counter"]; deferred_count: components["schemas"]["Counter"]; applied_ids: components["schemas"]["ID"][]; deferred_ids: components["schemas"]["ID"][]; truncated: boolean; warnings: components["schemas"]["Warnings"]; } | null; }; Visit: { visit_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; opens: components["schemas"]["Counter"]; }; /** @description Counts cover the complete captured operation. ID lists are bounded summaries, never false completion. Refresh the authoritative family or known tombstones if truncated; deletion is never repeated to page a result. */ SessionDeletion: { /** @enum {string} */ state: "complete" | "partial"; deleted_count: components["schemas"]["Counter"]; remaining_count: components["schemas"]["Counter"]; deleted_ids: components["schemas"]["ID"][]; remaining: { id: components["schemas"]["ID"]; reason: components["schemas"]["SafeReason"]; }[]; truncated: boolean; }; /** @description 32 random bytes, canonical unpadded base64url (the last character carries no stray bits). */ AttachmentToken: string; /** @description Editor-supplied stdio or Streamable HTTP MCP server. The daemon runs stdio commands in the session workspace. HTTP uses literal headers. The daemon holds endpoints and credentials in memory. */ ACPMCPServer: { name: string; /** @description Absolute executable path. */ command?: string; args?: string[]; /** @description Names must be unique. */ env?: components["schemas"]["ACPEnvVariable"][]; /** @constant */ type?: "http"; /** @description HTTP or HTTPS endpoint with no userinfo or fragment. */ url?: string; /** @description Header names must be unique, ignoring case. */ headers?: components["schemas"]["ACPHTTPHeader"][]; } & (unknown | unknown); ACPHTTPHeader: { name: string; value: string; }; ACPEnvVariable: { name: string; value: string; }; /** @description Durable stand-in for an overlay server. The fingerprint is a keyed digest of the transport configuration. The receipt contains only names and fingerprints. */ ACPMCPServerIdentity: { name: string; fingerprint: string; }; /** @description Creates an ACP-owned session. The overlay is prepared strictly before the creation decision commits (any server failure rejects the creation with 409 mcp_overlay_failed); the durable ACP marker, the initial attachment for the Albedo-Attachment-Token header and the overlay are installed before the first session preparation. Resending the identical request under the same session ID is the recovery path; see robot-docs/acp.md. */ ACPSessionRequest: { /** @constant */ kind: "acp"; workspace: components["schemas"]["Workspace"]; mcp_servers: components["schemas"]["ACPMCPServer"][]; }; ACPSessionIntent: { /** @constant */ kind: "acp"; workspace: components["schemas"]["Workspace"]; mcp_servers: components["schemas"]["ACPMCPServerIdentity"][]; }; /** @description Present on ACP-owned sessions. Other clients may read, stop and delete them but not submit input or change execution. */ ACPState: { /** @enum {string} */ attachment: "attached" | "detached"; }; ACPAttachRequest: { workspace: components["schemas"]["Workspace"]; mcp_servers: components["schemas"]["ACPMCPServer"][]; }; ACPLease: { heartbeat_ms: number; lease_ms: number; }; ACPActiveTurn: { turn_id: components["schemas"]["ID"]; /** @description The exclusive acp_prompt input of this turn, which session/cancel targets. Null for a turn started by system work (mail, schedule), which stays observable and busy but is never interrupted by the adapter. */ acp_input_id: components["schemas"]["ID"] | null; }; ACPPlan: { items: { /** Format: int64 */ id: number; text: string; done: boolean; created_at: string; }[]; }; ACPAttachment: { session_id: components["schemas"]["ID"]; lease: components["schemas"]["ACPLease"]; cursor: components["schemas"]["Cursor"]; active_turn: components["schemas"]["ACPActiveTurn"] | null; /** @description Accepted ACP inputs not yet consumed, in acceptance order. */ pending_input_ids: components["schemas"]["ID"][]; /** @description For every unfinished live text or thinking message at the cursor, how much had streamed before it. Reconciliation only; the client never emits this content. Installing this capture stands in for the initial snapshot reset of a fresh stream. */ output_boundaries: components["schemas"]["ACPOutputBoundary"][]; /** @description Position of the newest durable history entry at the same capture as cursor and output_boundaries (0 when there is none). Entries at or before it are history; everything later arrives on the stream after cursor. */ history_cutoff: components["schemas"]["Counter"]; }; ACPOutputBoundary: { live_id: components["schemas"]["ID"]; utf8_bytes: number; }; ACPTextBlock: { /** @constant */ type: "text"; text: string; annotations?: components["schemas"]["DynamicJSON"]; meta?: components["schemas"]["DynamicJSON"]; }; ACPResourceLinkBlock: { /** @constant */ type: "resource_link"; uri: string; name: string; title?: string | null; description?: string | null; mime_type?: string | null; size?: number | null; annotations?: components["schemas"]["DynamicJSON"]; meta?: components["schemas"]["DynamicJSON"]; }; ACPImageBlock: { /** @constant */ type: "image"; /** @enum {string} */ mime_type: "image/png" | "image/jpeg" | "image/webp"; data: string; uri?: string | null; annotations?: components["schemas"]["DynamicJSON"]; meta?: components["schemas"]["DynamicJSON"]; }; ACPEmbeddedResourceBlock: { /** @constant */ type: "resource"; resource: components["schemas"]["ACPEmbeddedResourceContents"]; annotations?: components["schemas"]["DynamicJSON"]; meta?: components["schemas"]["DynamicJSON"]; }; ACPEmbeddedResourceContents: { uri: string; mime_type?: string | null; text?: string; blob?: string; meta?: components["schemas"]["DynamicJSON"]; } & (unknown | unknown); ACPPromptBlock: components["schemas"]["ACPTextBlock"] | components["schemas"]["ACPResourceLinkBlock"] | components["schemas"]["ACPImageBlock"] | components["schemas"]["ACPEmbeddedResourceBlock"]; /** @description Only for ACP sessions, with the attachment token. Forms its own logical turn; no other input joins it and it joins no other turn. Blocks keep their order, metadata and original URIs in the submission identity. At most ten blocks may be images. */ ACPPromptInputRequest: { /** @constant */ kind: "acp_prompt"; blocks: components["schemas"]["ACPPromptBlock"][]; }; /** @description Strict base64 of a picture, or of a whole audio or video clip; decoded headers and provider constraints are validated before admission. A clip of a type the session's model does not read is refused with 409 image_rejected. Clips that would take what the session's next request carries past 64 MiB of clips are refused with 409 media_budget; the shake route frees room. */ ImageUpload: { /** @enum {string} */ mime_type: "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "audio/mpeg" | "audio/aac" | "audio/flac" | "audio/ogg" | "audio/mp4" | "video/mp4" | "video/webm"; data: string; }; /** @description A picture or clip uploaded to this session beforehand. An upload that is unknown, expired or taken by an earlier message is refused with 409 upload_unknown. It is checked as an ImageUpload is. */ UploadReference: { upload: components["schemas"]["UUIDv7"]; }; MessageImage: components["schemas"]["ImageUpload"] | components["schemas"]["UploadReference"]; Upload: { id: components["schemas"]["UUIDv7"]; /** @enum {string} */ mime_type: "image/png" | "image/jpeg" | "image/webp" | "audio/wav" | "audio/mpeg" | "audio/aac" | "audio/flac" | "audio/ogg" | "audio/mp4" | "video/mp4" | "video/webm"; /** @description Pixels; 0 for a clip. */ width: number; /** @description Pixels; 0 for a clip. */ height: number; /** @description Bytes. */ size: number; expires_at: components["schemas"]["Timestamp"]; }; /** @description An attached file's name and decoded size; never its saved path. */ FileAttachment: { name: string; /** @description Decoded bytes. */ size: number; }; /** @description A file for a local workspace, saved under the daemon home and exposed to the model by path. At most 20 MiB of decoded files per input. Remote workspaces refuse file uploads. */ FileUpload: { /** @description Plain filename, without path separators, NUL, CR or LF; not dot or dot-dot. */ name: string; data: string; }; /** * @example { * "kind": "message", * "text": "Fix the parser.", * "client_id": "draft-1" * } */ MessageInputRequest: { /** @constant */ kind: "message"; text: string; /** @description Attached in order; the text's numbered image markers say where each was attached. */ images?: components["schemas"]["MessageImage"][]; /** @description Local-workspace files, appended as quoted filename and saved-path pairs to the model's text only. The text stays as sent; history reports each file's name and size in HistoryEntry.files. At most 20 MiB decoded in total. */ files?: components["schemas"]["FileUpload"][]; /** @description Pasted text the text marks by number; a long one is saved to a file the model reads. */ pastes?: string[]; client_id?: string; } | { text?: unknown; } | { images: unknown; } | { files: unknown; }; ContinueInputRequest: { /** @constant */ kind: "continue"; client_id?: string; }; SkillInputRequest: { /** @constant */ kind: "skill"; candidate_id: components["schemas"]["ID"]; catalog_revision: components["schemas"]["ID"]; arguments: string; client_id?: string; }; CommandInputRequest: { /** @constant */ kind: "command"; command_id: components["schemas"]["ID"]; arguments: components["schemas"]["DynamicJSON"]; client_id?: string; }; InputHold: { /** @description How long the hold lasts unless the message is held again. */ lease_ms: number; }; InputEdit: { input: components["schemas"]["Input"]; }; InputRequest: components["schemas"]["MessageInputRequest"] | components["schemas"]["ContinueInputRequest"] | components["schemas"]["SkillInputRequest"] | components["schemas"]["CommandInputRequest"] | components["schemas"]["ACPPromptInputRequest"]; Turn: { id: components["schemas"]["ID"]; /** @enum {string} */ state: "running" | "completed" | "interrupted" | "failed" | "abandoned"; started_at: components["schemas"]["Timestamp"]; ended_at: components["schemas"]["Timestamp"] | null; outcome: components["schemas"]["SafeReason"] | null; }; /** * @example { * "id": "01a0fcea-2b00-7000-8000-000000000002", * "session_id": "01a0fcea-2b00-7000-8000-000000000001", * "kind": "message", * "admission": "accepted", * "http_status": 202, * "problem": null, * "accepted_at": "2026-10-02T14:00:00Z", * "acceptance_order": 1, * "delivery": "pending", * "blocking_reason": null, * "transcript_position": null, * "turn": null, * "client_id": "draft-1" * } */ Input: { id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; /** @enum {string} */ kind: "message" | "continue" | "skill" | "command" | "acp_prompt"; /** @enum {string} */ admission: "accepted" | "rejected"; http_status: number; problem: components["schemas"]["AdmissionProblem"] | null; accepted_at: components["schemas"]["Timestamp"] | null; acceptance_order: components["schemas"]["Counter"] | null; delivery: ("pending" | "committed" | "cancelled") | null; blocking_reason: components["schemas"]["SafeReason"] | null; transcript_position: components["schemas"]["Counter"] | null; turn: components["schemas"]["Turn"] | null; client_id: string | null; } & unknown; InputDecision: { /** @constant */ kind: "input"; input: components["schemas"]["Input"]; }; InputCancellation: { input: components["schemas"]["Input"]; /** @enum {string} */ result: "cancelled" | "interrupt_requested" | "shared_running" | "not_pending"; }; InterruptRequest: { run_id: components["schemas"]["ID"] | null; through_input_order: components["schemas"]["Counter"]; }; Interruption: { run_id: components["schemas"]["ID"] | null; /** @enum {string} */ state: "requested" | "already_ended"; cancelled_input_ids: components["schemas"]["ID"][]; warnings: components["schemas"]["Warnings"]; }; ArtifactID: string; Artifact: { id: components["schemas"]["ArtifactID"]; /** @description The capability that serves its pages, `/frame/{id}.{key}/{version}/{path}`. */ key: string; title: string; version: number; versions: number; entry: string; session_id: components["schemas"]["ID"]; session_name: string | null; session_deleted: boolean; workspace: string; created_at: components["schemas"]["Counter"]; updated_at: components["schemas"]["Counter"]; bytes: components["schemas"]["Counter"]; }; ArtifactPage: { items: components["schemas"]["Artifact"][]; next: string | null; }; ArtifactFile: { path: string; size: components["schemas"]["Counter"]; }; ArtifactVersion: { version: number; entry: string; created_at: components["schemas"]["Counter"]; cell_id: string | null; files: components["schemas"]["ArtifactFile"][]; bytes: components["schemas"]["Counter"]; }; ArtifactDetail: components["schemas"]["Artifact"] & { /** @description Every version, newest first. */ history: components["schemas"]["ArtifactVersion"][]; }; /** @description The page's localStorage. */ ArtifactState: { [key: string]: string; }; ArtifactError: { message: string; source?: string; line?: number; column?: number; stack?: string; }; ToolActivity: { /** @enum {string} */ kind: "read" | "search" | "list" | "run" | "web" | "display" | "mcp" | "cua" | "artifact" | "skill"; target: string; /** @description The optional display() title. */ title?: string; /** @description The optional display() description. */ description?: string; /** @description What the person watching sees of the result, as markdown; a web search's answer and sources, or displayed content. */ detail?: string; /** @description How long the call took, when it ended while its cell's trace was open. */ ms?: number; /** @description Whether the call worked, when it ended while its cell's trace was open. */ ok?: boolean; /** @description The artifact version an `artifact` activity made; its title is the target. */ artifact?: { id: components["schemas"]["ArtifactID"]; version: number; }; /** @description Where the skill a `skill` activity loaded was found; its name is the target. A cell notes each skill once, when it reads the skill's SKILL.md from the start or runs its command. */ skill?: { scope: components["schemas"]["SkillScope"]; /** @description The installed SKILL.md path. */ source: string; }; }; /** * @description The discovery root a skill came from. Empty for a user activation recorded before scopes were. * @enum {string} */ SkillScope: "workspace" | "user" | "built-in" | ""; /** @description A skill a user's slash activation loaded, as the `skill` JSON part of that user entry. */ SkillLoad: { name: string; scope: components["schemas"]["SkillScope"]; /** @description The installed SKILL.md path. */ source: string; }; /** @description One skill a session loaded, by the model or the user, with how often and when. */ SkillLoadSummary: { name: string; scope: components["schemas"]["SkillScope"]; /** @description The installed SKILL.md path the newest load used. */ source: string; count: number; /** @description Unix seconds. */ first_loaded_at: number; /** @description Unix seconds. */ last_loaded_at: number; }; SkillLoadList: { /** @description First loaded first. */ items: components["schemas"]["SkillLoadSummary"][]; }; FileDiff: { path: string; /** @constant */ kind: "diff"; diff: string; added: components["schemas"]["Counter"]; removed: components["schemas"]["Counter"]; /** @description The whole file before the change, null when the change created it. Present together with new_text only when both fit the trace's snapshot budget. */ old_text?: string | null; /** @description The whole file after the change. */ new_text?: string; }; FileUnavailable: { path: string; /** @constant */ kind: "unavailable"; reason: string; }; ToolTrace: { activities: components["schemas"]["ToolActivity"][]; changes: (components["schemas"]["FileDiff"] | components["schemas"]["FileUnavailable"])[]; truncated: boolean; /** @description The session bindings the cell's code calls (`files.find`, `run`), sorted. Absent for a cell replayed from inside another. */ calls?: string[]; }; /** @description Ordered unfinished output captured with the session cursor. Exactly one of text or reference is non-null. References retain a fixed byte cutoff through their short snapshot lease. A run retains at most 64 MiB of unfinished output across at most 256 descriptors. Inline output is limited to 64 KiB encoded; larger content uses references. */ ActiveOutput: { message_id: components["schemas"]["ID"]; run_id: components["schemas"]["ID"]; /** @enum {string} */ kind: "text" | "thinking"; bytes: components["schemas"]["Counter"]; elapsed_ms: number | null; text: string | null; reference: components["schemas"]["ContentReference"] | null; }; ContentReference: { url: components["schemas"]["ResourceURL"]; field: string; bytes: components["schemas"]["Counter"]; }; /** @description A picture, or an audio or video clip, whose width and height are 0. */ ImageMetadata: { mime_type: string; width: number; height: number; original_bytes: components["schemas"]["Counter"]; /** @description Its url is the image resource, which serves the decoded bytes. */ reference: components["schemas"]["ContentReference"]; }; TextContent: { /** @constant */ kind: "text"; text: string; }; JSONContent: { /** @constant */ kind: "json"; /** @description What the value is. A user entry's `skill` value is the SkillLoad its slash activation loaded. */ field: string; value: components["schemas"]["DynamicJSON"]; }; ImageContent: { /** @constant */ kind: "image"; image: components["schemas"]["ImageMetadata"]; }; TraceContent: { /** @constant */ kind: "trace"; trace: components["schemas"]["ToolTrace"]; }; ReferenceContent: { /** @constant */ kind: "reference"; reference: components["schemas"]["ContentReference"]; }; HistoryMail: { mail_id: components["schemas"]["ID"]; sender_session_id: components["schemas"]["ID"] | null; sender_label: string; /** @enum {string} */ kind: "task" | "request" | "message" | "result" | "unreviewed" | "webhook" | "event"; /** @description The letter came from outside the agents, as a webhook or an extension's channel. */ external: boolean; /** @description The letter is a child's answer to its parent. */ answer: boolean; }; HistoryEntry: { id: components["schemas"]["ID"]; position: components["schemas"]["Counter"]; /** @enum {string} */ kind: "user" | "assistant" | "thinking" | "tool_call" | "tool_result" | "note" | "continuation" | "compaction" | "image_fit" | "shell_command"; /** @enum {string} */ turn_type?: "user" | "agent" | "webhook" | "event" | "scheduled" | "continue"; mail?: components["schemas"]["HistoryMail"] | null; turn_id: components["schemas"]["ID"] | null; input_id: components["schemas"]["ID"] | null; created_at: components["schemas"]["Timestamp"] | null; content: (components["schemas"]["TextContent"] | components["schemas"]["JSONContent"] | components["schemas"]["ImageContent"] | components["schemas"]["TraceContent"] | components["schemas"]["ReferenceContent"])[]; checkpoint_id: components["schemas"]["ID"] | null; content_complete: boolean; tool: { name: string; tool_call_id: components["schemas"]["ID"]; progress_call_id: components["schemas"]["ID"] | null; title?: string | null; /** * @description Outcome of the whole call, derived from the stored result exactly as the live tool event's status, so rows recorded before this field have it too. * @enum {string} */ status: "completed" | "failed"; } | null; /** @description Assistant response phase. Null for legacy rows, unfinished responses, and non-assistant entries. */ phase: ("commentary" | "final") | null; /** @description Observed thinking duration, when recorded. */ thinking_duration_ms?: components["schemas"]["Counter"] | null; /** @description Files attached to a user entry, in upload order, as recorded when the input was admitted. Absent when the entry has none, including entries recorded before file uploads. Text that resembles a file label is prose, not attachment metadata. Attached bytes may be pruned while this metadata remains. */ files?: components["schemas"]["FileAttachment"][]; }; /** * @example { * "items": [], * "older": null, * "newer": null, * "high_water": 0 * } */ HistoryPage: { items: components["schemas"]["HistoryEntry"][]; older: components["schemas"]["PageToken"] | null; newer: components["schemas"]["PageToken"] | null; high_water: components["schemas"]["Counter"]; }; Checkpoint: { position: components["schemas"]["Counter"]; checkpoint_id: components["schemas"]["ID"]; title: string; /** @enum {string} */ turn_type: "user" | "continue" | "agent" | "scheduled" | "webhook" | "event"; preview: components["schemas"]["Preview"]; }; CheckpointPage: { items: components["schemas"]["Checkpoint"][]; older: components["schemas"]["PageToken"] | null; newer: components["schemas"]["PageToken"] | null; high_water: components["schemas"]["Counter"]; }; /** @description The requested view determines the item type. Empty pages are valid for either view. */ HistoryRead: components["schemas"]["HistoryPage"] | components["schemas"]["CheckpointPage"]; /** @description Offsets count exact stored UTF-8 bytes. */ ContentPart: { field: string; offset_bytes: components["schemas"]["Counter"]; /** @enum {string} */ encoding: "utf8"; text: string; complete: boolean; }; EntryContentPage: { entry_id: components["schemas"]["ID"]; parts: components["schemas"]["ContentPart"][]; next: components["schemas"]["PageToken"] | null; }; /** @description One field piece of one named entry; offsets count exact stored UTF-8 bytes. */ EntryContentBatchPart: { entry_id: components["schemas"]["ID"]; field: string; offset_bytes: components["schemas"]["Counter"]; /** @enum {string} */ encoding: "utf8"; text: string; complete: boolean; }; EntryContentBatch: { parts: components["schemas"]["EntryContentBatchPart"][]; next: components["schemas"]["PageToken"] | null; }; ContextSection: { id: components["schemas"]["ID"]; label: string; /** @enum {string} */ kind: "instructions" | "extension_context" | "history" | "tools" | "other"; source: string | null; item_count: components["schemas"]["Counter"]; utf8_bytes: components["schemas"]["Counter"]; page_count: components["schemas"]["Counter"]; preview: components["schemas"]["Preview"]; }; /** @description Tokens the prepared request's pictures, audio and video take, priced the way the daemon sizes requests for the session's model before any correction. Clips are priced by how long they play where the model's wire publishes a rate. Sent with a ready snapshot. */ ContextMediaTokens: { images: components["schemas"]["Counter"]; audio: components["schemas"]["Counter"]; video: components["schemas"]["Counter"]; }; ContextSummary: { /** @enum {string} */ state: "pending" | "ready"; snapshot_id: components["schemas"]["ID"] | null; captured_at: components["schemas"]["Timestamp"] | null; provider: components["schemas"]["ID"] | null; model: components["schemas"]["ID"] | null; protocol: ("responses" | "chat_completions") | null; context_window_tokens: components["schemas"]["Counter"] | null; compaction: components["schemas"]["ContextCompaction"]; sections: components["schemas"]["ContextSection"][]; media_tokens?: components["schemas"]["ContextMediaTokens"]; reason: components["schemas"]["SafeReason"] | null; } & unknown; ContextSectionPage: { snapshot_id: components["schemas"]["ID"]; section_id: components["schemas"]["ID"]; text: string; omitted: string | null; page: components["schemas"]["Counter"]; page_count: components["schemas"]["Counter"]; }; TokenObservation: { estimated: components["schemas"]["Counter"] | null; observed: components["schemas"]["Counter"] | null; source: string | null; }; ProviderRequestRecord: { sequence: components["schemas"]["Counter"]; provider: components["schemas"]["ID"]; model: components["schemas"]["ID"]; run_id: components["schemas"]["ID"] | null; started_at: components["schemas"]["Timestamp"]; ended_at: components["schemas"]["Timestamp"] | null; prompt_tokens: components["schemas"]["TokenObservation"]; completion_tokens: components["schemas"]["TokenObservation"]; cached_tokens: components["schemas"]["TokenObservation"]; failure: components["schemas"]["SafeReason"] | null; /** @enum {string} */ kind: "turn" | "summarizer" | "background" | "title" | "side"; provider_profile: components["schemas"]["ID"]; account_id: components["schemas"]["ID"] | null; /** @description Resolved reasoning level sent with this provider attempt. Null means no explicit level was supplied. Saved choices such as inherit and default are resolved before recording. */ effort: string | null; /** @enum {string} */ outcome: "completed" | "failed"; http_status: number | null; cache_creation_tokens: components["schemas"]["TokenObservation"]; cache_write_5m_tokens: components["schemas"]["TokenObservation"]; cache_write_1h_tokens: components["schemas"]["TokenObservation"]; reasoning_tokens: components["schemas"]["TokenObservation"]; head_hash: string; input_count: components["schemas"]["Counter"]; replaced_input_count: components["schemas"]["Counter"] | null; projection_hash: string | null; strategy: string | null; cache_marks: { /** @enum {string} */ through: "tools" | "shared" | "system" | "input"; index: components["schemas"]["Counter"] | null; ttl_seconds: components["schemas"]["Counter"]; }[]; input_chain: string | null; stream: { first_event_ms: components["schemas"]["Counter"] | null; events: components["schemas"]["Counter"]; thinking_bytes: components["schemas"]["Counter"]; output_bytes: components["schemas"]["Counter"]; } | null; first_byte_ms: components["schemas"]["Counter"] | null; total_tokens: components["schemas"]["TokenObservation"]; response_id: string | null; model_version: string | null; trace_id: string | null; transcript_positions: components["schemas"]["Counter"][]; }; RequestRecordPage: { items: components["schemas"]["ProviderRequestRecord"][]; next: components["schemas"]["PageToken"] | null; }; ContextWindow: { /** @description The window set for this session. Null when it uses the model's. */ context_window: components["schemas"]["Counter"] | null; /** @description The model's own window, with any raised cap or context limit applied. Null when the catalog does not know the model. */ model_context_tokens: components["schemas"]["Counter"] | null; /** @description The window compaction measures against. */ effective_context_tokens: components["schemas"]["Counter"] | null; /** @enum {string} */ source: "session" | "model" | "unknown"; /** @description One sentence a client can show as it is. */ message: string; }; SessionFile: { /** @description Absolute location as the daemon spells it, `host:/path` for a remote workspace. */ path: string; size: components["schemas"]["Counter"]; modified_at: components["schemas"]["Timestamp"]; /** @description The file's contents. At most 1 MiB of UTF-8 without NUL. */ text: string; }; ChangedFile: { /** @description Relative to the checkout root. */ path: string; /** @description Where a renamed file came from. */ old_path: string | null; /** @enum {string} */ status: "modified" | "added" | "deleted" | "renamed" | "untracked"; added: components["schemas"]["Counter"]; removed: components["schemas"]["Counter"]; /** @description Binary content, or text that is not UTF-8. */ binary: boolean; /** @description Unified diff with git's `diff --git` and `---`/`+++` headers, without a trailing newline. Null exactly when `omitted` is set. */ diff: string | null; omitted: ("binary" | "too_large" | "budget") | null; }; CheckoutChanges: { checkout: { /** @enum {string} */ kind: "git" | "jj"; root: components["schemas"]["Workspace"]; /** @description The short HEAD commit (git) or `@`'s change id (jj); null when unborn. */ head: string | null; /** @description The branch (git) or the bookmark `@` works on (jj). */ branch: string | null; }; base: { /** @enum {string} */ spec: "uncommitted" | "upstream"; /** @description What the working copy was compared with, such as HEAD, @-, origin/main or trunk(). */ label: string; /** @description The short commit compared with; null for an unborn HEAD or jj's root. */ commit: string | null; }; files: components["schemas"]["ChangedFile"][]; /** @description More files changed than are listed. */ truncated: boolean; }; ContextRead: components["schemas"]["ContextSummary"] | components["schemas"]["ContextSectionPage"] | components["schemas"]["RequestRecordPage"]; FormField: { name: string; label: string; /** @enum {string} */ type: "text" | "secret" | "boolean" | "choice" | "integer" | "hidden"; required: boolean; default: components["schemas"]["DynamicJSON"]; /** @description Prefill from the selected row or installed session, before showing the form. */ default_binding?: { /** @enum {string} */ source: "row" | "session"; pointer: string; }; choices: { value: components["schemas"]["DynamicJSON"]; label: string; }[]; minimum: number | null; maximum: number | null; description: string; }; /** @description JSON pointer resolves against the selected row, submitted form, or installed session snapshot. No expression language. */ Binding: { /** @constant */ source: "literal"; value: components["schemas"]["DynamicJSON"]; } | { /** @enum {string} */ source: "row" | "form" | "session"; pointer: string; }; /** @description Operation must be declared in this contract, or the installed extension contract version. Bind If-Match from the displayed resource, never from a fresh read. Path, query and header map keys name declared parameters; body map keys are JSON pointers into the request object. Missing optional form values omit their bindings. result_schema is a JSON Schema 2020-12 fragment, with no remote schema retrieval. */ ActionOperation: { operation_id: string; /** @enum {string} */ method: "GET" | "PUT" | "POST" | "PATCH" | "DELETE"; path_template: components["schemas"]["ResourceURL"]; path: { [key: string]: components["schemas"]["Binding"]; }; query: { [key: string]: components["schemas"]["Binding"]; }; headers: { [key: string]: components["schemas"]["Binding"]; }; body: { [key: string]: components["schemas"]["Binding"]; }; /** * @description Expected JSON admission or success status. 202 requires the operation's typed receipt workflow; it does not mean completed work. Omitted operations accept 200 or 201 for mutations and 200 for reads. * @enum {integer} */ success_status?: 200 | 201 | 202; result_schema: components["schemas"]["DynamicJSON"]; }; PageAction: { id: components["schemas"]["ID"]; label: string; keyboard_hint: string | null; confirmation: string | null; fields: components["schemas"]["FormField"][]; operation: components["schemas"]["ActionOperation"]; }; PageRow: { id: components["schemas"]["ID"]; text: string; badge: string | null; /** @enum {string} */ tone: "plain" | "active" | "muted" | "success" | "warning" | "error"; detail: string | null; resource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["DynamicJSON"]; } | null; }; PageDescriptor: { title: string; empty_state: string; rows: components["schemas"]["PageRow"][]; glance: components["schemas"]["Glance"] | null; actions: components["schemas"]["PageAction"][]; summary: string; }; CatalogCandidate: { id: components["schemas"]["ID"]; /** @enum {string} */ kind: "extension" | "skill" | "instruction" | "mcp"; title: string; description: string; source: string; resolved_source: string | null; preference_key: components["schemas"]["ID"] | null; valid: boolean; eligible: boolean; effective_enabled: boolean; global_preference: boolean | null; session_override: boolean | null; shadowed_by: components["schemas"]["ID"] | null; dependencies: components["schemas"]["ID"][]; quarantined: boolean; diagnostic: components["schemas"]["SafeReason"] | null; /** @description Installed extension metadata for the inspector. Null for other candidate kinds. */ extension: components["schemas"]["ExtensionMetadata"] | null; }; ExtensionMetadata: { /** * @description Where a client shows the extension. Presentation only. * @enum {string} */ shelf: "memory" | "reach" | "channels" | "providers" | "builtins"; /** @description One line a client shows beside the name; null when the extension has none. */ summary: string | null; context: boolean; tools: components["schemas"]["ID"][]; python_modules: components["schemas"]["ID"][]; plugins: components["schemas"]["ID"][]; }; HTTPCommand: { id: components["schemas"]["ID"]; slash_name: string; description: string; arguments: components["schemas"]["FormField"][]; caller_permissions: ("human" | "model")[]; /** @enum {string} */ delivery: "read" | "mutation"; operation: components["schemas"]["ActionOperation"]; }; InputCommand: { id: components["schemas"]["ID"]; slash_name: string; description: string; arguments: components["schemas"]["FormField"][]; caller_permissions: ("human" | "model")[]; /** @constant */ delivery: "input"; /** @description Canonical skill name for inline dollar-prefixed mentions. Present only for skill inputs. */ skill_name?: string; command_id: components["schemas"]["ID"]; }; /** @description Pagination is independent for discovered candidates and loaded commands; next tokens identify their section. */ Catalog: { /** @description HTTP declarations and skill inputs selected by discovery when no composition has been loaded. Follow loaded.next for further pages. Reading these declarations does not prepare extensions or start a kernel. */ native_commands?: (components["schemas"]["HTTPCommand"] | components["schemas"]["InputCommand"])[]; discovery: { revision: components["schemas"]["ID"]; workspace: components["schemas"]["Workspace"]; candidates: components["schemas"]["CatalogCandidate"][]; diagnostics: components["schemas"]["SafeReason"][]; next: components["schemas"]["PageToken"] | null; } | null; discovery_failure: components["schemas"]["SafeReason"] | null; loaded: { revision: components["schemas"]["ID"] | null; commands: (components["schemas"]["HTTPCommand"] | components["schemas"]["InputCommand"])[]; next: components["schemas"]["PageToken"] | null; }; pages?: components["schemas"]["PageDescriptor"][]; }; SessionReloadOutcome: { /** @enum {string} */ state: "applied" | "failed" | "skipped"; loaded_revision: components["schemas"]["ID"] | null; restart_required: boolean; warnings: components["schemas"]["Warnings"]; failure: components["schemas"]["SafeReason"] | null; }; ModelReloadOutcome: { provider: components["schemas"]["ID"]; /** @enum {string} */ state: "refreshed" | "failed" | "skipped"; observed_at: components["schemas"]["Timestamp"] | null; failure: components["schemas"]["SafeReason"] | null; }; CachePolicyReloadOutcome: { /** @enum {string} */ state: "refreshed" | "failed"; failure: components["schemas"]["SafeReason"] | null; }; ShakeRequest: { /** @description Kinds (audio, video, image, all) and ids from the listing, separated by spaces or commas. */ media: string; }; SessionMediaItem: { /** @description The first hex digits of the payload hash, at least 8 and as many as tell the session's payloads apart. */ id: string; /** @enum {string} */ kind: "audio" | "video" | "image"; mime_type: string; bytes: number; places: { row: number; /** @enum {string} */ from: "message" | "tool_result"; call_id: string | null; }[]; }; SessionMedia: { media: components["schemas"]["SessionMediaItem"][]; clips_held: number | null; clip_budget: number; message: string; shaken?: components["schemas"]["SessionMediaItem"][]; rows?: number; }; ReloadRequest: { /** * @default both * @enum {string} */ target: "session" | "models" | "both"; }; ReloadResult: { cache_policy: components["schemas"]["CachePolicyReloadOutcome"] | null; session: components["schemas"]["SessionReloadOutcome"] | null; models: components["schemas"]["ModelReloadOutcome"][]; }; KernelUpgradeResult: { old_build: string | null; new_build: string | null; /** @enum {string} */ state: "upgraded" | "unchanged" | "failed"; stopped_jobs: { id: components["schemas"]["ID"]; reason: components["schemas"]["SafeReason"]; }[]; warnings: components["schemas"]["Warnings"]; failure: components["schemas"]["SafeReason"] | null; old_kernel_id: components["schemas"]["ID"] | null; new_kernel_id: components["schemas"]["ID"] | null; }; KernelRestartResult: { /** @description The kernel the session held when the restart began; null when it held none. A kernel only recorded for the session is stopped too. */ old_kernel_id: components["schemas"]["ID"] | null; stopped_jobs: components["schemas"]["ID"][]; ended_cells: components["schemas"]["ID"][]; }; RewindRequest: { checkpoint_id: components["schemas"]["ID"]; /** @description Ask for a summary of the removed tail, added to the session as a note. */ summary?: { instructions?: string | null; } | null; }; RewindResult: { archive_session_id: components["schemas"]["ID"]; /** @description The text of the removed user message, when a person wrote it. */ input: string | null; /** @description The summary note added after the cut, when one was requested. */ summary: string | null; }; CompactionRequest: { strategy?: components["schemas"]["ID"]; }; CompactionObservation: { strategy: components["schemas"]["ID"] | null; before_tokens: components["schemas"]["Counter"] | null; after_tokens: components["schemas"]["Counter"] | null; evicted_entries: components["schemas"]["Counter"]; summary: string; }; CompactionResult: { selection_applied: boolean; effective_strategy: components["schemas"]["ID"] | null; /** @enum {string} */ state: "compacted" | "unchanged" | "failed"; observation: components["schemas"]["CompactionObservation"] | null; failure: components["schemas"]["SafeReason"] | null; }; Model: { cyber_access?: { /** @enum {string} */ status: "supported" | "unsupported" | "unknown"; detail?: string; }; id: components["schemas"]["ID"]; /** @description Human-facing catalog name, or the model ID when unavailable. */ label: string; efforts: { id: string; label: string; }[]; /** @enum {string} */ default_effort_source?: "provider" | "albedo"; /** @description Known reasoning default or adapter fallback, null when unknown. */ default_effort?: string | null; default_context_tokens: components["schemas"]["Counter"] | null; effective_context_tokens: components["schemas"]["Counter"] | null; max_context_tokens: components["schemas"]["Counter"] | null; max_output_tokens: components["schemas"]["Counter"] | null; input_modalities: string[]; image_edge: number | null; raised: boolean; /** @description The window the user saved for this model, below its own; null or absent follows the model. */ compact_at?: components["schemas"]["Counter"] | null; cap_key: components["schemas"]["ID"]; cache_policy: { ttl_seconds: components["schemas"]["Counter"] | null; source: string | null; }; source: string; observed_at: components["schemas"]["Timestamp"] | null; }; CachePolicyEntry: { id: components["schemas"]["ID"]; /** @enum {string} */ layer: "default" | "remote" | "cache-ttl" | "context-limits" | "local"; match: { extension: string[] | null; host: string[] | null; model: string[] | null; }; /** @enum {string} */ policy: "refresh" | "fixed" | "evict" | "unknown"; /** @enum {string} */ clock: "request" | "response"; tiers: { seconds: components["schemas"]["Counter"]; write: number | null; }[] | null; read: number | null; survival: { typical: components["schemas"]["Counter"]; max: components["schemas"]["Counter"] | null; } | null; /** @enum {string} */ evidence: "documented" | "measured" | "implemented" | "folklore" | "unknown"; source: string; checked: string; note: string; }; CachePolicyLayer: { /** @enum {string} */ name: "default" | "remote" | "cache-ttl" | "context-limits" | "local"; path: string; loaded: boolean; error: components["schemas"]["SafeReason"] | null; }; CachePolicyPage: { entries: components["schemas"]["CachePolicyEntry"][]; layers: components["schemas"]["CachePolicyLayer"][]; matched: components["schemas"]["CachePolicyEntry"] | null; next: components["schemas"]["PageToken"] | null; }; ModelRead: components["schemas"]["ModelPage"] | components["schemas"]["CachePolicyPage"]; ModelPage: { items: components["schemas"]["Model"][]; next: components["schemas"]["PageToken"] | null; }; Host: { /** @description Current probe progress. Null when connecting or when no probe is running. */ step?: "staging" | null; target: components["schemas"]["ID"]; /** @enum {string} */ state: "unknown" | "probing" | "ready" | "needs_auth" | "unreachable" | "unsupported"; detail: components["schemas"]["SafeReason"] | null; observed_at: components["schemas"]["Timestamp"] | null; os: string | null; architecture: string | null; home: components["schemas"]["Workspace"] | null; authentication: { instructions: string; ssh_target: string; control_path: string | null; } | null; }; HostPage: { items: components["schemas"]["Host"][]; next: components["schemas"]["PageToken"] | null; }; RecentWorkspace: { location: components["schemas"]["Workspace"]; use_count: components["schemas"]["Counter"]; activity_at: components["schemas"]["Timestamp"] | null; }; RecentWorkspacePage: { items: components["schemas"]["RecentWorkspace"][]; next: components["schemas"]["PageToken"] | null; }; TreeChild: { name: string; /** @enum {string} */ kind: "file" | "directory" | "symlink"; location: components["schemas"]["Workspace"]; language: string | null; changed: components["schemas"]["Counter"]; }; TreeEntry: { name: string; /** @enum {string} */ kind: "file" | "directory" | "symlink"; location: components["schemas"]["Workspace"]; children: components["schemas"]["TreeChild"][]; more: components["schemas"]["Counter"]; language: string | null; changed: components["schemas"]["Counter"]; }; GitFacts: { /** @constant */ kind: "git"; branch: string | null; revision: string | null; dirty: boolean | null; added: components["schemas"]["Counter"] | null; modified: components["schemas"]["Counter"] | null; removed: components["schemas"]["Counter"] | null; root: components["schemas"]["Workspace"]; changed: components["schemas"]["Counter"] | null; touched_at: components["schemas"]["Timestamp"] | null; }; JJFacts: { /** @constant */ kind: "jj"; change_id: string | null; revision: string | null; description: string | null; dirty: boolean | null; conflicts: boolean | null; root: components["schemas"]["Workspace"]; changed: components["schemas"]["Counter"] | null; touched_at: components["schemas"]["Timestamp"] | null; bookmark: { name: string; ahead: components["schemas"]["Counter"]; } | null; }; WorkspacePreview: { repository: (components["schemas"]["GitFacts"] | components["schemas"]["JJFacts"]) | null; repository_diagnostic: components["schemas"]["SafeReason"] | null; languages: { name: string; bytes: components["schemas"]["Counter"]; share: number; color: string | null; }[]; tree: components["schemas"]["TreeEntry"][]; more: components["schemas"]["Counter"]; }; WorkspaceDirectory: { directory: components["schemas"]["Workspace"]; parent: components["schemas"]["Workspace"] | null; home: components["schemas"]["Workspace"] | null; host: components["schemas"]["Host"] | null; items: { name: string; location: components["schemas"]["Workspace"]; vcs: ("git" | "jj") | null; modified_at: components["schemas"]["Timestamp"] | null; hidden: boolean; /** * @description Only with `include=files`. A link to a file is a file. * @enum {string} */ kind?: "directory" | "file"; /** @description Only with `include=files`. Bytes for a file, null for a directory. */ size?: components["schemas"]["Counter"] | null; /** @description Only with `include=files`. Whether git (or a colocated jj) ignores it; null outside a repository, in a jj checkout without git, or when git cannot say. */ ignored?: boolean | null; }[]; next: components["schemas"]["PageToken"] | null; preview?: components["schemas"]["WorkspacePreview"]; }; WorkspaceRead: components["schemas"]["RecentWorkspacePage"] | components["schemas"]["WorkspaceDirectory"]; Account: { id: components["schemas"]["ID"]; provider: components["schemas"]["ID"]; label: string; detail: string; /** * @description `key` is an API key: saved in creds.json, or read from the daemon environment on every request when `source` is `env`. * @default model * @enum {string} */ kind: "model" | "service" | "key"; /** * @description `env` accounts are never stored and cannot be removed or renamed; their label names the variable, as `$OPENROUTER_API_KEY`. * @enum {string} */ source: "saved" | "env"; /** @description The base url a key account sends to; null for sign-in accounts. */ endpoint: string | null; /** @description When a rate or usage limit recorded against this account ends; null when it has room. */ limited_until: string | null; /** @description The sign-in's email when the provider reports one; null for keys, environment accounts, and sign-ins that carry no email. New sign-ins take it as their label until renamed. */ email: string | null; /** @description The subscription tier the provider reports for a sign-in, such as `Max`, `Pro` or `Plus`; null when unknown. */ plan: string | null; /** @description The saved sign-in can no longer be used (its renewal was refused, it was revoked, or the provider suspended it) until it is signed in again. Rotation skips it. Always false for keys. */ needs_sign_in: boolean; /** @description Profiles pinned to this account by `account_id`. */ selected_by_profiles: components["schemas"]["ID"][]; /** @description Profiles that list this account in `account_ids`. */ rotated_by_profiles: components["schemas"]["ID"][]; }; /** @description Saves an API key as an account. A key already saved for the same endpoint is refused with `key_exists`; its account id is in the problem detail. */ KeyAccountRequest: { /** @description The profile extension the key serves, such as `openai` or `opencode-go`. */ provider: components["schemas"]["ID"]; /** Format: uri */ endpoint: string; api_key: string; label?: string; }; AccountPatch: { label: string; }; LoginProvider: { id: components["schemas"]["ID"]; label: string; detail: string; /** * @default model * @enum {string} */ kind: "model" | "service"; flows: ("browser" | "manual" | "device" | "form")[]; fields: components["schemas"]["FormField"][]; /** @description The provider's warning that using this sign-in outside its own apps breaks its terms. Clients show it before starting the sign-in, and once before the first message on a profile that uses the sign-in rather than an API key. Dismissing that once adds `id` to the ui group's `dismissed_notices`. */ terms: components["schemas"]["LoginTerms"] | null; }; LoginTerms: { id: components["schemas"]["ID"]; about: string; headline: string; paragraphs: string[]; }; Auth: { providers: components["schemas"]["LoginProvider"][]; accounts: components["schemas"]["Account"][]; }; /** @description Flow defaults to the provider preferred flow. Form names, types and required values are checked against that provider declaration. Values are write-only. */ LoginRequest: { provider: components["schemas"]["ID"]; /** @enum {string} */ flow?: "browser" | "manual" | "device" | "form"; values: { [key: string]: string | boolean | number; }; }; LoginPatch: { response: string; }; /** * @example { * "id": "01a0fcea-2b00-7000-8000-000000000003", * "provider": "example-provider", * "url": "https://provider.example/authorize?state=synthetic-state", * "expires_at": "2026-10-02T14:15:00Z", * "state": "waiting", * "instructions": "Paste the callback URL if the browser cannot reach the daemon.", * "progress": "Waiting for authorization.", * "accounts": [], * "failure": null * } */ Login: { id: components["schemas"]["ID"]; provider: components["schemas"]["ID"]; url: string | null; expires_at: components["schemas"]["Timestamp"]; /** @enum {string} */ state: "waiting" | "exchanging" | "complete" | "failed" | "cancelled" | "expired"; instructions: string | null; progress: string; accounts: components["schemas"]["Account"][]; failure: components["schemas"]["SafeReason"] | null; }; MailMetadata: { mail_id: components["schemas"]["ID"]; sender_session_id: components["schemas"]["ID"] | null; receiver_session_id: components["schemas"]["ID"]; /** @enum {string} */ kind: "task" | "request" | "message" | "result" | "unreviewed" | "webhook" | "event"; /** @description The letter came from outside the agents, as a webhook or an extension's channel. */ external: boolean; /** @description The letter is a child's answer to its parent. */ answer: boolean; /** @description The letter is what an agent says or answers, worth telling someone who looked away; a brief or a request is not. */ notifies: boolean; bytes: components["schemas"]["Counter"]; sender_label: string | null; }; /** @description The kernel's job facts changed. Published only when they differ from what the stream last carried, so a client that keeps them needs no status poll. */ SessionKernelEvent: { /** @constant */ type: "kernel"; sequence: components["schemas"]["Counter"]; data: { kernel: components["schemas"]["Kernel"]; }; }; /** @description The loaded extensions' sidebar values changed, observed at a low rate while a client watches the stream. */ SessionGlancesEvent: { /** @constant */ type: "glances"; sequence: components["schemas"]["Counter"]; data: { glances: components["schemas"]["Glance"][]; }; }; SessionStatusEvent: { /** @constant */ type: "status"; sequence: components["schemas"]["Counter"]; data: components["schemas"]["SessionStatus"]; }; SideQuestionRequest: { question: string; }; SideQuestionPatchRequest: { dismissed: boolean; }; SideQuestion: { id: components["schemas"]["UUIDv7"]; question: string; /** @enum {string} */ status: "running" | "answered" | "failed" | "cancelled"; answer: string | null; error: string | null; asked_at: number; continuation_session_id: string | null; dismissed: boolean; }; SideQuestionEnvelope: { side_question: components["schemas"]["SideQuestion"]; }; SessionSideQuestionEvent: { /** @constant */ type: "side_question"; sequence: components["schemas"]["Counter"]; data: components["schemas"]["SideQuestionEnvelope"]; }; SideQuestionSessionRequest: { /** @constant */ kind: "side_question"; source_session_id: components["schemas"]["ID"]; side_question_id: components["schemas"]["UUIDv7"]; name?: string | null; }; ShellCommandRequest: { command: string; }; ShellCommand: { id: components["schemas"]["UUIDv7"]; command: string; /** @enum {string} */ status: "running" | "completed" | "cancelled" | "interrupted" | "failed"; exit_code: number | null; output: string; output_bytes: number; /** @description UTF-8 bytes in the exact model-facing receipt, before timestamping. */ model_text_bytes: number; truncated: boolean; error: string | null; history_seq: number | null; /** * @description Whether this receipt was included in a model request whose response has started. Pending does not wake an idle agent; unknown is legacy tracking, detached is removed by rewind. Execution status is independent. * @enum {string} */ delivery: "unknown" | "pending" | "delivered" | "detached"; }; ShellCommandResponse: { shell_command: components["schemas"]["ShellCommand"]; }; ShellCommandOutput: { text: string; next_offset: number | null; }; SessionShellCommandEvent: { /** @constant */ type: "shell_command"; sequence: components["schemas"]["Counter"]; data: components["schemas"]["ShellCommandResponse"]; }; SessionInputEvent: { /** @constant */ type: "input"; sequence: components["schemas"]["Counter"]; data: { input: components["schemas"]["Input"]; }; }; SessionTextEvent: { /** @constant */ type: "text"; sequence: components["schemas"]["Counter"]; data: { run_id: components["schemas"]["ID"]; message_id: components["schemas"]["ID"]; text: string; }; }; SessionThinkingEvent: { /** @constant */ type: "thinking"; sequence: components["schemas"]["Counter"]; data: { run_id: components["schemas"]["ID"]; message_id: components["schemas"]["ID"]; text: string; /** @description Completed thinking duration, when observed. */ elapsed_ms?: components["schemas"]["Counter"]; }; }; SessionMessageEvent: { /** @constant */ type: "message"; sequence: components["schemas"]["Counter"]; data: { entry: components["schemas"]["HistoryEntry"]; /** @description Live message IDs whose streamed text this durable entry represents, in order, as an exact prefix. Empty when nothing of this entry streamed live. Always sent by daemons with capability acp_attachment. */ replaces_live_ids?: components["schemas"]["ID"][]; }; }; SessionToolProgressEvent: { /** @constant */ type: "tool_progress"; sequence: components["schemas"]["Counter"]; data: { progress: components["schemas"]["ToolProgress"] | null; }; }; SessionToolEvent: { /** @constant */ type: "tool"; sequence: components["schemas"]["Counter"]; data: { tool_call_id: components["schemas"]["ID"]; progress_call_id: components["schemas"]["ID"]; name: string; title?: string | null; arguments: components["schemas"]["DynamicJSON"]; result: components["schemas"]["DynamicJSON"]; trace: components["schemas"]["ToolTrace"] | null; /** @description False when the arguments exceed 64 KiB or the encoded arguments, result and trace exceed 64 KiB plus the trace's snapshots (counted up to 256 KiB). Arguments, result and trace are then null; read the call from history through reference. */ content_complete: boolean; reference: components["schemas"]["ContentReference"] | null; /** * @description Outcome of the whole call. progress_call_id equals the call_id of any progress for this call, is unique within the session, and exists even when no progress was sent. Always sent by daemons with capability acp_attachment. * @enum {string} */ status?: "completed" | "failed"; }; }; SessionNoteEvent: { /** @constant */ type: "note"; sequence: components["schemas"]["Counter"]; data: { entry_id: components["schemas"]["ID"]; origin: string; text: string; mail: components["schemas"]["MailMetadata"] | null; }; }; SessionRetryEvent: { /** @constant */ type: "retry"; sequence: components["schemas"]["Counter"]; data: { run_id: components["schemas"]["ID"]; attempt: number; reason: components["schemas"]["SafeReason"]; delay_ms: components["schemas"]["Counter"]; }; }; SessionUsageEvent: { /** @constant */ type: "usage"; sequence: components["schemas"]["Counter"]; data: components["schemas"]["Usage"]; }; SessionCommittedEvent: { /** @constant */ type: "committed"; sequence: components["schemas"]["Counter"]; data: { high_water: components["schemas"]["Counter"]; /** @description Retire all provisional output for a model commit. */ replaces_all_live: boolean; replaces_live_ids: components["schemas"]["ID"][]; }; }; SessionTurnCompletedEvent: { /** @constant */ type: "turn_completed"; sequence: components["schemas"]["Counter"]; data: { run_id: components["schemas"]["ID"]; /** @enum {string} */ state: "completed" | "interrupted" | "failed" | "abandoned"; input_ids: components["schemas"]["ID"][]; input_count: components["schemas"]["Counter"]; truncated: boolean; }; }; SessionCompactedEvent: { /** @constant */ type: "compacted"; sequence: components["schemas"]["Counter"]; data: components["schemas"]["CompactionObservation"]; }; SessionErrorEvent: { /** @constant */ type: "error"; sequence: components["schemas"]["Counter"]; data: { run_id: components["schemas"]["ID"] | null; code: string; message: string; }; }; SessionInvalidateEvent: { /** @constant */ type: "invalidate"; sequence: components["schemas"]["Counter"]; data: { /** @enum {string} */ kind: "session" | "settings" | "catalog" | "context" | "extension"; url: components["schemas"]["ResourceURL"]; }; }; SessionEvent: components["schemas"]["SessionStatusEvent"] | components["schemas"]["SessionInputEvent"] | components["schemas"]["SessionShellCommandEvent"] | components["schemas"]["SessionSideQuestionEvent"] | components["schemas"]["SessionTextEvent"] | components["schemas"]["SessionThinkingEvent"] | components["schemas"]["SessionMessageEvent"] | components["schemas"]["SessionToolProgressEvent"] | components["schemas"]["SessionToolEvent"] | components["schemas"]["SessionNoteEvent"] | components["schemas"]["SessionRetryEvent"] | components["schemas"]["SessionUsageEvent"] | components["schemas"]["SessionCommittedEvent"] | components["schemas"]["SessionTurnCompletedEvent"] | components["schemas"]["SessionCompactedEvent"] | components["schemas"]["SessionErrorEvent"] | components["schemas"]["SessionInvalidateEvent"] | components["schemas"]["SessionKernelEvent"] | components["schemas"]["SessionGlancesEvent"]; ResetEvent: { /** @constant */ type: "reset"; data: { /** @enum {string} */ reason: "initial" | "generation_changed" | "replay_unavailable" | "recovery"; }; }; FailureEvent: { /** @constant */ type: "failure"; data: components["schemas"]["SafeReason"]; }; /** * @description Empty keepalive keeps the last sequence. Nonempty event sequences are contiguous from the requested cursor. * @example { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "cursor": 1, * "events": [ * { * "type": "input", * "sequence": 1, * "data": { * "input": { * "id": "01a0fcea-2b00-7000-8000-000000000002", * "session_id": "01a0fcea-2b00-7000-8000-000000000001", * "kind": "message", * "admission": "accepted", * "http_status": 202, * "problem": null, * "accepted_at": "2026-10-02T14:00:00Z", * "acceptance_order": 1, * "delivery": "pending", * "blocking_reason": null, * "transcript_position": null, * "turn": null, * "client_id": "draft-1" * } * } * } * ] * } */ ReplayBatch: { generation: components["schemas"]["Generation"]; cursor: components["schemas"]["Counter"]; events: components["schemas"]["SessionEvent"][]; }; /** * @description Leading reset and complete snapshot. Later events, if any, follow the snapshot cursor. Envelope cursor advances through every delivered event. * @example { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "cursor": 0, * "events": [ * { * "type": "reset", * "data": { * "reason": "initial" * } * } * ], * "snapshot": { * "id": "01a0fcea-2b00-7000-8000-000000000001", * "name": "New session", * "automatic_name": "New session", * "workspace": "/workspace/project", * "location": { * "host": null, * "user": null, * "path": "/workspace/project", * "label": null * }, * "parent_id": null, * "root_id": "01a0fcea-2b00-7000-8000-000000000001", * "address": null, * "depth": 0, * "closed": false, * "created_at": "2026-10-02T14:00:00Z", * "activity_at": "2026-10-02T14:00:00Z", * "provider_profile": "personal", * "model": "example-model", * "effort": null, * "status": { * "phase": "idle", * "run_id": null, * "interrupt_requested": false, * "blocking_reason": null * }, * "preview": { * "text": "", * "transcript_count": 0, * "truncated": false * }, * "preferences": { * "pinned": false, * "pin_order": null, * "archived": false, * "opens": 0 * }, * "current_progress": [], * "active_output": [], * "shell_commands": [], * "activity": { * "lines": [], * "output_scalars": 0, * "output_utf8_bytes": 0, * "observed_at": "2026-10-02T14:00:00Z", * "latest_input": null, * "latest_answer": null * }, * "cursor": { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "sequence": 0 * }, * "creation": { * "submitted": { * "kind": "new", * "workspace": "/workspace/project", * "name": null, * "provider_profile": null, * "model": null, * "effort": null * }, * "resolved": { * "workspace": "/workspace/project", * "provider_profile": "personal", * "model": "example-model", * "effort": null * } * }, * "revision": "config-1", * "family_revision": "family-1", * "configuration_resource": { * "url": "/sessions/01a0fcea-2b00-7000-8000-000000000001/configuration", * "etag": "\"session-config-1\"", * "value": { * "id": "01a0fcea-2b00-7000-8000-000000000001", * "name": "New session", * "workspace": "/workspace/project", * "provider_profile": "personal", * "model": "example-model", * "effort": null, * "preferences": { * "pinned": false, * "pin_order": null, * "archived": false * }, * "selection": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * }, * "revision": "config-1" * } * }, * "workspace_change": null, * "selection": { * "overrides": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * }, * "effective": { * "extensions": {}, * "skills": {}, * "instructions": {}, * "mcp": {} * } * }, * "composition": { * "desired_revision": "composition-1", * "loaded_revision": null, * "needs_reload": true, * "dependencies": {}, * "quarantine": [], * "availability": {} * }, * "kernel": { * "instance_id": null, * "state": "none", * "stage": null, * "build": null, * "stale": false, * "staleness_reasons": [], * "live_job_count": 0, * "running_jobs": [] * }, * "pending_inputs": [], * "input_order": 0, * "usage": { * "model": null, * "observed_at": null, * "prompt_tokens": null, * "cached_prompt_tokens": null, * "cache_write_tokens": null, * "completion_tokens": null, * "total_tokens": null, * "elapsed_ms": null, * "tokens_per_second": null, * "context_window_tokens": null, * "cache_ttl_seconds": null, * "cache_fade": [] * }, * "history": { * "items": [], * "older": null, * "newer": null, * "high_water": 0 * }, * "glances": [] * } * } */ ResetBatch: { generation: components["schemas"]["Generation"]; cursor: components["schemas"]["Counter"]; events: [ components["schemas"]["ResetEvent"] ]; snapshot: components["schemas"]["Session"]; }; /** * @description Terminal failure, alone with no snapshot. It does not commit a replacement cursor. * @example { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "cursor": 0, * "events": [ * { * "type": "failure", * "data": { * "code": "history_unavailable", * "detail": "Durable history could not be loaded." * } * } * ] * } */ FailureBatch: { generation: components["schemas"]["Generation"]; cursor: components["schemas"]["Counter"]; events: components["schemas"]["FailureEvent"][]; }; SessionBatch: components["schemas"]["ReplayBatch"] | components["schemas"]["ResetBatch"] | components["schemas"]["FailureBatch"]; ActivityEvent: { /** @constant */ type: "activity"; data: { session_id: components["schemas"]["ID"]; cursor: components["schemas"]["Cursor"]; status: components["schemas"]["SessionStatus"]; current_progress: components["schemas"]["ToolProgress"][]; activity: components["schemas"]["Activity"]; }; }; CollectionInvalidateEvent: { /** @constant */ type: "invalidate"; data: { urls: components["schemas"]["ResourceURL"][]; session_ids: components["schemas"]["ID"][]; scope_dirty: boolean; }; }; CollectionMailEvent: { /** @constant */ type: "mail"; data: components["schemas"]["MailMetadata"]; }; CollectionReadyEvent: { /** @constant */ type: "ready"; data: components["schemas"]["EmptyRequest"]; }; CollectionResetEvent: { /** @constant */ type: "reset"; data: { /** @constant */ reason: "initial"; }; }; CollectionOverflowEvent: { /** @constant */ type: "overflow"; data: components["schemas"]["EmptyRequest"]; }; /** * @example { * "events": [ * { * "type": "ready", * "data": {} * }, * { * "type": "reset", * "data": { * "reason": "initial" * } * } * ] * } */ CollectionReadyBatch: { events: [ components["schemas"]["CollectionReadyEvent"], components["schemas"]["CollectionResetEvent"] ]; }; /** * @example { * "events": [ * { * "type": "activity", * "data": { * "session_id": "01a0fcea-2b00-7000-8000-000000000001", * "cursor": { * "generation": "J6kYj6IGcXyP3eMIp-WL3A", * "sequence": 0 * }, * "status": { * "phase": "idle", * "run_id": null, * "interrupt_requested": false, * "blocking_reason": null * }, * "current_progress": [], * "active_output": [], * "activity": { * "lines": [], * "output_scalars": 0, * "output_utf8_bytes": 0, * "observed_at": "2026-10-02T14:00:00Z", * "latest_input": null, * "latest_answer": null * } * } * } * ] * } */ CollectionBatch: components["schemas"]["CollectionReadyBatch"] | { events: (components["schemas"]["ActivityEvent"] | components["schemas"]["CollectionInvalidateEvent"] | components["schemas"]["CollectionMailEvent"])[]; } | { events: components["schemas"]["CollectionOverflowEvent"][]; }; /** * @description One parsed SSE event. Decode data as JSON and validate SessionBatch separately; contentSchema is not asserted by ordinary JSON Schema validation. No event, id or retry fields are emitted. * @example { * "data": "{\"generation\":\"J6kYj6IGcXyP3eMIp-WL3A\",\"cursor\":0,\"events\":[{\"type\":\"reset\",\"data\":{\"reason\":\"initial\"}}],\"snapshot\":{\"id\":\"01a0fcea-2b00-7000-8000-000000000001\",\"name\":\"New session\",\"automatic_name\":\"New session\",\"workspace\":\"/workspace/project\",\"location\":{\"host\":null,\"user\":null,\"path\":\"/workspace/project\",\"label\":null},\"parent_id\":null,\"root_id\":\"01a0fcea-2b00-7000-8000-000000000001\",\"address\":null,\"depth\":0,\"closed\":false,\"created_at\":\"2026-10-02T14:00:00Z\",\"activity_at\":\"2026-10-02T14:00:00Z\",\"provider_profile\":\"personal\",\"model\":\"example-model\",\"effort\":null,\"status\":{\"phase\":\"idle\",\"run_id\":null,\"interrupt_requested\":false,\"blocking_reason\":null},\"preview\":{\"text\":\"\",\"transcript_count\":0,\"truncated\":false},\"preferences\":{\"pinned\":false,\"pin_order\":null,\"archived\":false,\"opens\":0},\"current_progress\":[],\"activity\":{\"lines\":[],\"output_scalars\":0,\"output_utf8_bytes\":0,\"observed_at\":\"2026-10-02T14:00:00Z\",\"latest_input\":null,\"latest_answer\":null},\"cursor\":{\"generation\":\"J6kYj6IGcXyP3eMIp-WL3A\",\"sequence\":0},\"creation\":{\"submitted\":{\"kind\":\"new\",\"workspace\":\"/workspace/project\",\"name\":null,\"provider_profile\":null,\"model\":null,\"effort\":null},\"resolved\":{\"workspace\":\"/workspace/project\",\"provider_profile\":\"personal\",\"model\":\"example-model\",\"effort\":null}},\"revision\":\"config-1\",\"family_revision\":\"family-1\",\"configuration_resource\":{\"url\":\"/sessions/01a0fcea-2b00-7000-8000-000000000001/configuration\",\"etag\":\"\\\"session-config-1\\\"\",\"value\":{\"id\":\"01a0fcea-2b00-7000-8000-000000000001\",\"name\":\"New session\",\"workspace\":\"/workspace/project\",\"provider_profile\":\"personal\",\"model\":\"example-model\",\"effort\":null,\"preferences\":{\"pinned\":false,\"pin_order\":null,\"archived\":false},\"selection\":{\"extensions\":{},\"skills\":{},\"instructions\":{},\"mcp\":{}},\"revision\":\"config-1\"}},\"workspace_change\":null,\"selection\":{\"overrides\":{\"extensions\":{},\"skills\":{},\"instructions\":{},\"mcp\":{}},\"effective\":{\"extensions\":{},\"skills\":{},\"instructions\":{},\"mcp\":{}}},\"composition\":{\"desired_revision\":\"composition-1\",\"loaded_revision\":null,\"needs_reload\":true,\"dependencies\":{},\"quarantine\":[],\"availability\":{}},\"kernel\":{\"instance_id\":null,\"state\":\"none\",\"stage\":null,\"build\":null,\"stale\":false,\"staleness_reasons\":[],\"live_job_count\":0,\"running_jobs\":[]},\"pending_inputs\":[],\"input_order\":0,\"usage\":{\"model\":null,\"observed_at\":null,\"prompt_tokens\":null,\"cached_prompt_tokens\":null,\"cache_write_tokens\":null,\"completion_tokens\":null,\"total_tokens\":null,\"elapsed_ms\":null,\"tokens_per_second\":null,\"context_window_tokens\":null,\"cache_ttl_seconds\":null,\"cache_fade\":[]},\"history\":{\"items\":[],\"older\":null,\"newer\":null,\"high_water\":0},\"glances\":[]}}" * } * @example { * "data": "{\"generation\":\"J6kYj6IGcXyP3eMIp-WL3A\",\"cursor\":1,\"events\":[{\"type\":\"input\",\"sequence\":1,\"data\":{\"input\":{\"id\":\"01a0fcea-2b00-7000-8000-000000000002\",\"session_id\":\"01a0fcea-2b00-7000-8000-000000000001\",\"kind\":\"message\",\"admission\":\"accepted\",\"http_status\":202,\"problem\":null,\"accepted_at\":\"2026-10-02T14:00:00Z\",\"acceptance_order\":1,\"delivery\":\"pending\",\"blocking_reason\":null,\"transcript_position\":null,\"turn\":null,\"client_id\":\"draft-1\"}}}]}" * } */ SessionSSE: { data: string; }; /** * @description One parsed SSE event. Decode data as JSON and validate CollectionBatch separately; contentSchema is not asserted by ordinary JSON Schema validation. No event, id or retry fields are emitted. * @example { * "data": "{\"events\":[{\"type\":\"ready\",\"data\":{}},{\"type\":\"reset\",\"data\":{\"reason\":\"initial\"}}]}" * } * @example { * "data": "{\"events\":[{\"type\":\"activity\",\"data\":{\"session_id\":\"01a0fcea-2b00-7000-8000-000000000001\",\"cursor\":{\"generation\":\"J6kYj6IGcXyP3eMIp-WL3A\",\"sequence\":0},\"status\":{\"phase\":\"idle\",\"run_id\":null,\"interrupt_requested\":false,\"blocking_reason\":null},\"current_progress\":[],\"activity\":{\"lines\":[],\"output_scalars\":0,\"output_utf8_bytes\":0,\"observed_at\":\"2026-10-02T14:00:00Z\",\"latest_input\":null,\"latest_answer\":null}}}]}" * } */ CollectionSSE: { data: string; }; WorkItem: { id: components["schemas"]["ID"]; workspace: components["schemas"]["Workspace"]; title: string; notes: string; parent_id: components["schemas"]["ID"] | null; session_id: components["schemas"]["ID"] | null; run_id: components["schemas"]["ID"] | null; /** @enum {string} */ status: "open" | "active" | "blocked" | "done" | "cancelled"; revision: components["schemas"]["ID"]; created_at: components["schemas"]["Timestamp"]; updated_at: components["schemas"]["Timestamp"]; }; /** * @example { * "title": "Fix the parser" * } */ WorkCreate: { title: string; notes?: string; parent_id?: components["schemas"]["ID"] | null; session_id?: components["schemas"]["ID"] | null; run_id?: components["schemas"]["ID"] | null; notify_session_id?: components["schemas"]["ID"]; }; WorkPatch: { title?: string; notes?: string; session_id?: components["schemas"]["ID"] | null; run_id?: components["schemas"]["ID"] | null; /** @enum {string} */ status?: "open" | "active" | "blocked" | "done" | "cancelled"; notify_session_id?: components["schemas"]["ID"]; }; Paperclip: { id: components["schemas"]["ID"]; /** @enum {string} */ topic: "harness" | "workflow" | "bug" | "user" | "other"; title: string; message: string; suggestion: string; reply: string; /** @enum {string} */ status: "open" | "acknowledged" | "resolved" | "dismissed"; session_id: components["schemas"]["ID"] | null; workspace: components["schemas"]["Workspace"] | null; created_at: components["schemas"]["Timestamp"]; updated_at: components["schemas"]["Timestamp"]; resolution: string; resolving_session_id: components["schemas"]["ID"] | null; revision: components["schemas"]["ID"]; }; PaperclipCreate: { /** @enum {string} */ topic?: "harness" | "workflow" | "bug" | "user" | "other"; title?: string; message: string; suggestion?: string; session_id?: components["schemas"]["ID"] | null; workspace?: components["schemas"]["Workspace"] | null; }; /** @description Reply cannot accompany resolved or dismissed status. It acknowledges the item. */ PaperclipPatch: { /** @enum {string} */ status?: "acknowledged" | "resolved" | "dismissed"; reply?: string; resolution?: string; }; ScheduleJob: { id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; /** @enum {string} */ kind: "once" | "recurring" | "heartbeat"; prompt: string; next_at: components["schemas"]["Timestamp"]; every_seconds: number | null; revision: components["schemas"]["ID"]; /** @description Null for historical schedules that did not record creation time. */ created_at: components["schemas"]["Timestamp"] | null; /** @description Null until a historical schedule records a new update. */ updated_at: components["schemas"]["Timestamp"] | null; }; ScheduleCreate: { session_id: components["schemas"]["ID"]; /** @enum {string} */ kind: "once" | "recurring" | "heartbeat"; prompt: string; /** @default 0 */ delay_seconds: number; every_seconds?: number; } & unknown; /** @description Validate complete candidate: once has null repetition; recurring and heartbeat require every_seconds. */ SchedulePatch: { /** @enum {string} */ kind?: "once" | "recurring" | "heartbeat"; prompt?: string; delay_seconds?: number; every_seconds?: number | null; }; LinkConfiguration: { workspace: components["schemas"]["Workspace"]; group_id: components["schemas"]["ID"]; members: components["schemas"]["Workspace"][]; revision: components["schemas"]["ID"]; next: components["schemas"]["PageToken"] | null; }; LinkConfigurationResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["LinkConfiguration"]; }; LinkGroup: { page?: components["schemas"]["PageDescriptor"]; configuration_resource: components["schemas"]["LinkConfigurationResource"]; presence: { workspace: components["schemas"]["Workspace"]; /** @description Observed directory presence. Null for an uninspected or unreachable location. */ exists: boolean | null; session_count: components["schemas"]["Counter"]; host: components["schemas"]["Host"] | null; }[]; next: components["schemas"]["PageToken"] | null; }; LinkMerge: { other_workspace: components["schemas"]["Workspace"]; other_etag: components["schemas"]["ETag"]; }; LinkChange: { resource: components["schemas"]["LinkConfigurationResource"]; notifications: components["schemas"]["TargetNotification"][]; notification_count: components["schemas"]["Counter"]; truncated: boolean; }; HookConfiguration: { id: components["schemas"]["ID"]; name: string; session_id: components["schemas"]["ID"]; enabled: boolean; signature_header: string; signature_prefix: string; revision: components["schemas"]["ID"]; }; HookConfigurationResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["HookConfiguration"]; }; Hook: { configuration_resource: components["schemas"]["HookConfigurationResource"]; /** @description Where a sender posts this hook's deliveries; null while no webhook intake listener runs. */ delivery_url: string | null; pending_count: components["schemas"]["Counter"]; deferral_reason: components["schemas"]["SafeReason"] | null; }; /** * @example { * "session_id": "01a0fcea-2b00-7000-8000-000000000001", * "name": "ci" * } */ HookCreate: { name: string; session_id: components["schemas"]["ID"]; enabled?: boolean; signature_header?: string; signature_prefix?: string; secret?: string; }; HookPatch: { name?: string; enabled?: boolean; signature_header?: string; signature_prefix?: string; }; HookSecretRequest: { secret?: string; }; /** * @description Secret appears only on creation and explicit rotation, including a generated secret. Never present on PATCH or reads. * @example { * "resource": { * "url": "/extensions/webhooks/hooks/hook-1?view=configuration", * "etag": "\"hook-revision-1\"", * "value": { * "id": "hook-1", * "name": "ci", * "session_id": "01a0fcea-2b00-7000-8000-000000000001", * "enabled": true, * "signature_header": "X-Albedo-Signature", * "signature_prefix": "sha256=", * "revision": "hook-revision-1" * } * }, * "notification": { * "state": "not_requested", * "code": null, * "detail": null * }, * "secret": "synthetic-example-hook-secret" * } */ HookChange: { resource: components["schemas"]["HookConfigurationResource"]; notification: components["schemas"]["Notification"]; secret?: string; }; HookPermission: { session_id: components["schemas"]["ID"]; agent_manage: boolean; revision: components["schemas"]["ID"]; }; HookPermissionPatch: { agent_manage?: boolean; }; HookPermissionResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["HookPermission"]; }; HookPermissionChange: { resource: components["schemas"]["HookPermissionResource"]; notification: components["schemas"]["Notification"]; }; /** @description Discord snowflake as decimal text. */ DiscordID: string; /** @description A session's Discord bot. The token never leaves the daemon. */ DiscordBot: { id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; name: string; owner_id: components["schemas"]["DiscordID"]; enabled: boolean; revision: number; /** @enum {string} */ state: "disabled" | "connecting" | "online" | "reconnecting" | "failed"; detail: string | null; user: components["schemas"]["DiscordBotUser"] | null; application_id: components["schemas"]["DiscordID"] | null; invite_url: string | null; channels: components["schemas"]["Counter"]; allowed: components["schemas"]["Counter"]; requests: components["schemas"]["Counter"]; }; DiscordBotUser: { id: components["schemas"]["DiscordID"]; username: string; }; PhotonStatus: { session: string | null; ready: boolean; }; DiscordBotPage: { items: components["schemas"]["DiscordBot"][]; }; DiscordBotCreate: { session_id: components["schemas"]["ID"]; name: string; token: string; owner_id: string; }; DiscordBotPatch: { revision: number; name?: string; token?: string; owner_id?: string; enabled?: boolean; }; DiscordDeletion: { deleted: components["schemas"]["ID"]; }; DiscordUserDeletion: { deleted: components["schemas"]["DiscordID"]; }; /** * @description off ignores the channel; turn queues messages until the running turn ends; tool steers the running turn after its current tool call. * @enum {string} */ DiscordDelivery: "off" | "turn" | "tool"; DiscordGuildList: { guilds: components["schemas"]["DiscordGuild"][]; }; DiscordGuild: { id: components["schemas"]["DiscordID"]; name: string; channels: components["schemas"]["DiscordChannel"][]; }; DiscordChannel: { id: components["schemas"]["DiscordID"]; name: string; /** @description Discord channel type; 0 text, 2 voice, 4 category, 5 announcement, 15 forum. */ type: number; parent_id: components["schemas"]["DiscordID"] | null; position: number; delivery: components["schemas"]["DiscordDelivery"]; mentions_only: boolean; }; DiscordChannelSetting: { delivery: components["schemas"]["DiscordDelivery"]; mentions_only: boolean; guild_id?: components["schemas"]["DiscordID"]; guild_name?: string; channel_name?: string; }; DiscordChannelState: { channel_id: components["schemas"]["DiscordID"]; delivery: components["schemas"]["DiscordDelivery"]; mentions_only: boolean; }; DiscordDMs: { owner: components["schemas"]["DiscordOwner"]; allowed: components["schemas"]["DiscordAllowed"][]; requests: components["schemas"]["DiscordRequest"][]; }; DiscordOwner: { user_id: components["schemas"]["DiscordID"]; name: string | null; }; DiscordAllowed: { user_id: components["schemas"]["DiscordID"]; name: string | null; /** @description Unix milliseconds. */ added_at: number; }; /** @description Someone whose DMs were refused because they are not on the allow list. */ DiscordRequest: { user_id: components["schemas"]["DiscordID"]; username: string; preview: string; /** @description Unix milliseconds. */ last_at: number; count: number; }; DiscordAllow: { name: string | null; }; Delivery: { id: components["schemas"]["ID"]; hook_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; received_at: components["schemas"]["Timestamp"]; delivered_at: components["schemas"]["Timestamp"] | null; attempts: components["schemas"]["Counter"]; deferral_reason: components["schemas"]["SafeReason"] | null; }; DeliveryDetail: components["schemas"]["Delivery"] & { payload: { /** @enum {string} */ encoding: "utf8" | "base64"; data: string; }; }; WorkResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["WorkItem"]; }; /** * @example { * "resource": { * "url": "/extensions/work/items/work-1?workspace=%2Fworkspace%2Fproject", * "etag": "\"work-revision-1\"", * "value": { * "id": "work-1", * "workspace": "/workspace/project", * "title": "Fix the parser", * "notes": "", * "parent_id": null, * "session_id": null, * "run_id": null, * "status": "open", * "revision": "work-revision-1", * "created_at": "2026-10-02T14:00:00Z", * "updated_at": "2026-10-02T14:00:00Z" * } * }, * "notification": { * "state": "not_requested", * "code": null, * "detail": null * } * } */ WorkChange: { resource: components["schemas"]["WorkResource"]; notification: components["schemas"]["Notification"]; }; WorkPage: { items: components["schemas"]["WorkResource"][]; next: components["schemas"]["PageToken"] | null; page?: components["schemas"]["PageDescriptor"]; glance?: components["schemas"]["Glance"]; }; PaperclipResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["Paperclip"]; }; PaperclipChange: { resource: components["schemas"]["PaperclipResource"]; notification: components["schemas"]["Notification"]; }; PaperclipPage: { items: components["schemas"]["PaperclipResource"][]; next: components["schemas"]["PageToken"] | null; page?: components["schemas"]["PageDescriptor"]; glance?: components["schemas"]["Glance"]; }; WebSearchProvider: { name: components["schemas"]["ID"]; label: string; position: number; enabled: boolean; }; WebSearchProviderResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["WebSearchProvider"]; }; WebSearchProviderPage: { items: components["schemas"]["WebSearchProviderResource"][]; next: null; page: components["schemas"]["PageDescriptor"]; }; WebSearchProviderChangeRequest: { /** @enum {string} */ change: "up" | "down" | "toggle"; }; WebSearchProviderChange: { resource: components["schemas"]["WebSearchProviderResource"]; }; ScheduleResource: { url: components["schemas"]["ResourceURL"]; etag: components["schemas"]["ETag"]; value: components["schemas"]["ScheduleJob"]; }; ScheduleChange: { resource: components["schemas"]["ScheduleResource"]; notification: components["schemas"]["Notification"]; }; SchedulePage: { items: components["schemas"]["ScheduleResource"][]; next: components["schemas"]["PageToken"] | null; page?: components["schemas"]["PageDescriptor"]; glance?: components["schemas"]["Glance"]; }; HookPage: { items: components["schemas"]["Hook"][]; next: components["schemas"]["PageToken"] | null; }; DeliveryPage: { items: components["schemas"]["Delivery"][]; next: components["schemas"]["PageToken"] | null; }; ExtensionDeletion: { id: components["schemas"]["ID"]; notification: components["schemas"]["Notification"]; }; ProxyTextPart: { /** @constant */ type: "text"; text: string; }; ProxyImagePart: { /** @constant */ type: "image_url"; image_url: { url: string; /** @enum {string} */ detail?: "auto" | "low" | "high"; }; }; ProxyAudioPart: { /** @constant */ type: "input_audio"; input_audio: { data: string; /** @enum {string} */ format: "wav" | "mp3"; }; }; ProxyToolCall: { id: string; /** @constant */ type: "function"; function: { name: string; arguments: string; }; }; /** @description Tool messages require tool_call_id. Only assistant messages carry tool_calls. Images are accepted only as user data URLs. */ ProxyMessage: { /** @enum {string} */ role: "system" | "developer" | "user" | "assistant" | "tool"; content?: (string | (components["schemas"]["ProxyTextPart"] | components["schemas"]["ProxyImagePart"] | components["schemas"]["ProxyAudioPart"])[]) | null; name?: string; tool_call_id?: string; tool_calls?: components["schemas"]["ProxyToolCall"][]; reasoning_content?: string | null; }; ProxyToolDefinition: { /** @constant */ type: "function"; function: { name: string; description?: string; parameters?: components["schemas"]["DynamicJSON"]; strict?: boolean; }; }; /** * @example { * "model": "personal/example-model", * "messages": [ * { * "role": "user", * "content": "Hello" * } * ], * "stream": true * } */ ProxyCompletionRequest: { model: string; messages: components["schemas"]["ProxyMessage"][]; tools?: components["schemas"]["ProxyToolDefinition"][]; max_tokens?: number; max_completion_tokens?: number; temperature?: number; top_p?: number; stop?: string | string[]; tool_choice?: ("none" | "auto" | "required") | { /** @constant */ type: "function"; function: { name: string; }; }; parallel_tool_calls?: boolean; reasoning_effort?: string; reasoning?: { effort: string; }; response_format?: { /** @constant */ type: "json_object"; } | { /** @constant */ type: "json_schema"; json_schema: { name: string; description?: string; schema: components["schemas"]["DynamicJSON"]; strict?: boolean; }; }; /** @default false */ stream: boolean; stream_options?: { include_usage?: boolean; }; }; ProxyUsage: { prompt_tokens_details?: { cached_tokens: components["schemas"]["Counter"]; }; completion_tokens_details?: { reasoning_tokens: components["schemas"]["Counter"]; }; prompt_tokens: components["schemas"]["Counter"]; completion_tokens: components["schemas"]["Counter"]; total_tokens: components["schemas"]["Counter"]; }; ProxyError: { error: { message: string; type: string; code: string | null; param: string | null; }; }; /** * @example { * "id": "completion-1", * "object": "chat.completion", * "created": 1790949600, * "model": "personal/example-model", * "choices": [ * { * "index": 0, * "message": { * "role": "assistant", * "content": "Hello" * }, * "finish_reason": "stop" * } * ], * "usage": { * "prompt_tokens": 1, * "completion_tokens": 1, * "total_tokens": 2 * } * } */ ProxyCompletion: { id: components["schemas"]["ID"]; /** @constant */ object: "chat.completion"; created: components["schemas"]["Counter"]; model: string; choices: { index: components["schemas"]["Counter"]; message: { /** @constant */ role: "assistant"; content: string | null; reasoning_content?: string | null; tool_calls?: components["schemas"]["ProxyToolCall"][]; }; /** @enum {string} */ finish_reason: "stop" | "length" | "tool_calls" | "content_filter"; }[]; usage: components["schemas"]["ProxyUsage"] | null; }; ProxyToolDelta: { index: components["schemas"]["Counter"]; id?: string; /** @constant */ type?: "function"; function?: { name: string; arguments: string; }; }; ProxyChunk: { id: components["schemas"]["ID"]; /** @constant */ object: "chat.completion.chunk"; created: components["schemas"]["Counter"]; model: string; choices: { index: components["schemas"]["Counter"]; delta: { /** @constant */ role?: "assistant"; content?: string; reasoning_content?: string; tool_calls?: components["schemas"]["ProxyToolDelta"][]; }; finish_reason: ("stop" | "length" | "tool_calls" | "content_filter") | null; }[]; usage?: components["schemas"]["ProxyUsage"] | null; }; /** @description Data is a JSON chunk or error, followed by literal [DONE]. Validate decoded JSON explicitly. */ ProxySSE: { data: "[DONE]" | string; }; ProxyModels: { /** @constant */ object: "list"; data: components["schemas"]["ProxyModel"][]; errors?: { profile: components["schemas"]["ID"]; message: string; }[]; }; ProxyModel: { id: string; /** @constant */ object: "model"; created: components["schemas"]["Counter"]; owned_by: string; /** @description Nonstandard. Reasoning efforts the model takes; empty when it takes none. */ efforts: string[]; }; AdmissionProblem: { /** @constant */ type: "about:blank"; title: string; status: number; detail: string; code: string; fields?: { pointer: string; detail: string; }[]; }; ContextCompaction: { /** @enum {string} */ status: "not_configured" | "not_needed" | "compacted" | "unknown"; strategy: components["schemas"]["ID"] | null; /** @description The size.tokens at which the active strategy compacts, as its own trigger decides it; null while it has no threshold. */ trigger_tokens: components["schemas"]["Counter"] | null; input_limit_tokens: components["schemas"]["Counter"] | null; /** @description How big the prepared request is, as its strategy measured it; null while the strategy has no size for it. */ size: components["schemas"]["Size"] | null; provider_input_tokens: components["schemas"]["Counter"] | null; provider_cached_input_tokens: components["schemas"]["Counter"] | null; before_items: components["schemas"]["Counter"] | null; after_items: components["schemas"]["Counter"] | null; source: string | null; }; /** @description How many tokens something takes, as two parts kept apart: what a provider measured, and what was estimated for what no provider number covers. tokens is their sum. */ Size: { tokens: components["schemas"]["Counter"]; measured: components["schemas"]["SizeMeasured"] | null; estimated: components["schemas"]["SizeEstimated"] | null; }; /** @description The part of a size a provider gave: counted by its count endpoint for this very request, or taken from the usage it reported for earlier calls. */ SizeMeasured: { tokens: components["schemas"]["Counter"]; /** @enum {string} */ source: "count_endpoint" | "reported_usage"; }; /** @description The part of a size albedo estimated from lengths, with the correction it learned from the route's reported usage; null when it had none. */ SizeEstimated: { tokens: components["schemas"]["Counter"]; correction: components["schemas"]["SizeCorrection"] | null; }; /** @description Provider tokens per thousand estimated ones on one route and model. provisional is the largest ratio seen after reports reports, or the prior before any; calibrated is a moving average over the route's reports, whose number is then null. */ SizeCorrection: { /** @enum {string} */ state: "provisional" | "calibrated"; per_mille: components["schemas"]["Counter"]; reports: components["schemas"]["Counter"] | null; }; SessionConfigurationChange: { resource: components["schemas"]["SessionConfigurationResource"]; application: components["schemas"]["ConfigurationApplication"]; }; ConfigurationApplication: { desired_revision: components["schemas"]["ID"]; loaded_revision: components["schemas"]["ID"] | null; needs_reload: boolean; }; CompactionReceipt: { id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; /** @enum {string} */ state: "running" | "completed" | "interrupted"; result: components["schemas"]["CompactionResult"] | null; }; }; responses: { /** @description Invalid request */ Problem400: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Missing or invalid daemon token */ Problem401: { headers: { WWWAuthenticate: components["headers"]["WWWAuthenticate"]; [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Disallowed origin or caller */ Problem403: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Unknown resource or disabled service */ Problem404: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Method not allowed */ Problem405: { headers: { Allow: components["headers"]["Allow"]; [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Unsupported response media type */ Problem406: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Unknown transfer owner, table or version */ Problem422: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Not enough free space or staging room */ Problem507: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Conflicting intent, busy state or stale catalog */ Problem409: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Expired identity, deletion tombstone or obsolete context */ Problem410: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Stale representation or failed creation condition */ Problem412: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Body too large */ Problem413: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Unsupported request media type */ Problem415: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Required precondition missing */ Problem428: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Admission limit */ Problem429: { headers: { RetryAfter: components["headers"]["RetryAfter"]; [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description Unavailable owner, storage or upstream preparation */ Problem503: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; }; parameters: { /** @description Per-connection ACP attachment capability, generated by the client. Separate from the daemon bearer token; the daemon keeps only a digest in memory and never returns or logs it. */ AttachmentToken: components["schemas"]["AttachmentToken"]; /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ AttachmentTokenOptional: components["schemas"]["AttachmentToken"]; /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ IfMatch: components["schemas"]["ETag"]; /** @description Conditional creation only. */ IfNoneMatch: "*"; Limit: number; Next: components["schemas"]["PageToken"]; }; requestBodies: never; headers: { /** @description Opaque strong validator for the complete canonical JSON representation. Mutation envelopes carry their resource validator inside the body. */ ETag: components["schemas"]["ETag"]; /** @description URL of the created resource. */ Location: components["schemas"]["ResourceURL"]; /** @description Includes Accept; browser responses also include Origin. */ Vary: string; /** @description Seconds until a later new admission may succeed. Never retries an already rejected identified input. */ RetryAfter: number; /** @description Bearer challenge. */ WWWAuthenticate: string; /** @description Allowed methods for a known path. */ Allow: string; }; pathItems: never; } export type $defs = Record; export interface operations { getTransferProtocol: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description This daemon's transfer protocol. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { protocol: number; }; }; }; 401: components["responses"]["Problem401"]; }; }; getTransferPreflight: { parameters: { query: { session_id: components["schemas"]["ID"]; target: string; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description What a move there would find. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferPreflight"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; }; }; getTransfer: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The move. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Move"]; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; }; }; moveSessionToDaemon: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody: { content: { "application/json": { transfer_id: string; /** @description [user@]host:/absolute/path */ target: string; /** @description The target profile a session runs on there, by session id, for sessions whose own profile the target lacks (preflight's alternatives). Part of the move; a repeat with another mapping is 409 transfer_conflict. Activation fails the move with profile_unavailable when a session still can't run there. */ profiles?: { [key: string]: string; }; }; }; }; responses: { /** @description The move, started or as it stands. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Move"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; 422: components["responses"]["Problem422"]; }; }; finishTransfer: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The move after this attempt, active or still at its checklist. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Move"]; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; }; }; getTransferExport: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The manifest the target is given. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferManifest"]; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; }; }; exportTransfer: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody: { content: { "application/json": { session_id: string; }; }; }; responses: { /** @description The manifest the target is given. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferManifest"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; getTransferSegment: { parameters: { query?: { offset?: number; }; header?: never; path: { transfer_id: string; index: number; }; cookie?: never; }; requestBody?: never; responses: { /** @description Raw segment bytes. */ 200: { headers: { [name: string]: unknown; }; content: { "application/octet-stream": string; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; }; }; getTransferImport: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The staged transfer. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferStatus"]; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; }; }; stageTransfer: { parameters: { query: { /** @description The absolute path on this host the sessions activate into. */ workspace: string; }; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["TransferManifest"]; }; }; responses: { /** @description The staged transfer. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferStatus"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 409: components["responses"]["Problem409"]; 415: components["responses"]["Problem415"]; 422: components["responses"]["Problem422"]; 507: components["responses"]["Problem507"]; }; }; cancelTransferImport: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The import, cancelling. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferStatus"]; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; }; }; putTransferSegment: { parameters: { query?: { offset?: number; }; header?: never; path: { transfer_id: string; index: number; }; cookie?: never; }; requestBody: { content: { "application/octet-stream": string; }; }; responses: { /** @description The staged transfer. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferStatus"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; }; }; readyTransfer: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The staged transfer. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferStatus"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; }; }; recordTransferOccurrences: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["TransferOccurrences"]; }; }; responses: { /** @description How many occurrences were new here. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { recorded: number; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; }; }; checkTransferProfiles: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["TransferRunsThereRequest"]; }; }; responses: { /** @description One answer per session, in order. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { sessions: { session_id: components["schemas"]["ID"]; ok: boolean; profile: string; model: string; /** @enum {string|null} */ problem: "no_profile" | "no_model" | null; alternatives: string[]; }[]; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; }; }; checkTransferShape: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["TransferShape"]; }; }; responses: { /** @description This daemon would stage rows of these shapes. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { /** @constant */ accepted: true; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 422: components["responses"]["Problem422"]; }; }; admitForwardedMail: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": { /** @description The sending daemon's identity. */ origin: string; /** @description The sending daemon's host name. */ host: string; letters: components["schemas"]["ForwardedLetter"][]; }; }; }; responses: { /** @description One acknowledgement per letter. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { acks: components["schemas"]["ForwardedAck"][]; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; }; }; collectForwardedMail: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody: { content: { "application/json": { /** @description The collecting daemon's identity. */ origin: string; host: string; acks: components["schemas"]["ForwardedAck"][]; wait_ms: number; }; }; }; responses: { /** @description The letters waiting for the caller, possibly none. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { letters: components["schemas"]["ForwardedLetter"][]; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 503: components["responses"]["Problem503"]; }; }; recordTransferFamily: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody: { content: { "application/json": { origin: string; host: string; stubs: { session_id: components["schemas"]["ID"]; member: components["schemas"]["ID"]; /** @enum {string} */ relation: "parent" | "child" | "sibling"; name: string; }[]; }; }; }; responses: { /** @description How many stubs were recorded. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { recorded: number; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 503: components["responses"]["Problem503"]; }; }; runMovedAgentCall: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; op: "messages" | "search_messages" | "cancel" | "close" | "switch"; }; cookie?: never; }; requestBody: { content: { "application/json": Record; }; }; responses: { /** @description The call's answer. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": unknown; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 422: components["responses"]["Problem422"]; }; }; activateTransfer: { parameters: { query?: never; header?: never; path: { transfer_id: string; }; cookie?: never; }; requestBody?: { content: { "application/json": components["schemas"]["TransferRunsThereRequest"]; }; }; responses: { /** @description The import, activating. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TransferStatus"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; 422: components["responses"]["Problem422"]; }; }; attachTerminal: { parameters: { query?: { /** @description Initial working directory for the terminal session. */ cwd?: string; /** @description Existing session ID to derive initial working directory from. */ session_id?: components["schemas"]["ID"]; /** @description Terminal column width (2-500, default 80). */ cols?: number; /** @description Terminal row height (1-200, default 24). */ rows?: number; /** @description Whether to restart an existing terminal process group. */ restart?: boolean; /** @description Command or shell executable to run (defaults to user shell). */ shell?: string; }; header?: never; path: { terminal_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description WebSocket connection established. */ 101: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 503: components["responses"]["Problem503"]; }; }; closeTerminal: { parameters: { query?: never; header?: never; path: { terminal_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Terminal session closed. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["TerminalClose"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 503: components["responses"]["Problem503"]; }; }; getEvents: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description WebSocket connection established. */ 101: { headers: { [name: string]: unknown; }; content?: never; }; /** @description Invalid WebSocket handshake; empty response body. */ 400: { headers: { [name: string]: unknown; }; content?: never; }; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 503: components["responses"]["Problem503"]; }; }; getServer: { parameters: { query?: { include?: "quota_history" | "extensions"; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; /** @description Exact provider ID to filter quota history. Requires include=quota_history, quota_account, and quota_limit. */ quota_provider?: string; /** @description Exact account label to filter quota history. Requires include=quota_history, quota_provider, and quota_limit. */ quota_account?: string; /** @description Exact limit ID to filter quota history. Requires include=quota_history, quota_provider, and quota_account. */ quota_limit?: string; /** @description Filter quota history to observations at or after this RFC 3339 UTC timestamp. Requires include=quota_history and the limit filter trio. */ quota_since?: components["schemas"]["Timestamp"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Server"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; shutdownServer: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["ShutdownRequest"]; }; }; responses: { /** @description Successful result. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Shutdown"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getSettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Settings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getUsage: { parameters: { query?: { /** @description How many days to cover, the current one included. */ days?: number; /** @description How far ahead of UTC the client's clock runs, which decides where its days begin. */ utc_offset_minutes?: number; /** @description Count only this provider's rows, named as `lines` and `scopes` name it (`protocol:endpoint`). It narrows `days` and `lines`; `scopes` still lists every provider and account of the window. A value is matched exactly, percent-encoded in the query like any other (a `+` is a space and a literal plus is `%2B`). */ provider?: string; /** @description Count only this account's rows of `provider`, matched exactly. An empty value is a provider without an account pool. Without `provider` it is refused, because two providers can label accounts the same way. */ account?: string; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["UsageSummary"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getStorage: { parameters: { query?: { sessions_next?: components["schemas"]["PageToken"]; files_next?: components["schemas"]["PageToken"]; limit?: components["parameters"]["Limit"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["StorageReport"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; listSessions: { parameters: { query?: { scope?: "roots" | "all"; parent_id?: components["schemas"]["ID"]; family_id?: components["schemas"]["ID"]; workspace?: components["schemas"]["Workspace"]; search?: string; archived?: boolean; needs_reload?: boolean; /** @description true lists only ACP-owned sessions, false only the others. Combine with workspace for an exact canonical workspace match. */ acp?: boolean; /** @description true lists only sessions in managed worktrees, including paths under the daemon's managed checkout directory after removal. false lists only the others. */ worktree?: boolean; /** @description true lists only pinned sessions, false only the others. */ pinned?: boolean; sort?: "activity" | "frequent"; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { Vary: components["headers"]["Vary"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionPage"]; "text/event-stream": unknown; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; generateSessionTitle: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody: { content: { "application/json": Record; }; }; responses: { /** @description Name generation started. The existing name stays until completion. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": { message: string; }; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; }; }; getFastMode: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Current setting and capability observation. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["FastMode"]; }; }; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; }; }; patchFastMode: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody: { content: { "application/merge-patch+json": { /** @enum {string} */ state: true | false | "toggle"; }; }; }; responses: { /** @description Fast-mode state and current provider capability. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["FastMode"]; }; }; 400: components["responses"]["Problem400"]; 404: components["responses"]["Problem404"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 428: components["responses"]["Problem428"]; }; }; getSession: { parameters: { query?: { tail?: number; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; Vary: components["headers"]["Vary"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Session"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; createSession: { parameters: { query?: never; header: { /** @description Conditional creation only. */ "If-None-Match": components["parameters"]["IfNoneMatch"]; /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { session_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["SessionCreationRequest"]; }; }; responses: { /** @description Successful result. */ 201: { headers: { Location: components["headers"]["Location"]; ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Session"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 429: components["responses"]["Problem429"]; 503: components["responses"]["Problem503"]; }; }; deleteSession: { parameters: { query?: { scope?: "leaf" | "subtree"; family_revision?: components["schemas"]["ID"]; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; recordVisit: { parameters: { query?: never; header?: never; path: { visit_id: components["schemas"]["UUIDv7"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Visit"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; putSideQuestion: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; question_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["SideQuestionRequest"]; }; }; responses: { /** @description Current side question. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SideQuestionEnvelope"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; patchSideQuestion: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; question_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody: { content: { "application/merge-patch+json": components["schemas"]["SideQuestionPatchRequest"]; }; }; responses: { /** @description Current side question. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SideQuestionEnvelope"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; cancelSideQuestion: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; question_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Current side question. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SideQuestionEnvelope"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; getShellCommand: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; command_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Current durable shell command resource. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ShellCommandResponse"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; putShellCommand: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; command_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["ShellCommandRequest"]; }; }; responses: { /** @description Current durable shell command resource. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ShellCommandResponse"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; stopShellCommand: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; command_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Current durable shell command resource. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ShellCommandResponse"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; getShellCommandOutput: { parameters: { query?: { offset?: number; limit?: number; }; header?: never; path: { session_id: components["schemas"]["ID"]; command_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Current durable shell command resource. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ShellCommandOutput"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; getInput: { parameters: { query?: never; header?: never; path: { input_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Input"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; putInput: { parameters: { query?: never; header?: { /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { input_id: components["schemas"]["UUIDv7"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["InputRequest"]; }; }; responses: { /** @description Successful result. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Input"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; /** @description Retained rejection, even if capacity later clears. */ 429: { headers: { "Retry-After": components["headers"]["RetryAfter"]; [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; 503: components["responses"]["Problem503"]; }; }; putUpload: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; upload_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; /** @description The file's bytes, never content-coded except by zstd. */ requestBody: { content: { "image/png": string; "image/jpeg": string; "image/webp": string; "audio/wav": string; "audio/mpeg": string; "audio/aac": string; "audio/flac": string; "audio/ogg": string; "audio/mp4": string; "video/mp4": string; "video/webm": string; }; }; responses: { /** @description The upload, kept for a message to name. A repeat with the same bytes answers the same upload. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Upload"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 429: components["responses"]["Problem429"]; 503: components["responses"]["Problem503"]; }; }; cancelInput: { parameters: { query?: never; header?: { /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { input_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InputCancellation"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; holdInput: { parameters: { query?: never; header?: never; path: { input_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Held until the lease runs out, unless asked again. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InputHold"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; releaseInput: { parameters: { query?: never; header?: never; path: { input_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Released; the message keeps its place in the queue. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; editInput: { parameters: { query?: never; header?: never; path: { input_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["MessageInputRequest"]; }; }; responses: { /** @description The message as it now waits. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["InputEdit"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; interruptSession: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["InterruptRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Interruption"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getACPPlan: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description The current checklist, including an empty list. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ACPPlan"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; attachACPSession: { parameters: { query?: never; header: { /** @description Per-connection ACP attachment capability, generated by the client. Separate from the daemon bearer token; the daemon keeps only a digest in memory and never returns or logs it. */ "Albedo-Attachment-Token": components["parameters"]["AttachmentToken"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["ACPAttachRequest"]; }; }; responses: { /** @description Attached. The cursor and active turn are one session-actor capture; follow the stream from the cursor to receive only later events. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ACPAttachment"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; releaseACPSession: { parameters: { query?: never; header: { /** @description Per-connection ACP attachment capability, generated by the client. Separate from the daemon bearer token; the daemon keeps only a digest in memory and never returns or logs it. */ "Albedo-Attachment-Token": components["parameters"]["AttachmentToken"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Released, or this token held no attachment. Accepted work keeps running. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; renewACPSession: { parameters: { query?: never; header: { /** @description Per-connection ACP attachment capability, generated by the client. Separate from the daemon bearer token; the daemon keeps only a digest in memory and never returns or logs it. */ "Albedo-Attachment-Token": components["parameters"]["AttachmentToken"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Lease extended. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getActiveOutputContent: { parameters: { query: { snapshot: components["schemas"]["PageToken"]; next?: components["schemas"]["PageToken"]; }; header?: never; path: { session_id: components["schemas"]["ID"]; content_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Bounded UTF-8 content page at the signed snapshot cutoff */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EntryContentPage"]; }; }; 400: components["responses"]["Problem400"]; 403: components["responses"]["Problem403"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; getHistory: { parameters: { query?: { view?: "entries" | "checkpoints"; before?: components["schemas"]["Counter"]; after?: components["schemas"]["Counter"]; next?: components["parameters"]["Next"]; limit?: number; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HistoryRead"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getHistoryContentBatch: { parameters: { query: { /** @description Comma separated history entry ids, in display order, at most 200 of them, each at most 128 characters. */ entries: string; next?: components["parameters"]["Next"]; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EntryContentBatch"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getHistoryContent: { parameters: { query?: { next?: components["parameters"]["Next"]; }; header?: never; path: { entry_id: components["schemas"]["ID"]; session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["EntryContentPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getHistoryImage: { parameters: { query?: { /** @description Optional longer-edge pixel bound for thumbnail previews. Images already within this bound are returned unchanged. */ edge?: 256 | 512 | 1024; }; header?: never; path: { session_id: components["schemas"]["ID"]; entry_id: components["schemas"]["ID"]; field: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The decoded image or clip, typed by its MIME type. */ 200: { headers: { [name: string]: unknown; }; content: { "image/png": string; "image/jpeg": string; "image/webp": string; "audio/wav": string; "audio/mpeg": string; "audio/aac": string; "audio/flac": string; "audio/ogg": string; "audio/mp4": string; "video/mp4": string; "video/webm": string; }; }; /** @description The one byte range a `Range` header asked for, with its `Content-Range`. Any other range gets the whole body. */ 206: { headers: { [name: string]: unknown; }; content: { "image/png": string; "image/jpeg": string; "image/webp": string; "audio/wav": string; "audio/mpeg": string; "audio/aac": string; "audio/flac": string; "audio/ogg": string; "audio/mp4": string; "video/mp4": string; "video/webm": string; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 503: components["responses"]["Problem503"]; }; }; getContext: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ContextSummary"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; getCatalog: { parameters: { query?: { kind?: "extensions" | "skills" | "instructions" | "mcp" | "commands"; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Catalog"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getContextWindow: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ContextWindow"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getSessionFile: { parameters: { query: { /** @description Absolute on the workspace's machine, relative to the workspace, `~/...` in a local workspace, or the host-prefixed spelling `path` answers with. */ path: string; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionFile"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; /** @description The file is over 1 MiB, or its JSON answer would exceed the response limit (`file_too_large`). */ 413: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description The file is binary or not valid UTF-8 (`file_not_text`). */ 415: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description The gather on the workspace's host failed or answered badly (`workspace_unavailable`). */ 502: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; 503: components["responses"]["Problem503"]; }; }; getSessionChanges: { parameters: { query?: { base?: "uncommitted" | "upstream"; }; header?: { /** @description The ETag of an earlier answer. */ "If-None-Match"?: string; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["CheckoutChanges"]; }; }; /** @description The answer named by `If-None-Match` is still current. No body. */ 304: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; /** @description The workspace is in no git or jj checkout (`not_a_repository`), or `base=upstream` has nothing to compare with (`no_upstream`). */ 409: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; /** @description git or jj failed or is not installed (`vcs_failed`), or the gather on the workspace's host failed (`workspace_unavailable`). */ 502: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; 503: components["responses"]["Problem503"]; /** @description The commands missed their 15 s deadline (`vcs_timeout`). */ 504: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; }; }; getSessionMedia: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionMedia"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; shakeSessionMedia: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["ShakeRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionMedia"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; reloadSession: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["ReloadRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ReloadResult"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; upgradeKernel: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["KernelUpgradeResult"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; restartKernel: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["KernelRestartResult"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; rewindSession: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["RewindRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["RewindResult"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; listModels: { parameters: { query?: { view?: "catalogue" | "cache-policy"; /** @description Cache-policy matching only; defaults to the empty selector. */ extension?: string; /** @description Cache-policy matching only; defaults to the empty selector. */ host?: string; model?: components["schemas"]["ID"]; provider_profile?: components["schemas"]["ID"]; /** @description Existing session whose selected account scopes Daybreak Blue support; with initial=true, a preallocated new session ID selects its exact future account. Without initial, an unknown or deleted session returns 404 session_not_found. */ session?: components["schemas"]["ID"]; /** @description true permits preview with a new future session ID; requires provider_profile and session. Existing session IDs are rejected. */ initial?: "true"; provider?: components["schemas"]["ID"]; endpoint?: string; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ModelRead"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getWorkspaces: { parameters: { query?: { location?: components["schemas"]["Workspace"]; /** @description `preview` adds repository facts and a tree; `files` lists the directory's files after its directories, each item with `kind`, `size` and `ignored`. */ include?: "preview" | "files" | "preview,files" | "files,preview"; /** @description Filters recent workspaces only, without location. True includes only managed worktrees, including removed checkouts; false excludes them. */ worktree?: boolean; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WorkspaceRead"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; listHosts: { parameters: { query?: { target?: components["schemas"]["ID"]; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HostPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; probeHost: { parameters: { query?: never; header?: never; path: { host: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["EmptyRequest"]; }; }; responses: { /** @description Successful result. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Host"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getAuth: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Auth"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getLogin: { parameters: { query?: never; header?: never; path: { login_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Login"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; createLogin: { parameters: { query?: never; header?: never; path: { login_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["LoginRequest"]; }; }; responses: { /** @description Existing identified flow. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Login"]; }; }; /** @description Successful result. */ 201: { headers: { Location: components["headers"]["Location"]; ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Login"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 429: components["responses"]["Problem429"]; 503: components["responses"]["Problem503"]; }; }; cancelLogin: { parameters: { query?: never; header?: never; path: { login_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; answerLogin: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { login_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["LoginPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Login"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; deleteAccount: { parameters: { query?: never; header?: never; path: { account_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; patchAccount: { parameters: { query?: never; header?: never; path: { account_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["AccountPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Account"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; putKeyAccount: { parameters: { query?: never; header?: never; path: { account_id: components["schemas"]["UUIDv7"]; }; cookie?: never; }; requestBody: { content: { "application/json": components["schemas"]["KeyAccountRequest"]; }; }; responses: { /** @description The same request again; the account it created. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Account"]; }; }; /** @description Created. */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["Account"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; listWork: { parameters: { query: { workspace: components["schemas"]["Workspace"]; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WorkPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; createWork: { parameters: { query: { workspace: components["schemas"]["Workspace"]; }; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["WorkCreate"]; }; }; responses: { /** @description Successful result. */ 201: { headers: { Location: components["headers"]["Location"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["WorkChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getWork: { parameters: { query: { workspace: components["schemas"]["Workspace"]; }; header?: never; path: { item_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["WorkItem"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deleteWork: { parameters: { query: { workspace: components["schemas"]["Workspace"]; /** @description Queue the deletion note for this session after the durable edit. */ notify_session_id?: components["schemas"]["ID"]; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { item_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ExtensionDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; patchWork: { parameters: { query: { workspace: components["schemas"]["Workspace"]; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { item_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["WorkPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WorkChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; listArtifacts: { parameters: { query?: { limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; /** @description Only this session's artifacts. */ session?: components["schemas"]["ID"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ArtifactPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getArtifact: { parameters: { query?: never; header?: never; path: { artifact_id: components["schemas"]["ArtifactID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ArtifactDetail"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deleteArtifact: { parameters: { query?: never; header?: never; path: { artifact_id: components["schemas"]["ArtifactID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Deleted. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getArtifactFile: { parameters: { query?: never; header?: never; path: { /** @description The artifact's id and capability key, joined by a dot. */ frame: string; /** @description A version number, or `latest` for the newest. */ version: string; path: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The file, with its content type. An HTML file has the page bridge injected at the start of its head. */ 200: { headers: { [name: string]: unknown; }; content: { "*/*": string; }; }; /** @description The bare version path goes to its folder (`latest` to `latest/`), and an empty path to an entry inside a folder goes to that entry, so the page's relative paths resolve inside the version. */ 302: { headers: { /** @description Relative to the request. */ Location?: string; [name: string]: unknown; }; content?: never; }; /** @description The file named by `If-None-Match` is still the one served. */ 304: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; saveArtifactState: { parameters: { query?: never; header?: never; path: { /** @description The artifact's id and capability key, joined by a dot. */ frame: string; /** @description A version number, or `latest` for the newest. */ version: string; }; cookie?: never; }; /** @description JSON sent as text/plain, so a sandboxed page can send it without a preflight. */ requestBody: { content: { "text/plain": components["schemas"]["ArtifactState"]; }; }; responses: { /** @description Saved. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 503: components["responses"]["Problem503"]; }; }; reportArtifactError: { parameters: { query?: never; header?: never; path: { /** @description The artifact's id and capability key, joined by a dot. */ frame: string; /** @description A version number, or `latest` for the newest. */ version: string; }; cookie?: never; }; /** @description JSON sent as text/plain, so a sandboxed page can send it without a preflight. */ requestBody: { content: { "text/plain": components["schemas"]["ArtifactError"]; }; }; responses: { /** @description Recorded. */ 204: { headers: { [name: string]: unknown; }; content?: never; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 503: components["responses"]["Problem503"]; }; }; getArtifactLatestVersion: { parameters: { query?: { /** @description The version the page shows; the answer waits for one past it. */ after?: number; }; header?: never; path: { /** @description The artifact's id and capability key, joined by a dot. */ frame: string; /** @description A version number, or `latest` for the newest. */ version: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description The artifact's latest version. */ 200: { headers: { "Cache-Control"?: "no-store"; [name: string]: unknown; }; content: { "application/json": { version: number; }; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; listPaperclips: { parameters: { query?: { limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaperclipPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; createPaperclips: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["PaperclipCreate"]; }; }; responses: { /** @description Successful result. */ 201: { headers: { Location: components["headers"]["Location"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaperclipChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getPaperclips: { parameters: { query?: never; header?: never; path: { item_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Paperclip"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deletePaperclips: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { item_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ExtensionDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; patchPaperclips: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { item_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["PaperclipPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PaperclipChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; listWebSearchProviders: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WebSearchProviderPage"]; }; }; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 503: components["responses"]["Problem503"]; }; }; changeWebSearchProvider: { parameters: { query?: never; header?: never; path: { name: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["WebSearchProviderChangeRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["WebSearchProviderChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; listSkillLoads: { parameters: { query: { session_id: components["schemas"]["ID"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SkillLoadList"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 503: components["responses"]["Problem503"]; }; }; listSchedule: { parameters: { query: { session_id: components["schemas"]["ID"]; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SchedulePage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; createSchedule: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["ScheduleCreate"]; }; }; responses: { /** @description Successful result. */ 201: { headers: { Location: components["headers"]["Location"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["ScheduleChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getSchedule: { parameters: { query?: never; header?: never; path: { job_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["ScheduleJob"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deleteSchedule: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { job_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ExtensionDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; patchSchedule: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { job_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["SchedulePatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ScheduleChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; readHonchoSession: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Delivery status and operator actions. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HonchoSession"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; changeHonchoSession: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody: { content: { "application/json": { /** @enum {string} */ action: "bind" | "backfill" | "clone" | "cancel-clone" | "retry" | "resend"; }; }; }; responses: { /** @description Delivery status and operator actions. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HonchoSession"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getLinkGroup: { parameters: { query: { workspace: components["schemas"]["Workspace"]; view?: "configuration"; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["LinkGroup"] | components["schemas"]["LinkConfiguration"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 503: components["responses"]["Problem503"]; }; }; mergeLinkGroups: { parameters: { query: { workspace: components["schemas"]["Workspace"]; view: "configuration"; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["LinkMerge"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LinkChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; unlinkWorkspace: { parameters: { query: { workspace: components["schemas"]["Workspace"]; member: components["schemas"]["Workspace"]; view: "configuration"; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["LinkChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; listHooks: { parameters: { query?: { session_id?: components["schemas"]["ID"]; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HookPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; createHook: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["HookCreate"]; }; }; responses: { /** @description Successful result. */ 201: { headers: { Location: components["headers"]["Location"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["HookChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getHook: { parameters: { query?: { view?: "configuration"; }; header?: never; path: { hook_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["Hook"] | components["schemas"]["HookConfiguration"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deleteHook: { parameters: { query: { view: "configuration"; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { hook_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ExtensionDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; patchHook: { parameters: { query: { view: "configuration"; }; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { hook_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["HookPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HookChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; rotateHookSecret: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { hook_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["HookSecretRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HookChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; listHookDeliveries: { parameters: { query?: { state?: "pending" | "delivered" | "all"; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path: { hook_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DeliveryPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deliverWebhook: { parameters: { query?: never; header?: { /** @description Optional sender identity scoped to hook and exact body hash. */ "X-Albedo-Event-Id"?: string; }; path: { hook_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description Raw bytes, not a parsed JSON requirement. Verify signature before admission. */ requestBody: { content: { "*/*": string; }; }; responses: { /** @description Successful result. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": { delivery_id: components["schemas"]["ID"]; }; }; }; 400: components["responses"]["Problem400"]; /** @description Missing or invalid hook signature. */ 403: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 429: components["responses"]["Problem429"]; 503: components["responses"]["Problem503"]; }; }; getDelivery: { parameters: { query?: never; header?: never; path: { delivery_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DeliveryDetail"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; getHookPermission: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["HookPermission"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchHookPermission: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["HookPermissionPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["HookPermissionChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getPhotonStatus: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["PhotonStatus"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; listDiscordBots: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordBotPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; createDiscordBot: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["DiscordBotCreate"]; }; }; responses: { /** @description Successful result. */ 201: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordBot"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getDiscordBot: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordBot"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deleteDiscordBot: { parameters: { query: { revision: number; }; header?: never; path: { bot_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 412: components["responses"]["Problem412"]; 503: components["responses"]["Problem503"]; }; }; patchDiscordBot: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["DiscordBotPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordBot"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; listDiscordGuilds: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordGuildList"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; putDiscordChannel: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; channel_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["DiscordChannelSetting"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordChannelState"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getDiscordDMs: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordDMs"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; putDiscordDM: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; user_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["DiscordAllow"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordAllowed"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; deleteDiscordDM: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; user_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordUserDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; deleteDiscordRequest: { parameters: { query?: never; header?: never; path: { bot_id: components["schemas"]["ID"]; user_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DiscordUserDeletion"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; listProxyModels: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyModels"]; }; }; /** @description OpenAI proxy error. */ 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 401: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 403: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 405: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 406: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 503: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; }; }; getProxyModel: { parameters: { query?: never; header?: never; path: { /** @description A `/` id; its slash may be sent unescaped. */ id: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyModel"]; }; }; /** @description OpenAI proxy error. */ 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 401: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 403: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 404: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 405: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 406: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 503: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; }; }; createProxyCompletion: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["ProxyCompletionRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyCompletion"]; "text/event-stream": unknown; }; }; /** @description OpenAI proxy error. */ 400: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 401: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 403: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 405: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 406: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 413: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 415: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; /** @description OpenAI proxy error. */ 503: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProxyError"]; }; }; }; }; listJobs: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Known live jobs, with up to 100 summaries ordered by ID. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["JobCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; listRecentJobs: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description The kernel's job book. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["JobRecordCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; readJobOutput: { parameters: { query?: { /** @description Byte to start from. Omitted, the page ends at the end of the output. */ offset?: number; /** @description Most bytes in the page; four hold any character. */ limit?: number; }; header?: never; path: { session_id: components["schemas"]["ID"]; job_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description One page of output and the job it belongs to. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["JobOutputPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; /** @description The page lies in output the kernel no longer keeps; read the end of the output instead. */ 409: { headers: { [name: string]: unknown; }; content: { "application/problem+json": components["schemas"]["Problem"]; }; }; 503: components["responses"]["Problem503"]; }; }; stopJob: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; job_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: { content: { "application/json": Record; }; }; responses: { /** @description The observed job's process group was stopped. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["JobStop"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; readQueue: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description The queue. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["QueueCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; clearQueue: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: { content: { "application/json": Record; }; }; responses: { /** @description The queue after the drop. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["QueueCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; arrangeQueue: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["QueueOrder"]; }; }; responses: { /** @description The queue in its new order. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["QueueCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; dropQueued: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; item_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: { content: { "application/json": Record; }; }; responses: { /** @description The queue after the drop. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["QueueCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; moveQueuedFirst: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; item_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: { content: { "application/json": Record; }; }; responses: { /** @description The queue in its new order. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["QueueCollection"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; getProviderSettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProviderSettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchProviderSettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["ProviderSettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ProviderSettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getMCPSettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["MCPSettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchMCPSettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["MCPSettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["MCPSettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getExtensionSettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["ExtensionSettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchExtensionSettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["ExtensionSettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ExtensionSettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getDeclaredSettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["DeclaredSettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchDeclaredSettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["DeclaredSettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["DeclaredSettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getCapabilitySettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["CapabilitySettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchCapabilitySettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["CapabilitySettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["CapabilitySettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getModelSettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["ModelSettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchModelSettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["ModelSettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ModelSettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getUISettings: { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["UISettings"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 503: components["responses"]["Problem503"]; }; }; patchUISettings: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; }; path?: never; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["UISettingsPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["UISettingsChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getSessionConfiguration: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; Vary: components["headers"]["Vary"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionConfiguration"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; patchSession: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/merge-patch+json": components["schemas"]["SessionPatch"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionConfigurationChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getSessionStatus: { parameters: { query?: never; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; Vary: components["headers"]["Vary"]; [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionStatusRead"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; watchSession: { parameters: { query?: { tail?: number; after_generation?: components["schemas"]["Generation"]; after_seq?: components["schemas"]["Counter"]; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { ETag: components["headers"]["ETag"]; Vary: components["headers"]["Vary"]; [name: string]: unknown; }; content: { "text/event-stream": unknown; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; moveSessionWorkspace: { parameters: { query?: never; header: { /** @description Observed canonical representation validator. Wildcards and weak validators are not accepted. */ "If-Match": components["parameters"]["IfMatch"]; /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["WorkspaceMoveRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["SessionChange"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 412: components["responses"]["Problem412"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 428: components["responses"]["Problem428"]; 503: components["responses"]["Problem503"]; }; }; getSessionRequests: { parameters: { query?: { after?: components["schemas"]["Counter"]; /** @description Requests only. Include attempts finished at or after this Unix timestamp in milliseconds. */ since_ms?: components["schemas"]["Counter"]; limit?: components["parameters"]["Limit"]; next?: components["parameters"]["Next"]; }; header?: never; path: { session_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["RequestRecordPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; getContextSection: { parameters: { query: { page: components["schemas"]["Counter"]; }; header?: never; path: { session_id: components["schemas"]["ID"]; snapshot_id: components["schemas"]["ID"]; section_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["ContextSectionPage"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 410: components["responses"]["Problem410"]; 503: components["responses"]["Problem503"]; }; }; getCompaction: { parameters: { query?: never; header?: { /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { session_id: components["schemas"]["ID"]; action_id: components["schemas"]["ID"]; }; cookie?: never; }; requestBody?: never; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["CompactionReceipt"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; putCompaction: { parameters: { query?: never; header?: { /** @description Required for kind acp creation and for input or scoped cancellation in an ACP session. Also authorizes compaction and scoped execution configuration patches by an ACP attachment holder. Ordinary creation ignores this header. Input, scoped cancellation, compaction for ACP sessions, and configuration patches parse and reject malformed supplied values. Not part of the durable intent. */ "Albedo-Attachment-Token"?: components["parameters"]["AttachmentTokenOptional"]; }; path: { session_id: components["schemas"]["ID"]; action_id: components["schemas"]["ID"]; }; cookie?: never; }; /** @description UTF-8 JSON; duplicate keys and unknown fields are rejected. */ requestBody: { content: { "application/json": components["schemas"]["CompactionRequest"]; }; }; responses: { /** @description Successful result. */ 200: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["CompactionReceipt"]; }; }; /** @description Successful result. */ 202: { headers: { [name: string]: unknown; }; content: { "application/json": components["schemas"]["CompactionReceipt"]; }; }; 400: components["responses"]["Problem400"]; 401: components["responses"]["Problem401"]; 403: components["responses"]["Problem403"]; 404: components["responses"]["Problem404"]; 405: components["responses"]["Problem405"]; 406: components["responses"]["Problem406"]; 409: components["responses"]["Problem409"]; 410: components["responses"]["Problem410"]; 413: components["responses"]["Problem413"]; 415: components["responses"]["Problem415"]; 503: components["responses"]["Problem503"]; }; }; }