OneOS Docs
Genesis 0.3.3 Console

API reference

Panes

Your browsers: list them.

Operations
9
Base path
https://os.one.ml/api/v1/panes
Scopes
panes:read panes:write
API keys
7 tested with an API key
SDK
genesis.call('panes_listPanes', …) · helpers under genesis.panes
CLI
genesis panes
MCP
9 tools

Operations

OperationEndpointAPI key
List your Panes (browsers)GET/panesTested with an API key
Create a Pane (browser)POST/panesTested with an API key
Get one Pane (browser)GET/panes/{id}Tested with an API key
Stop and delete one Pane (browser)DELETE/panes/{id}Tested with an API key
Run an action on one PanePOST/panes/{id}/actionTested with an API key
Download one Pane screenshotGET/panes/{id}/screenshots/{artifactId}/dataTested with an API key
List a Pane's stepsGET/panes/{id}/steps—
Delete a Pane's stepsDELETE/panes/{id}/steps—
Get a stream credential for one PanePOST/panes/{id}/termTested with an API key

Panes

List your Panes (browsers)

GET/v1/panes/panes

panes:readTested with an API keypanes_listPanes

Browser instances in the selected organization and project. Needs panes:read. Ended Panes are left out unless include=ended is given. Ended means omega-native's set, cancelled, terminated, failed or succeeded; orphaned counts as active. Omega keeps them for audit. Get-by-id returns an ended Pane either way, with its status.

Parameters

  • includequery · "ended"

    ended also lists ended Panes (cancelled, terminated, failed or succeeded; orphaned counts as active). Omit it to list live Panes only.

Responses

  • 200Panes in the selected project
    Response fields
    • product"panes"required
    • instancesobject[]required
    • instances[].[].idstringrequired
    • instances[].[].omegaDeploymentIdstringrequired
    • instances[].[].namestringrequired
    • instances[].[].kindstringrequired

      desktop (Rigs), browser (Panes) or sandbox (Shells)

    • instances[].[].statusstringrequired
    • instances[].[].stagestringrequired

      queued, placed, running, failed, unknown or another producer stage

    • instances[].[].detailUrlstring
    • instances[].[].regionstring | null
    • instances[].[].tierstring | null
    • instances[].[].runtimestring | null
    • instances[].[].createdAtstring | null
    • instances[].[].updatedAtstring | null
    • instances[].[].wakeOfstring (uuid)

      On the create receipt of a wake: the ended id this Pane woke from

    • instances[].[].volumeobject

      The disk this instance keeps or uses, as Omega lists it to its owner (rule 11). kept true = the instance ended and the disk was kept for its name; remove it with the delete_volume action. A Pane the idle clock put to sleep can be woken both before and after its disk is detached. Until the detach (the keep-attached window, or sooner when the worker is full) the disk lists state attached, kept false, end_path null; after it, kept true with end_path idle_stop. Absent when Omega lists no disk for the row.

    • instances[].[].volume.namestringrequired

      The instance name the disk follows (never a disk id) max length 128

    • instances[].[].volume.size_gbintegerrequired

      min 0

    • instances[].[].volume.statestringrequired

      ready, attached, detaching, deleting or another Omega disk state

    • instances[].[].volume.keptbooleanrequired
    • instances[].[].volume.end_pathstring | nullrequired

      owner_stop, lifetime_end, idle_stop, create_abandon, create_release or idle_detach; null while in use

    • instances[].[].volume.end_atstring | nullrequired

      When that end kept the disk (ISO 8601); null while in use

    • instances[].[].urlstring

      Panes: the page the browser opened (about:blank); present on the create response

    • instances[].[].viewportstring

      Panes: WIDTHxHEIGHT (780x437 at create); present on the create response pattern ^[0-9]+x[0-9]+$

    • instances[].[].headlesstrue

      Panes: native Panes run headless; present on the create response

  • 403Signed organization and project selection required
  • 404Any query other than include=ended
  • 503Panes private admission unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/panes/panes" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Create a Pane (browser)

POST/v1/panes/panes

panes:writeTested with an API keyIdempotency-Key requiredpanes_createPane

Opens a cloud browser in the selected organization and project. Needs panes:write. Idempotency-Key is required: Panes and Omega journal the create under the operation key the gateway derives from it, so a retry with the same key returns the same Pane.

Parameters

  • Idempotency-Keyheader · stringrequired

    Required. A stable key for this one create. The gateway derives the operation key from it (with your organization, principal, method and path); reuse the same key to retry and the original result is replayed instead of creating twice.

Request body application/json

  • namestring

    max length 80

  • url"about:blank"

    Native Panes open on about:blank. Any other value is refused with 422 OMEGA_NATIVE_UNSUPPORTED_PROFILE; omit it.

  • viewport"780x437"

    Native Panes open at 780x437. Any other value is refused with 422 OMEGA_NATIVE_UNSUPPORTED_PROFILE; omit it and set the viewport after create with the resize action.

  • headlesstrue

    Native Panes run headless Chromium. false is refused with 422 OMEGA_NATIVE_UNSUPPORTED_PROFILE; omit it.

  • wake_ofstring (uuid)

    Wake by name. Send a body of exactly {"wake_of": "<id>"} and nothing else, where id is your own Pane that the idle clock put to sleep (a request to it answered 409 INSTANCE_ASLEEP with that wake_of). The new Pane has a new id and the same name, profile and disk, and the create receipt carries wakeOf. Each ended id wakes once. Any other field next to wake_of, an id that is not a UUID, or a Panes transport without native Omega, is 400 INVALID_WAKE. Only your own Pane (same principal and product, in the same organization and project context) that the idle clock stopped can wake, and only where wake is on for the organization. Anything else is 409 OMEGA_NATIVE_WAKE_REFUSED and nothing is created: a Pane another principal made, one you stopped yourself, one ended another way (lifetime end, drain, failed create), one already woken, one whose name has a newer Pane, one whose disk you deleted, or one whose stored profile no longer passes today's create rules.

Responses

  • 201The Pane (created, or replayed for the same key)
    Response fields
    • product"panes"required
    • instanceobjectrequired
    • instance.idstringrequired
    • instance.omegaDeploymentIdstringrequired
    • instance.namestringrequired
    • instance.kindstringrequired

      desktop (Rigs), browser (Panes) or sandbox (Shells)

    • instance.statusstringrequired
    • instance.stagestringrequired

      queued, placed, running, failed, unknown or another producer stage

    • instance.detailUrlstring
    • instance.regionstring | null
    • instance.tierstring | null
    • instance.runtimestring | null
    • instance.createdAtstring | null
    • instance.updatedAtstring | null
    • instance.wakeOfstring (uuid)

      On the create receipt of a wake: the ended id this Pane woke from

    • instance.volumeobject

      The disk this instance keeps or uses, as Omega lists it to its owner (rule 11). kept true = the instance ended and the disk was kept for its name; remove it with the delete_volume action. A Pane the idle clock put to sleep can be woken both before and after its disk is detached. Until the detach (the keep-attached window, or sooner when the worker is full) the disk lists state attached, kept false, end_path null; after it, kept true with end_path idle_stop. Absent when Omega lists no disk for the row.

    • instance.volume.namestringrequired

      The instance name the disk follows (never a disk id) max length 128

    • instance.volume.size_gbintegerrequired

      min 0

    • instance.volume.statestringrequired

      ready, attached, detaching, deleting or another Omega disk state

    • instance.volume.keptbooleanrequired
    • instance.volume.end_pathstring | nullrequired

      owner_stop, lifetime_end, idle_stop, create_abandon, create_release or idle_detach; null while in use

    • instance.volume.end_atstring | nullrequired

      When that end kept the disk (ISO 8601); null while in use

    • instance.urlstring

      Panes: the page the browser opened (about:blank); present on the create response

    • instance.viewportstring

      Panes: WIDTHxHEIGHT (780x437 at create); present on the create response pattern ^[0-9]+x[0-9]+$

    • instance.headlesstrue

      Panes: native Panes run headless; present on the create response

  • 400A missing or malformed Idempotency-Key, a body that is not one JSON object, the facade refused the launch input, or INVALID_WAKE (wake_of with another field, or not a UUID)
  • 403Signed organization and project selection, the write scope, or the Panes entitlement required
  • 409OPERATION_CONFLICT (the key was used for a different request), OPERATION_PENDING (retry later with the same key), or OMEGA_NATIVE_WAKE_REFUSED (this id cannot be woken; nothing was created; create a new Pane)
  • 422OMEGA_NATIVE_UNSUPPORTED_PROFILE: a launch value native Panes cannot run (a url other than about:blank, a viewport other than 780x437, or headless false). field names it.
  • 503Panes unavailable; the create may or may not have started; retry with the same key
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/panes/panes" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Get one Pane (browser)

GET/v1/panes/panes/{id}

panes:readTested with an API keypanes_getPane

One Pane in the selected organization and project, under the same read permission and partition check as the list. Unknown and foreign ids are both 404 (PANE_NOT_FOUND). Needs panes:read (or panes:write).

Parameters

  • idpath · stringrequired

Responses

  • 200The Pane
    Response fields
    • product"panes"required
    • instanceobjectrequired
    • instance.idstringrequired
    • instance.omegaDeploymentIdstringrequired
    • instance.namestringrequired
    • instance.kindstringrequired

      desktop (Rigs), browser (Panes) or sandbox (Shells)

    • instance.statusstringrequired
    • instance.stagestringrequired

      queued, placed, running, failed, unknown or another producer stage

    • instance.detailUrlstring
    • instance.regionstring | null
    • instance.tierstring | null
    • instance.runtimestring | null
    • instance.createdAtstring | null
    • instance.updatedAtstring | null
    • instance.wakeOfstring (uuid)

      On the create receipt of a wake: the ended id this Pane woke from

    • instance.volumeobject

      The disk this instance keeps or uses, as Omega lists it to its owner (rule 11). kept true = the instance ended and the disk was kept for its name; remove it with the delete_volume action. A Pane the idle clock put to sleep can be woken both before and after its disk is detached. Until the detach (the keep-attached window, or sooner when the worker is full) the disk lists state attached, kept false, end_path null; after it, kept true with end_path idle_stop. Absent when Omega lists no disk for the row.

    • instance.volume.namestringrequired

      The instance name the disk follows (never a disk id) max length 128

    • instance.volume.size_gbintegerrequired

      min 0

    • instance.volume.statestringrequired

      ready, attached, detaching, deleting or another Omega disk state

    • instance.volume.keptbooleanrequired
    • instance.volume.end_pathstring | nullrequired

      owner_stop, lifetime_end, idle_stop, create_abandon, create_release or idle_detach; null while in use

    • instance.volume.end_atstring | nullrequired

      When that end kept the disk (ISO 8601); null while in use

    • instance.urlstring

      Panes: the page the browser opened (about:blank); present on the create response

    • instance.viewportstring

      Panes: WIDTHxHEIGHT (780x437 at create); present on the create response pattern ^[0-9]+x[0-9]+$

    • instance.headlesstrue

      Panes: native Panes run headless; present on the create response

  • 400The id is not a UUID, or INVALID_REQUEST (the Pane id was refused)
  • 403Signed organization and project selection, or the read scope, required
  • 404PANE_NOT_FOUND (also any query)
  • 503Panes private admission unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/panes/panes/$ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Stop and delete one Pane (browser)

DELETE/v1/panes/panes/{id}

panes:writeTested with an API keyIdempotency-Key optionalpanes_deletePane

Runs the Pane's stop action. Omega's native stop deletes the deployment; it cannot be started again. 200 when the stop completed, 202 while cancellation is pending. Needs panes:write. No request body.

Parameters

  • idpath · stringrequired
  • Idempotency-Keyheader · string

    Optional. With it the stop is one journaled operation; a retry with the same key replays it.

Responses

  • 200Stopped
    Response fields
    • oktruerequired
    • product"panes"required
    • idstringrequired
    • capability"stop"required
    • resultobject

      Omega's stop acknowledgement, as the facade returns it

    • acceptedboolean
    • completedboolean
    • pendingboolean
    • statusstring

      terminated or cancellation_requested

  • 202Stop accepted; cancellation pending
    Response fields
    • oktruerequired
    • product"panes"required
    • idstringrequired
    • capability"stop"required
    • resultobject

      Omega's stop acknowledgement, as the facade returns it

    • acceptedboolean
    • completedboolean
    • pendingboolean
    • statusstring

      terminated or cancellation_requested

  • 400A non-UUID id, a request body, or the facade refused the request
  • 403Signed organization and project selection, or the write scope, required
  • 404Not found (also any query)
  • 409Omega reports a conflicting or pending operation
  • 502Omega returned an invalid stop acknowledgement
  • 503Panes unavailable; a stop may or may not have been dispatched
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/panes/panes/$ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY"

Action

Run an action on one Pane

POST/v1/panes/panes/{id}/action

panes:writeTested with an API keyIdempotency-Key optionalpanes_actOnPane

The facade's action route with its own body form, {capability, args}. Capabilities: stop, restart, snapshot, resize, clear_profile, screenshot, logs, devtools, delete_volume. Needs panes:write. delete_volume deletes this Pane name's durable disk (refused 409 OMEGA_NATIVE_VOLUME_IN_USE while any Pane of that name runs; 404 OMEGA_NATIVE_VOLUME_NOT_FOUND when there is none; the next create of the name is refused). Idempotency-Key is required for every capability except stop; a retry with the same key replays instead of acting twice. Until Omega's native executor for a capability ships, the facade answers 503 for it. A screenshot also needs panes:read.

Parameters

  • idpath · stringrequired
  • Idempotency-Keyheader · string

    Optional. With it the stop is one journaled operation; a retry with the same key replays it.

Request body application/json

  • capability"stop" | "restart" | "snapshot" | "resize" | "clear_profile" | "screenshot" | "logs" | "devtools" | "delete_volume"required
  • argsobject

    Capability arguments (default an empty object). resize takes integer width 320-3840 and height 240-2160, as {width, height} or {viewport: "WxH"}; out-of-range values get 400.

Responses

  • 200The action's acknowledgement
    Response fields
    • okbooleanrequired
    • productstringrequired
    • idstringrequired
    • capabilitystringrequired
    • resultobject | null

      The capability's result as Omega returns it

  • 400A non-UUID id, an unknown capability, a missing Idempotency-Key (non-stop), or the facade refused the request
  • 403Signed organization and project selection, or the write scope, required
  • 404Not found
  • 409The key was used for a different request, the first attempt is still pending, or INSTANCE_ASLEEP: the idle clock put this Pane to sleep and kept its disk; error.wake_of is its id. Create with {"wake_of": id} and send the request to the new id.
  • 501The capability has no server-side executor
  • 503A native snapshot is SNAPSHOT_UNAVAILABLE (reason no_omega_executor): Omega has no snapshot executor yet, so the facade refuses it before contacting Omega. Nothing is billed or journaled, and a retry gets the same answer. Any other 503 means the native executor for the capability is not available yet or the facade is unavailable; retry with the same key.
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/panes/panes/$ID/action" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "capability": "stop"
  }'

Screenshots

Download one Pane screenshot

GET/v1/panes/panes/{id}/screenshots/{artifactId}/data

panes:readTested with an API keypanes_getPaneScreenshotData

The image bytes of a screenshot the screenshot action captured (PNG, or JPEG at quality 1 to 100, at most 700 KiB). The capture is held in the Pane's memory, never written to disk, and is gone when the Pane restarts or is deleted. Needs panes:read.

Parameters

  • artifactIdpath · stringrequired
  • idpath · stringrequired

Responses

  • 200The image
    Response fields

    Type: string (binary)

  • 400A non-UUID id or artifact id
  • 403Signed organization and project selection, or the read scope, required
  • 404Not found
  • 503The native artifact store is not available yet, or the facade is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/panes/panes/$ID/screenshots/$ARTIFACT_ID/data" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Steps

List a Pane's steps

GET/v1/panes/panes/{id}/steps

panes:readpanes_listPaneSteps

The log of every action step on this Pane, oldest first: when it ran, the capability, how it ended (done, refused, held or error) with its status or code, the page address (origin and path only, never a query), the HTTP status, the page title when it was kept, the screenshot a screenshot step took (screenshot.url is its data path) and value-free arguments. Never page text or typed text. One entry per operation (a replay of the same Idempotency-Key is not listed twice). Only the Pane's owner can read it. On a Pane that may hold the person's sign-in, One's session sees each address cut to its origin and no title. DELETE on this path removes the log; deleting the Pane's disk (delete_volume) removes the log of every Pane that used that disk. Needs panes:read.

Parameters

  • idpath · stringrequired
  • limitquery · integer

    At most this many steps (1-500, default 100).

  • afterquery · string

    The next value of the previous page; the list goes on after that step. limit and after may come in either order.

Responses

  • 200The steps
    Response fields
    • product"panes"required
    • idstringrequired
    • nextstring | nullrequired

      Pass as after for the next page; null on the last page.

    • stepsobject[]required
    • steps[].[].version1required
    • steps[].[].idstringrequired

      The step key (<ms>-<rand>); a page ends at the last one listed.

    • steps[].[].atstring (date-time)required
    • steps[].[].capabilitystringrequired

      The action (navigate, read_text, resize, screenshot, click, ...)

    • steps[].[].outcome"done" | "refused" | "held" | "error"required
    • steps[].[].statusstring

      The receipt's status (navigated, resized, captured, held, ...)

    • steps[].[].codestring

      The error code of a step that did not complete

    • steps[].[].reasonstring
    • steps[].[].urlstring

      The page address, origin and path only

    • steps[].[].httpStatusinteger
    • steps[].[].titlestring

      The page title, only when the step's receipt carried it

    • steps[].[].screenshotobject
    • steps[].[].screenshot.idstringrequired
    • steps[].[].screenshot.urlstringrequired

      The screenshot's data path on the Panes facade

    • steps[].[].viewportobject
    • steps[].[].viewport.widthinteger
    • steps[].[].viewport.heightinteger
    • steps[].[].argsobject

      Value-free arguments (a typed text is its length)

    • steps[].[].actor"person" | "agent" | "key"required
    • steps[].[].operationIdstringrequired

      A hash of the step's operation id

  • 400A non-UUID id, or a bad limit or after
  • 403Signed organization and project selection, or the read scope, required
  • 404Not found
  • 503The step log is not readable right now
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/panes/panes/$ID/steps" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Delete a Pane's steps

DELETE/v1/panes/panes/{id}/steps

panes:writepanes_deletePaneSteps

Deletes this Pane's step log (every step and its index entries). Only the Pane's owner can do it; the Pane itself and its disk are not touched. complete is false when some steps could not be removed in time: send the same request again to finish. Needs panes:write.

Parameters

  • idpath · stringrequired

Responses

  • 200What was removed
    Response fields
    • product"panes"required
    • idstringrequired
    • deletedintegerrequired

      How many step objects were removed by this call

    • completebooleanrequired

      false: some remain; send the request again

  • 400A non-UUID id
  • 403Signed organization and project selection, or the write scope, required
  • 404Not found
  • 503The step log is not available right now
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/panes/panes/$ID/steps" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Term

Get a stream credential for one Pane

POST/v1/panes/panes/{id}/term

panes:writeTested with an API keypanes_openPaneTerm

Mints a short-lived (60 s, single-use) stream credential for the Pane: {url, token, protocol, channel, expiresAt, mode, role}. Open url as a WebSocket with the subprotocols omega-attach.v1 and omega-attach.token.<token> from an allowed Origin. The channel is screencast (omega-screencast.v1): the Pane sends {type:"ready"} and then {type:"frame"} JPEG frames; in control mode the client may send {type:"input", method, params} with Input.dispatchMouseEvent, Input.dispatchKeyEvent or Input.insertText, and anything else closes the stream (1008). Needs panes:write. No body (or {}).

Parameters

  • idpath · stringrequired

Responses

  • 200The credential
    Response fields
    • productstringrequired
    • idstringrequired
    • kindstring
    • credentialsobjectrequired
    • credentials.urlstring

      The wss:// or https:// attach URL

    • credentials.tokenstring
    • credentials.expires_innumber | string
  • 400A non-UUID id or a body other than {}
  • 403Signed organization and project selection, or the write scope, required
  • 404Not found
  • 503The native stream transport is not bound yet, or the facade is unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/panes/panes/$ID/term" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support