API reference
Panes
Your browsers: list them.
- Operations
- 9
- Base path
https://os.one.ml/api/v1/panes- Scopes
panes:readpanes:write- API keys
- 7 tested with an API key
- SDK
genesis.call('panes_listPanes', …)· helpers undergenesis.panes- MCP
- 9 tools
Operations
| Operation | Endpoint | API key |
|---|---|---|
| List your Panes (browsers) | GET/panes | Tested with an API key |
| Create a Pane (browser) | POST/panes | Tested 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 Pane | POST/panes/{id}/action | Tested with an API key |
| Download one Pane screenshot | GET/panes/{id}/screenshots/{artifactId}/data | Tested with an API key |
| List a Pane's steps | GET/panes/{id}/steps | — |
| Delete a Pane's steps | DELETE/panes/{id}/steps | — |
| Get a stream credential for one Pane | POST/panes/{id}/term | Tested with an API key |
Panes
List your Panes (browsers)
GET/v1/panes/panes
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"endedalso lists ended Panes (cancelled,terminated,failedorsucceeded;orphanedcounts as active). Omit it to list live Panes only.
Responses
- 200Panes in the selected project
Response fields
product"panes"requiredinstancesobject[]requiredinstances[].[].idstringrequiredinstances[].[].omegaDeploymentIdstringrequiredinstances[].[].namestringrequiredinstances[].[].kindstringrequireddesktop (Rigs), browser (Panes) or sandbox (Shells)
instances[].[].statusstringrequiredinstances[].[].stagestringrequiredqueued, placed, running, failed, unknown or another producer stage
instances[].[].detailUrlstringinstances[].[].regionstring | nullinstances[].[].tierstring | nullinstances[].[].runtimestring | nullinstances[].[].createdAtstring | nullinstances[].[].updatedAtstring | nullinstances[].[].wakeOfstring (uuid)On the create receipt of a wake: the ended id this Pane woke from
instances[].[].volumeobjectThe 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.namestringrequiredThe instance name the disk follows (never a disk id) max length 128
instances[].[].volume.size_gbintegerrequiredmin 0
instances[].[].volume.statestringrequiredready, attached, detaching, deleting or another Omega disk state
instances[].[].volume.keptbooleanrequiredinstances[].[].volume.end_pathstring | nullrequiredowner_stop, lifetime_end, idle_stop, create_abandon, create_release or idle_detach; null while in use
instances[].[].volume.end_atstring | nullrequiredWhen that end kept the disk (ISO 8601); null while in use
instances[].[].urlstringPanes: the page the browser opened (about:blank); present on the create response
instances[].[].viewportstringPanes: WIDTHxHEIGHT (780x437 at create); present on the create response pattern
^[0-9]+x[0-9]+$instances[].[].headlesstruePanes: 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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('panes_listPanes'){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_listPanes",
"arguments": {}
}
}Create a Pane (browser)
POST/v1/panes/panes
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 · stringrequiredRequired. 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
namestringmax 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.
headlesstrueNative 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"requiredinstanceobjectrequiredinstance.idstringrequiredinstance.omegaDeploymentIdstringrequiredinstance.namestringrequiredinstance.kindstringrequireddesktop (Rigs), browser (Panes) or sandbox (Shells)
instance.statusstringrequiredinstance.stagestringrequiredqueued, placed, running, failed, unknown or another producer stage
instance.detailUrlstringinstance.regionstring | nullinstance.tierstring | nullinstance.runtimestring | nullinstance.createdAtstring | nullinstance.updatedAtstring | nullinstance.wakeOfstring (uuid)On the create receipt of a wake: the ended id this Pane woke from
instance.volumeobjectThe 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.namestringrequiredThe instance name the disk follows (never a disk id) max length 128
instance.volume.size_gbintegerrequiredmin 0
instance.volume.statestringrequiredready, attached, detaching, deleting or another Omega disk state
instance.volume.keptbooleanrequiredinstance.volume.end_pathstring | nullrequiredowner_stop, lifetime_end, idle_stop, create_abandon, create_release or idle_detach; null while in use
instance.volume.end_atstring | nullrequiredWhen that end kept the disk (ISO 8601); null while in use
instance.urlstringPanes: the page the browser opened (about:blank); present on the create response
instance.viewportstringPanes: WIDTHxHEIGHT (780x437 at create); present on the create response pattern
^[0-9]+x[0-9]+$instance.headlesstruePanes: 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).
fieldnames 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 '{}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('panes_createPane', {
body: {},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_createPane",
"arguments": {
"body": {},
"idempotency_key": "<a stable key per change>"
}
}
}Get one Pane (browser)
GET/v1/panes/panes/{id}
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"requiredinstanceobjectrequiredinstance.idstringrequiredinstance.omegaDeploymentIdstringrequiredinstance.namestringrequiredinstance.kindstringrequireddesktop (Rigs), browser (Panes) or sandbox (Shells)
instance.statusstringrequiredinstance.stagestringrequiredqueued, placed, running, failed, unknown or another producer stage
instance.detailUrlstringinstance.regionstring | nullinstance.tierstring | nullinstance.runtimestring | nullinstance.createdAtstring | nullinstance.updatedAtstring | nullinstance.wakeOfstring (uuid)On the create receipt of a wake: the ended id this Pane woke from
instance.volumeobjectThe 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.namestringrequiredThe instance name the disk follows (never a disk id) max length 128
instance.volume.size_gbintegerrequiredmin 0
instance.volume.statestringrequiredready, attached, detaching, deleting or another Omega disk state
instance.volume.keptbooleanrequiredinstance.volume.end_pathstring | nullrequiredowner_stop, lifetime_end, idle_stop, create_abandon, create_release or idle_detach; null while in use
instance.volume.end_atstring | nullrequiredWhen that end kept the disk (ISO 8601); null while in use
instance.urlstringPanes: the page the browser opened (about:blank); present on the create response
instance.viewportstringPanes: WIDTHxHEIGHT (780x437 at create); present on the create response pattern
^[0-9]+x[0-9]+$instance.headlesstruePanes: 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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('panes_getPane', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_getPane",
"arguments": {
"id": "<id>"
}
}
}Stop and delete one Pane (browser)
DELETE/v1/panes/panes/{id}
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 · stringrequiredIdempotency-Keyheader · stringOptional. With it the stop is one journaled operation; a retry with the same key replays it.
Responses
- 200Stopped
Response fields
oktruerequiredproduct"panes"requiredidstringrequiredcapability"stop"requiredresultobjectOmega's stop acknowledgement, as the facade returns it
acceptedbooleancompletedbooleanpendingbooleanstatusstringterminated or cancellation_requested
- 202Stop accepted; cancellation pending
Response fields
oktruerequiredproduct"panes"requiredidstringrequiredcapability"stop"requiredresultobjectOmega's stop acknowledgement, as the facade returns it
acceptedbooleancompletedbooleanpendingbooleanstatusstringterminated 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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('panes_deletePane', {
id: '<id>',
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_deletePane",
"arguments": {
"id": "<id>",
"idempotency_key": "<a stable key per change>"
}
}
}Action
Run an action on one Pane
POST/v1/panes/panes/{id}/action
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 · stringrequiredIdempotency-Keyheader · stringOptional. 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"requiredargsobjectCapability 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
okbooleanrequiredproductstringrequiredidstringrequiredcapabilitystringrequiredresultobject | nullThe 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
snapshotisSNAPSHOT_UNAVAILABLE(reasonno_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"
}'import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const idempotencyKey = '<a stable key per change>'
const result = await genesis.call('panes_actOnPane', {
id: '<id>',
body: {
capability: 'stop',
},
}, {
headers: { 'Idempotency-Key': idempotencyKey }, // one key per change, reused on every retry
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_actOnPane",
"arguments": {
"id": "<id>",
"body": {
"capability": "stop"
},
"idempotency_key": "<a stable key per change>"
}
}
}Screenshots
Download one Pane screenshot
GET/v1/panes/panes/{id}/screenshots/{artifactId}/data
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 · stringrequiredidpath · 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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('panes_getPaneScreenshotData', {
id: '<id>',
artifactId: '<artifactId>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_getPaneScreenshotData",
"arguments": {
"id": "<id>",
"artifactId": "<artifactId>"
}
}
}Steps
List a Pane's steps
GET/v1/panes/panes/{id}/steps
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 · stringrequiredlimitquery · integerAt most this many steps (1-500, default 100).
afterquery · stringThe
nextvalue of the previous page; the list goes on after that step.limitandaftermay come in either order.
Responses
- 200The steps
Response fields
product"panes"requiredidstringrequirednextstring | nullrequiredPass as
afterfor the next page; null on the last page.stepsobject[]requiredsteps[].[].version1requiredsteps[].[].idstringrequiredThe step key (
<ms>-<rand>); a page ends at the last one listed.steps[].[].atstring (date-time)requiredsteps[].[].capabilitystringrequiredThe action (navigate, read_text, resize, screenshot, click, ...)
steps[].[].outcome"done" | "refused" | "held" | "error"requiredsteps[].[].statusstringThe receipt's status (navigated, resized, captured, held, ...)
steps[].[].codestringThe error code of a step that did not complete
steps[].[].reasonstringsteps[].[].urlstringThe page address, origin and path only
steps[].[].httpStatusintegersteps[].[].titlestringThe page title, only when the step's receipt carried it
steps[].[].screenshotobjectsteps[].[].screenshot.idstringrequiredsteps[].[].screenshot.urlstringrequiredThe screenshot's data path on the Panes facade
steps[].[].viewportobjectsteps[].[].viewport.widthintegersteps[].[].viewport.heightintegersteps[].[].argsobjectValue-free arguments (a typed text is its length)
steps[].[].actor"person" | "agent" | "key"requiredsteps[].[].operationIdstringrequiredA 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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('panes_listPaneSteps', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_listPaneSteps",
"arguments": {
"id": "<id>"
}
}
}Delete a Pane's steps
DELETE/v1/panes/panes/{id}/steps
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"requiredidstringrequireddeletedintegerrequiredHow many step objects were removed by this call
completebooleanrequiredfalse: 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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('panes_deletePaneSteps', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_deletePaneSteps",
"arguments": {
"id": "<id>"
}
}
}Term
Get a stream credential for one Pane
POST/v1/panes/panes/{id}/term
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
productstringrequiredidstringrequiredkindstringcredentialsobjectrequiredcredentials.urlstringThe wss:// or https:// attach URL
credentials.tokenstringcredentials.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"import { Genesis } from '@onesi/genesis'
const genesis = new Genesis({ apiKey: process.env.GENESIS_API_KEY })
const result = await genesis.call('panes_openPaneTerm', {
id: '<id>',
}){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "panes_openPaneTerm",
"arguments": {
"id": "<id>"
}
}
}L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support