OneOS Docs
Genesis 0.3.3 Console

API reference

Beacons

The device bridge: enroll devices with a signed challenge, list, rename and revoke them, and manage fleets, peers and admission policy.

Operations
43
Base path
https://os.one.ml/api/v1/beacons
Scopes
beacons:device:enroll beacons:read beacons:write
API keys
1 need a signed-in session · 3 refused to API keys · 2 untested · 16 tested with an API key
SDK
genesis.call('beacons_issueBridgeDeviceChallenge', …) · helpers under genesis.beacons
CLI
genesis beacons
MCP
35 tools; the other 8 through genesis_call

Operations

OperationEndpointAPI key
Issue a five-minute device proof challengePOST/bridge/device-challengesAPI keys refused
Admit a device using its signed one-time challengePOST/bridge/device-enrollmentsSigned-in session
List bridge devicesGET/bridge/devicesTested with an API key
Revoke bridge deviceDELETE/bridge/devices/{id}Tested with an API key
Update bridge device (name, nicknames)PATCH/bridge/devices/{id}Tested with an API key
Send one command to a device in the caller's own personal fleetPOST/bridge/devices/{id}/commands—
Read one command's state and outcomeGET/bridge/devices/{id}/commands/{cid}—
List a device's jobs, newest firstGET/bridge/devices/{id}/jobs—
Start a long-running job on a device in the person's own personal fleetPOST/bridge/devices/{id}/jobs—
Read one job on a device, with its questionsGET/bridge/devices/{id}/jobs/{job}—
Delete a finished job and its eventsDELETE/bridge/devices/{id}/jobs/{job}—
Answer a running agent's questionPOST/bridge/devices/{id}/jobs/{job}/asks/{ask}/answer—
Read a job's output from a sequence number, waiting up to 10 seconds for new eventsGET/bridge/devices/{id}/jobs/{job}/events/{from}—
Ask a job to stopPOST/bridge/devices/{id}/jobs/{job}/stop—
The next page of a device's jobsGET/bridge/devices/{id}/jobs/page/{after}—
Pause One on one device (a remote surface can only lower)POST/bridge/devices/{id}/pause—
Ask to say "Yes, this is my computer" for a newly paired computerPOST/bridge/devices/{id}/quarantine/confirm-request—
Say "Yes, this is my computer" for a newly paired computerPOST/bridge/devices/{id}/quarantine/release—
List the device's signed command receiptsGET/bridge/devices/{id}/receipts—
Poll durable teardown commands for the enrolled device ownerGET/bridge/devices/{id}/revocationsAPI keys refused
Acknowledge an applied transport teardown actionPOST/bridge/devices/{id}/revocations/{version}/ack—
Create or reuse first-fleet metadata in the verified Beacons selectionPOST/bridge/fleets/provisionAPI keys refused
List the person's jobs across their devices, newest firstGET/bridge/jobs—
Read one of the person's jobs on any of their devicesGET/bridge/jobs/{job}—
Delete one of the person's finished jobs and its eventsDELETE/bridge/jobs/{job}—
Read one of the person's jobs' output, without waitingGET/bridge/jobs/{job}/events/{from}—
The next page of the person's jobsGET/bridge/jobs/page/{after}—
Approve a computer's pairing codePOST/bridge/pairings/approve—
Refuse a computer's pairing codePOST/bridge/pairings/deny—
List actual fleets in the current human-authorized Sandbox selectionGET/dashboard/fleetsTested with an API key
Read one actual fleet in the current authorized selectionGET/dashboard/fleets/{fleet_id}Tested with an API key
Rename the actual fleet in the current authorized selectionPATCH/dashboard/fleets/{fleet_id}Tested with an API key
Read the Beacons agent client profile for one platformGET/dashboard/fleets/{fleet_id}/client-profiles/{platform}Tested with an API key
Read the fleet's mesh discovery mapGET/dashboard/fleets/{fleet_id}/discoveryTested with an API key
Read the fleet's mesh DNS mapGET/dashboard/fleets/{fleet_id}/dnsTested with an API key
List actual peers and durable revocation state for an authorized fleetGET/dashboard/fleets/{fleet_id}/peersTested with an API key
Read one peer's WireGuard tunnel configurationGET/dashboard/fleets/{fleet_id}/peers/{peer_id}/wireguard-config—
Read actual admission policy, including whether it has ever been savedGET/dashboard/fleets/{fleet_id}/policyTested with an API key
Save the closed fleet policy enforced by future device admissionsPUT/dashboard/fleets/{fleet_id}/policyTested with an API key
List the fleet's configuration records of one familyGET/dashboard/fleets/{fleet_id}/resources/{family}Tested with an API key
Create one configuration record in the fleetPOST/dashboard/fleets/{fleet_id}/resources/{family}Tested with an API key
Delete one configuration recordDELETE/dashboard/fleets/{fleet_id}/resources/{family}/{resource_id}Tested with an API key
Replace the given fields of one configuration recordPATCH/dashboard/fleets/{fleet_id}/resources/{family}/{resource_id}Tested with an API key

Bridge

Issue a five-minute device proof challenge

POST/v1/beacons/bridge/device-challenges

beacons:device:enrollAPI keys refusedbeacons_issueBridgeDeviceChallenge

Requires explicit beacons:write and beacons:device:enroll under a verified human identity and provisioned canonical fleet scope.

Request body application/json

  • fleet_idstring (uuid)required
  • proof_keystringrequired

    Base64url unpadded Ed25519 public key, 32 bytes

  • tunnel_keystringrequired

    Base64url unpadded WireGuard public key, 32 bytes

  • transport"t1_full" | "t2_sandboxed"required

Responses

  • 201Created
    Response fields
    • version1required
    • idstringrequired
    • noncestringrequired
    • issuerstringrequired
    • organizationstringrequired
    • principalstringrequired
    • workspacestringrequired
    • projectstringrequired
    • environmentstringrequired
    • binding_revisionstringrequired
    • transportstringrequired
    • fleet_idstringrequired
    • proof_keystringrequired
    • tunnel_keystringrequired
    • issued_atinteger (int64)required
    • expires_atinteger (int64)required
  • 403Forbidden
  • 404Not found
  • 409Scope not provisioned or device key already admitted
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/device-challenges" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "fleet_id": "00000000-0000-4000-8000-000000000000",
    "proof_key": "string",
    "tunnel_key": "string",
    "transport": "t1_full"
  }'

Admit a device using its signed one-time challenge

POST/v1/beacons/bridge/device-enrollments

beacons:device:enrollSigned-in sessionbeacons_enrollBridgeDevice

Requires explicit beacons:write and beacons:device:enroll under a verified human identity and provisioned canonical fleet scope.

Request body application/json

  • challengeobjectrequired
  • challenge.version1required
  • challenge.idstringrequired
  • challenge.noncestringrequired
  • challenge.issuerstringrequired
  • challenge.organizationstringrequired
  • challenge.principalstringrequired
  • challenge.workspacestringrequired
  • challenge.projectstringrequired
  • challenge.environmentstringrequired
  • challenge.binding_revisionstringrequired
  • challenge.transportstringrequired
  • challenge.fleet_idstringrequired
  • challenge.proof_keystringrequired
  • challenge.tunnel_keystringrequired
  • challenge.issued_atinteger (int64)required
  • challenge.expires_atinteger (int64)required
  • signaturestringrequired

    Base64url unpadded Ed25519 signature over the domain-prefixed canonical challenge JSON

Responses

  • 201Created
    Response fields
    • device_idstring (uuid)required
    • fleet_idstring (uuid)required
    • meshobjectrequired
  • 403Forbidden
  • 404Not found
  • 409Scope not provisioned or device key already admitted
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/device-enrollments" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "challenge": {
      "version": 1,
      "id": "string",
      "nonce": "string",
      "issuer": "string",
      "organization": "string",
      "principal": "string",
      "workspace": "string",
      "project": "string",
      "environment": "string",
      "binding_revision": "string",
      "transport": "string",
      "fleet_id": "string",
      "proof_key": "string",
      "tunnel_key": "string",
      "issued_at": 1,
      "expires_at": 1
    },
    "signature": "string"
  }'

List bridge devices

GET/v1/beacons/bridge/devices

beacons:readTested with an API keybeacons_listBridgeDevices

Responses

  • 200List of bridge devices
    Response fields
    • dataobject[]
    • data[].[].idstringrequired

      Device ID

    • data[].[].org_idstringrequired

      Organization ID

    • data[].[].namestringrequired

      Device name

    • data[].[].nicknamesstring[]required

      Device nicknames

    • data[].[].created_atstring (date-time)required

      Creation timestamp

    • data[].[].statusstringrequired

      Persisted peer state, or revoking/revoked from durable teardown

    • data[].[].onlineboolean

      Personal-fleet devices only. Whether the device holds its channel now (additive, optional).

    • data[].[].last_seenstring | null (date-time)

      Personal-fleet devices only. When the device was last seen, or null (additive, optional).

    • data[].[].pausedboolean

      Personal-fleet devices only. Whether One is paused on the device (additive, optional).

    • data[].[].capabilitiesobject

      Personal-fleet devices only. The device's signed capability manifest summary (additive, optional).

  • 401Unauthorized
  • 403Forbidden
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Revoke bridge device

DELETE/v1/beacons/bridge/devices/{id}

beacons:writeTested with an API keybeacons_revokeBridgeDevice

Parameters

  • idpath · stringrequired

    Device ID

Responses

  • 202Durable teardown requested; peer acknowledgements are pending
    Response fields
    • idstringrequired
    • status"revoking"required
  • 204Device teardown acknowledged and complete
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/beacons/bridge/devices/$ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Update bridge device (name, nicknames)

PATCH/v1/beacons/bridge/devices/{id}

beacons:writeTested with an API keybeacons_updateBridgeDevice

Parameters

  • idpath · stringrequired

    Device ID

Request body application/json

  • namestring

    Device name

  • nicknamesstring[]

    Device nicknames

Responses

  • 200Updated device
    Response fields
    • idstringrequired

      Device ID

    • org_idstringrequired

      Organization ID

    • namestringrequired

      Device name

    • nicknamesstring[]required

      Device nicknames

    • created_atstring (date-time)required

      Creation timestamp

    • statusstringrequired

      Persisted peer state, or revoking/revoked from durable teardown

    • onlineboolean

      Personal-fleet devices only. Whether the device holds its channel now (additive, optional).

    • last_seenstring | null (date-time)

      Personal-fleet devices only. When the device was last seen, or null (additive, optional).

    • pausedboolean

      Personal-fleet devices only. Whether One is paused on the device (additive, optional).

    • capabilitiesobject

      Personal-fleet devices only. The device's signed capability manifest summary (additive, optional).

  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/beacons/bridge/devices/$ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Send one command to a device in the caller's own personal fleet

POST/v1/beacons/bridge/devices/{id}/commands

beacons:writebeacons_commandBridgeDevice

Device command channel (GENESIS_BEACONS_DEVICE_CHANNEL, default off). Needs the raw scope beacons:device:command and the signed-in person's own session (a Console, CLI or One app session in Sandbox); an org API key, an agent and Live are refused. The action set is closed; an unknown action or argument is 422. The device re-checks everything and is the authority: a read-class or act-class action runs; an approve-class action (shell, files.pull, transfer, files.trash, clipboard.read) is refused with 403 approval_required, because the SDK, CLI, MCP and this contract carry no approval: the person approves it in the One app. A body member named approval is 422, and approval_ref is refused 403 approval_ref_one_only for every caller except the One app on the person's own session. 202 when queued, 200 when already done. Poll GET .../commands/{cid}.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Request body application/json

  • action"list" | "status" | "screenshot" | "ui_tree" | "windows" | "apps" | "click" | "move" | "drag" | "scroll" | "type" | "key" | "press" | "open_app" | "focus" | "open_url" | "files.list" | "files.stat" | "files.read" | "files.write" | "files.copy" | "files.move" | "files.mkdir" | "files.trash" | "files.pull" | "transfer" | "shell" | "clipboard.read" | "clipboard.write" | "notify"required

    Closed set. credential.fill does not exist on this channel. shell, files.pull, transfer, files.trash and clipboard.read are approve-class and are refused here (403 approval_required); the SDK, CLI and MCP refuse them before any request.

  • argsobjectrequired

    The action's arguments; an unknown argument is 422 unknown_argument. The whole request body is at most 8 KB.

  • intent"read" | "act"
  • runstring

    The caller's run id, echoed in the receipt.

  • callstring

    The caller's call id, echoed in the receipt.

Responses

  • 200Result already available
    Response fields
    • dataobjectrequired
    • data.cidstring (uuid)required
    • data.state"queued" | "delivered" | "done" | "refused" | "failed" | "expired"required
    • data.expstring (date-time)required
    • data.class"read" | "act" | "approve"required
  • 202Queued for the device
    Response fields
    • dataobjectrequired
    • data.cidstring (uuid)required
    • data.state"queued" | "delivered" | "done" | "refused" | "failed" | "expired"required
    • data.expstring (date-time)required
    • data.class"read" | "act" | "approve"required
  • 401Unauthorized
  • 403human_required (not the person's own session), approval_required (an approve-class action), approval_ref_one_only or Live
  • 404device_not_found (unknown, or not in the caller's own personal fleet), or the channel is not enabled
  • 409device_busy or device_asleep
  • 422unknown_action or unknown_argument
  • 503device_channel_disabled
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/commands" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "list",
    "args": {}
  }'

Read one command's state and outcome

GET/v1/beacons/bridge/devices/{id}/commands/{cid}

beacons:readbeacons_getBridgeDeviceCommand

Needs beacons:device:command and the person's own session. Text is at most 16 KB.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • cidpath · string (uuid)required

    Command ID returned when the command was sent

Responses

  • 200Command state
    Response fields
    • dataobjectrequired
    • data.cidstring (uuid)required
    • data.state"queued" | "delivered" | "done" | "refused" | "failed" | "expired"required
    • data.outcomestring
    • data.textstring

      max length 16384

    • data.receiptobject
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/commands/$CID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

List a device's jobs, newest first

GET/v1/beacons/bridge/devices/{id}/jobs

beacons:readbeacons_listBridgeDeviceJobs

Needs beacons:device:command and the device owner's own session in Sandbox (GENESIS_BEACONS_DEVICE_JOBS). Fifty jobs a page; next is the cursor of the following page (listBridgeDeviceJobsAfter), or null. Requires Beacons support for the jobs routes.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Responses

  • 200One page of jobs, newest first
    Response fields
    • dataobject[]required
    • data[].[].jobstring (uuid)required
    • data[].[].devicestring (uuid)required
    • data[].[].cidstring

      The start command's id.

    • data[].[].harnessstring
    • data[].[].driverstring
    • data[].[].spec_sha256string
    • data[].[].state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data[].[].created_atinteger

      Unix seconds.

    • data[].[].started_atinteger | null

      Unix seconds.

    • data[].[].ended_atinteger | null

      Unix seconds.

    • data[].[].last_beat_atinteger | null

      Unix seconds.

    • data[].[].max_runtime_sinteger
    • data[].[].next_seqinteger
    • data[].[].first_seqinteger
    • data[].[].total_bytesinteger
    • data[].[].stop_requestedboolean
    • data[].[].open_asksinteger
    • data[].[].endobject | null
    • data[].[].end.statusstring
    • data[].[].end.codestring | null
    • data[].[].end.exit_codeinteger | null
    • data[].[].asksobject[]

      The job's questions (on a single job read).

    • data[].[].asks[].[].askstring
    • data[].[].asks[].[].kindstring
    • data[].[].asks[].[].textstring
    • data[].[].asks[].[].optionsstring[]
    • data[].[].asks[].[].ask_sha256string
    • data[].[].asks[].[].asked_atinteger
    • data[].[].asks[].[].state"open" | "answering" | "closed" | "expired"
    • data[].[].asks[].[].decisionstring | null
    • data[].[].asks[].[].closed_atinteger | null
    • nextstring | nullrequired

      The cursor of the following page, or null on the last page.

  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Start a long-running job on a device in the person's own personal fleet

POST/v1/beacons/bridge/devices/{id}/jobs

Person onlybeacons_startBridgeDeviceJob

Device jobs (GENESIS_BEACONS_DEVICE_JOBS, default off, with the device channel on). Needs beacons:device:command and the person's own session in Sandbox; an org API key, an agent and Live are refused. A job runs one program, such as an agent CLI, for up to 24 hours. The caller names the job id (a fresh UUID), so a retried start is the same job. A start is approve-class: approval_ref, the person's own approved Taps item for exactly this job, is accepted from any of the person's own sessions (Console, CLI, SDK or the One app), and a member named approval is refused. This route requires Beacons support for the jobs routes on its native lane; until it is rolled, Beacons refuses the call.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Request body application/json

  • jobstring (uuid)required

    The caller's job id (a fresh UUID), so a retried start is the same job.

  • harnessstringrequired

    The harness catalog id, for example claude-code or codex.

  • argvstring[]required

    The program and its arguments, run directly with no shell. Each item at most 4096 bytes.

  • cwdstringrequired

    The working folder on the device, an absolute path.

  • driverstringrequired

    How the device reads the program's output, for example acp or codex-jsonl.

  • max_runtime_sinteger

    Longest run time in seconds (default 3600). min 60 · max 86400

  • worktreeboolean

    Run in a fresh git worktree of cwd.

  • branchstring

    The worktree's branch.

  • approval_refstring (uuid)required

    The person's own approved Taps item for this exact job, from any of the person's own sessions.

  • runstring

    The caller's run id, echoed in the receipt.

  • callstring

    The caller's call id, echoed in the receipt.

Responses

  • 202The job is recorded and its start queued for the device (or a retried start of the same job)
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.devicestring (uuid)required
    • data.cidstring

      The start command's id.

    • data.harnessstring
    • data.driverstring
    • data.spec_sha256string
    • data.state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data.created_atinteger

      Unix seconds.

    • data.started_atinteger | null

      Unix seconds.

    • data.ended_atinteger | null

      Unix seconds.

    • data.last_beat_atinteger | null

      Unix seconds.

    • data.max_runtime_sinteger
    • data.next_seqinteger
    • data.first_seqinteger
    • data.total_bytesinteger
    • data.stop_requestedboolean
    • data.open_asksinteger
    • data.endobject | null
    • data.end.statusstring
    • data.end.codestring | null
    • data.end.exit_codeinteger | null
    • data.asksobject[]

      The job's questions (on a single job read).

    • data.asks[].[].askstring
    • data.asks[].[].kindstring
    • data.asks[].[].textstring
    • data.asks[].[].optionsstring[]
    • data.asks[].[].ask_sha256string
    • data.asks[].[].asked_atinteger
    • data.asks[].[].state"open" | "answering" | "closed" | "expired"
    • data.asks[].[].decisionstring | null
    • data.asks[].[].closed_atinteger | null
  • 400A malformed body
  • 401Unauthorized
  • 403human_required, device_quarantined, approval_required or Live
  • 404Not found
  • 409device_busy, device_asleep, the device's active job limit, or the same job id with other content
  • 422beacons_command_invalid
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "job": "00000000-0000-4000-8000-000000000000",
    "harness": "string",
    "argv": [
      "string"
    ],
    "cwd": "string",
    "driver": "string",
    "approval_ref": "00000000-0000-4000-8000-000000000000"
  }'

Read one job on a device, with its questions

GET/v1/beacons/bridge/devices/{id}/jobs/{job}

beacons:readbeacons_getBridgeDeviceJob

Needs beacons:device:command and the device owner's own session. Requires Beacons support for the jobs routes.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

Responses

  • 200One job
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.devicestring (uuid)required
    • data.cidstring

      The start command's id.

    • data.harnessstring
    • data.driverstring
    • data.spec_sha256string
    • data.state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data.created_atinteger

      Unix seconds.

    • data.started_atinteger | null

      Unix seconds.

    • data.ended_atinteger | null

      Unix seconds.

    • data.last_beat_atinteger | null

      Unix seconds.

    • data.max_runtime_sinteger
    • data.next_seqinteger
    • data.first_seqinteger
    • data.total_bytesinteger
    • data.stop_requestedboolean
    • data.open_asksinteger
    • data.endobject | null
    • data.end.statusstring
    • data.end.codestring | null
    • data.end.exit_codeinteger | null
    • data.asksobject[]

      The job's questions (on a single job read).

    • data.asks[].[].askstring
    • data.asks[].[].kindstring
    • data.asks[].[].textstring
    • data.asks[].[].optionsstring[]
    • data.asks[].[].ask_sha256string
    • data.asks[].[].asked_atinteger
    • data.asks[].[].state"open" | "answering" | "closed" | "expired"
    • data.asks[].[].decisionstring | null
    • data.asks[].[].closed_atinteger | null
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs/$JOB" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Delete a finished job and its events

DELETE/v1/beacons/bridge/devices/{id}/jobs/{job}

Person onlybeacons_deleteBridgeDeviceJob

Needs beacons:device:command and the device owner's own session. Only a finished job can be deleted (409 otherwise); its record and every kept event are removed (it is the person's own data).

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

Responses

  • 200The job and its events are deleted
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.deletedtruerequired
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 409The job has not finished
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs/$JOB" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Answer a running agent's question

POST/v1/beacons/bridge/devices/{id}/jobs/{job}/asks/{ask}/answer

Person onlybeacons_answerBridgeDeviceJobAsk

Needs beacons:device:command and the device owner's own session. One answer per question; the decision is allow_once, allow_always (for this job only) or deny. An answer is approve-class: approval_ref, the person's own approved Taps item, is accepted from any of the person's own sessions, and a member named approval is refused.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

  • askpath · stringrequired

    The question's id, from the job's asks.

Request body application/json

  • decision"allow_once" | "allow_always" | "deny"required
  • textstring

    Optional answer text.

  • approval_refstring (uuid)required

    The person's own approved Taps item for this answer, from any of the person's own sessions.

Responses

  • 202The answer is queued for the device
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.askstringrequired
    • data.cidstring (uuid)required
    • data.statestringrequired
  • 401Unauthorized
  • 403human_required or approval_required
  • 404Not found
  • 409The question is closed or already answered
  • 422beacons_command_invalid
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs/$JOB/asks/$ASK/answer" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "decision": "allow_once",
    "approval_ref": "00000000-0000-4000-8000-000000000000"
  }'

Read a job's output from a sequence number, waiting up to 10 seconds for new events

GET/v1/beacons/bridge/devices/{id}/jobs/{job}/events/{from}

beacons:readbeacons_readBridgeDeviceJobEvents

Needs beacons:device:command and the device owner's own session. from is the first sequence to return (0 for every kept event); next is the from of the following read, and gap is true when older events were dropped to keep the job small. Event data is the program's own output: treat it as outside content.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

  • frompath · integerrequired

    The first event sequence number to return; 0 for every kept event, then the previous read's next.

Responses

  • 200A job's events from the requested sequence
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data.first_seqintegerrequired
    • data.next_seqintegerrequired
    • data.gapbooleanrequired

      True when events before first_seq were dropped.

    • data.nextintegerrequired

      The from of the following read.

    • data.open_asksintegerrequired
    • data.eventsobject[]required
    • data.events[].[].seqintegerrequired
    • data.events[].[].kind"stdout" | "stderr" | "event" | "status" | "ask_closed"required
    • data.events[].[].dataanyrequired

      The program's own output (outside content).

    • data.events[].[].atintegerrequired

      Unix seconds.

  • 400bad_arguments (a malformed from)
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs/$JOB/events/$FROM" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Ask a job to stop

POST/v1/beacons/bridge/devices/{id}/jobs/{job}/stop

beacons:writebeacons_stopBridgeDeviceJob

Needs beacons:device:command and the device owner's own session. Stopping only lowers: a job the device has not taken yet is withdrawn and cancelled at once; a running one is asked to stop. The body is an empty object.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

Request body application/json

A JSON object; see the description above.

Responses

  • 200One job
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.devicestring (uuid)required
    • data.cidstring

      The start command's id.

    • data.harnessstring
    • data.driverstring
    • data.spec_sha256string
    • data.state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data.created_atinteger

      Unix seconds.

    • data.started_atinteger | null

      Unix seconds.

    • data.ended_atinteger | null

      Unix seconds.

    • data.last_beat_atinteger | null

      Unix seconds.

    • data.max_runtime_sinteger
    • data.next_seqinteger
    • data.first_seqinteger
    • data.total_bytesinteger
    • data.stop_requestedboolean
    • data.open_asksinteger
    • data.endobject | null
    • data.end.statusstring
    • data.end.codestring | null
    • data.end.exit_codeinteger | null
    • data.asksobject[]

      The job's questions (on a single job read).

    • data.asks[].[].askstring
    • data.asks[].[].kindstring
    • data.asks[].[].textstring
    • data.asks[].[].optionsstring[]
    • data.asks[].[].ask_sha256string
    • data.asks[].[].asked_atinteger
    • data.asks[].[].state"open" | "answering" | "closed" | "expired"
    • data.asks[].[].decisionstring | null
    • data.asks[].[].closed_atinteger | null
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs/$JOB/stop" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The next page of a device's jobs

GET/v1/beacons/bridge/devices/{id}/jobs/page/{after}

beacons:readbeacons_listBridgeDeviceJobsAfter

Needs beacons:device:command and the device owner's own session. The cursor is the previous page's next.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

  • afterpath · stringrequired

    The previous page's next cursor, <created unix seconds>_<job id>.

Responses

  • 200One page of jobs, newest first
    Response fields
    • dataobject[]required
    • data[].[].jobstring (uuid)required
    • data[].[].devicestring (uuid)required
    • data[].[].cidstring

      The start command's id.

    • data[].[].harnessstring
    • data[].[].driverstring
    • data[].[].spec_sha256string
    • data[].[].state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data[].[].created_atinteger

      Unix seconds.

    • data[].[].started_atinteger | null

      Unix seconds.

    • data[].[].ended_atinteger | null

      Unix seconds.

    • data[].[].last_beat_atinteger | null

      Unix seconds.

    • data[].[].max_runtime_sinteger
    • data[].[].next_seqinteger
    • data[].[].first_seqinteger
    • data[].[].total_bytesinteger
    • data[].[].stop_requestedboolean
    • data[].[].open_asksinteger
    • data[].[].endobject | null
    • data[].[].end.statusstring
    • data[].[].end.codestring | null
    • data[].[].end.exit_codeinteger | null
    • data[].[].asksobject[]

      The job's questions (on a single job read).

    • data[].[].asks[].[].askstring
    • data[].[].asks[].[].kindstring
    • data[].[].asks[].[].textstring
    • data[].[].asks[].[].optionsstring[]
    • data[].[].asks[].[].ask_sha256string
    • data[].[].asks[].[].asked_atinteger
    • data[].[].asks[].[].state"open" | "answering" | "closed" | "expired"
    • data[].[].asks[].[].decisionstring | null
    • data[].[].asks[].[].closed_atinteger | null
    • nextstring | nullrequired

      The cursor of the following page, or null on the last page.

  • 400bad_arguments (a malformed cursor)
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/jobs/page/$AFTER" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Pause One on one device (a remote surface can only lower)

POST/v1/beacons/bridge/devices/{id}/pause

beacons:writebeacons_pauseBridgeDevice

Needs beacons:device:pause and the person's own session. The body is exactly paused set to true. Paused set to false is 422, because unpausing is only possible on the device itself.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Request body application/json

  • pausedtruerequired

Responses

  • 200Device paused
    Response fields
    • dataobjectrequired
    • data.devicestringrequired
    • data.pausedtruerequired
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422A remote surface can only pause
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/pause" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "paused": true
  }'

Ask to say "Yes, this is my computer" for a newly paired computer

POST/v1/beacons/bridge/devices/{id}/quarantine/confirm-request

Person onlybeacons_requestBridgeDeviceQuarantineConfirm

Needs beacons:device:enroll and the device owner's own session in Sandbox; the route exists only when the gateway's device lane is configured. The first of two steps that release a new computer from quarantine: Beacons files the person's own Taps item for this device, its key fingerprint and its start country, and answers its approval_ref. The person approves that item in Taps with their passkey, then calls quarantine/release with the approval_ref. It is offered only for the person's own unrevoked computer that has connected (409 device_not_connected) and is still quarantined (409 device_not_quarantined). The body is exactly {}.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Request body application/json

A JSON object; see the description above.

Responses

  • 200The Taps item to approve with the person's passkey
    Response fields
    • dataobjectrequired
    • data.devicestring (uuid)required
    • data.approval_refstring (uuid)required

      The id of the person's pending "Yes, this is my computer" item in Taps; pass it to quarantine/release once approved.

    • data.fingerprintstringrequired

      The computer's key fingerprint, as the Taps item shows it.

    • data.start_countrystring | null

      The country the pairing started from, when known.

    • data.passkeyobjectrequired
    • data.passkey.requiredtruerequired
  • 400invalid_confirm_request (the body is not exactly {}) or unexpected_query
  • 401Unauthorized
  • 403human_required or sandbox_only
  • 404Not found
  • 409device_not_connected or device_not_quarantined
  • 503quarantine_release_unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/quarantine/confirm-request" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Say "Yes, this is my computer" for a newly paired computer

POST/v1/beacons/bridge/devices/{id}/quarantine/release

Person onlybeacons_releaseBridgeDeviceQuarantine

Needs beacons:device:enroll and the device owner's own session in Sandbox; the route exists only when the gateway's device lane is configured. A paired computer starts quarantined and runs no command or job until its owner releases it with an approved Taps item bound to the device and its key fingerprint. It is offered only after the computer has connected (409 device_not_connected). The approval_ref comes from quarantine/confirm-request. Until the Taps confirm contract ships, Beacons answers 503 quarantine_release_unavailable. A retry with the same approval_ref answers the same.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Request body application/json

  • approval_refstring (uuid)required

    The id of the person's approved "Yes, this is my computer" item in Taps.

Responses

  • 200The computer is out of quarantine
    Response fields
    • dataobjectrequired
    • data.devicestring (uuid)required
    • data.quarantinedfalserequired
    • data.release_path"confirm_own"required
  • 401Unauthorized
  • 403human_required, sandbox_only or approval_invalid
  • 404Not found
  • 409device_not_connected or approval_already_used
  • 503quarantine_release_unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/quarantine/release" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "approval_ref": "00000000-0000-4000-8000-000000000000"
  }'

List the device's signed command receipts

GET/v1/beacons/bridge/devices/{id}/receipts

beacons:readbeacons_listBridgeDeviceReceipts

Needs beacons:read and the person's own session. Receipts hold no screenshots or file contents.

Parameters

  • idpath · string (uuid)required

    Device ID (UUID)

Responses

  • 200Receipts
    Response fields
    • dataobject[]required
    • data[].[].cidstring (uuid)required
    • data[].[].actionstringrequired
    • data[].[].class"read" | "act" | "approve"required
    • data[].[].outcomestringrequired
    • data[].[].atstring (date-time)required
    • data[].[].chainstringrequired
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/receipts" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Poll durable teardown commands for the enrolled device owner

GET/v1/beacons/bridge/devices/{id}/revocations

beacons:readAPI keys refusedbeacons_listBridgeDeviceRevocations

Parameters

  • idpath · string (uuid)required

Responses

  • 200Durable commands
    Response fields
    • dataobject[]required
    • data[].[].versioninteger (int64)required
    • data[].[].fleet_idstringrequired
    • data[].[].target_peer_idstringrequired
    • data[].[].target_didstringrequired
    • data[].[].target_public_keyinteger[]required
    • data[].[].required_ack_peer_idsstring[]required
    • data[].[].acknowledgementsobject[]required
    • data[].[].acknowledgements[].[].acknowledging_peer_idstringrequired
    • data[].[].acknowledgements[].[].action"interface_torn_down" | "peer_key_removed"required
    • data[].[].acknowledgements[].[].acknowledged_atstringrequired
    • data[].[].requested_atstringrequired
    • data[].[].completed_atstring | null
    • data[].[].finalized_atstring | null
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/revocations" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Acknowledge an applied transport teardown action

POST/v1/beacons/bridge/devices/{id}/revocations/{version}/ack

beacons:writebeacons_acknowledgeBridgeDeviceRevocation

The enrolled owner must apply the actual interface or peer-key change before acknowledgement. Complete mesh state removal requires every peer in the durable barrier.

Parameters

  • idpath · string (uuid)required
  • versionpath · integerrequired

Request body application/json

  • action"interface_torn_down" | "peer_key_removed"required

Responses

  • 200Persisted acknowledgement
    Response fields
    • dataobjectrequired
    • data.versioninteger (int64)required
    • data.fleet_idstringrequired
    • data.target_peer_idstringrequired
    • data.target_didstringrequired
    • data.target_public_keyinteger[]required
    • data.required_ack_peer_idsstring[]required
    • data.acknowledgementsobject[]required
    • data.acknowledgements[].[].acknowledging_peer_idstringrequired
    • data.acknowledgements[].[].action"interface_torn_down" | "peer_key_removed"required
    • data.acknowledgements[].[].acknowledged_atstringrequired
    • data.requested_atstringrequired
    • data.completed_atstring | null
    • data.finalized_atstring | null
  • 404Not found
  • 409Peer or transport action does not match the command
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/devices/$ID/revocations/$VERSION/ack" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "interface_torn_down"
  }'

Create or reuse first-fleet metadata in the verified Beacons selection

POST/v1/beacons/bridge/fleets/provision

beacons:writeAPI keys refusedIdempotency-Key requiredbeacons_provisionBridgeFleet

Requires a fresh human Beacons write decision and operator-provisioned standing. Creates fleet and scope metadata only; does not enroll a device or establish a billing entitlement. Reuse the same Idempotency-Key and name on retry. Body and scope conflicts return 409.

Parameters

  • Idempotency-Keyheader · string (uuid)required

    One nonzero UUID, reused for an identical retry.

Request body application/json

  • namestring

    Nonempty name, at most 256 UTF-8 bytes; defaults to Beacons Bridge. max length 256

Responses

  • 200Persisted metadata receipt
    Response fields
    • dataobjectrequired
    • data.fleet_idstring (uuid)required
    • data.organization_idstring (uuid)required
    • data.workspace_idstring (uuid)required
    • data.project_idstring (uuid)required
    • data.environment_idstring (uuid)required
    • data.metadata_onlytruerequired
  • 400Invalid request or idempotency key
  • 401Unauthorized
  • 404Not found
  • 409Existing metadata or receipt conflicts with the request
  • 503Producer or verified standing is unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/fleets/provision" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

List the person's jobs across their devices, newest first

GET/v1/beacons/bridge/jobs

beacons:readbeacons_listBridgeJobs

Needs beacons:device:command and the person's own session in Sandbox (GENESIS_BEACONS_DEVICE_JOBS). Works after a device is removed, so a person can still read, export and delete its jobs. Fifty jobs a page. Requires Beacons support for the jobs routes.

Responses

  • 200One page of jobs, newest first
    Response fields
    • dataobject[]required
    • data[].[].jobstring (uuid)required
    • data[].[].devicestring (uuid)required
    • data[].[].cidstring

      The start command's id.

    • data[].[].harnessstring
    • data[].[].driverstring
    • data[].[].spec_sha256string
    • data[].[].state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data[].[].created_atinteger

      Unix seconds.

    • data[].[].started_atinteger | null

      Unix seconds.

    • data[].[].ended_atinteger | null

      Unix seconds.

    • data[].[].last_beat_atinteger | null

      Unix seconds.

    • data[].[].max_runtime_sinteger
    • data[].[].next_seqinteger
    • data[].[].first_seqinteger
    • data[].[].total_bytesinteger
    • data[].[].stop_requestedboolean
    • data[].[].open_asksinteger
    • data[].[].endobject | null
    • data[].[].end.statusstring
    • data[].[].end.codestring | null
    • data[].[].end.exit_codeinteger | null
    • data[].[].asksobject[]

      The job's questions (on a single job read).

    • data[].[].asks[].[].askstring
    • data[].[].asks[].[].kindstring
    • data[].[].asks[].[].textstring
    • data[].[].asks[].[].optionsstring[]
    • data[].[].asks[].[].ask_sha256string
    • data[].[].asks[].[].asked_atinteger
    • data[].[].asks[].[].state"open" | "answering" | "closed" | "expired"
    • data[].[].asks[].[].decisionstring | null
    • data[].[].asks[].[].closed_atinteger | null
    • nextstring | nullrequired

      The cursor of the following page, or null on the last page.

  • 401Unauthorized
  • 403Forbidden
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/jobs" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read one of the person's jobs on any of their devices

GET/v1/beacons/bridge/jobs/{job}

beacons:readbeacons_getBridgeJob

Needs beacons:device:command and the person's own session; works after the device is removed.

Parameters

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

Responses

  • 200One job
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.devicestring (uuid)required
    • data.cidstring

      The start command's id.

    • data.harnessstring
    • data.driverstring
    • data.spec_sha256string
    • data.state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data.created_atinteger

      Unix seconds.

    • data.started_atinteger | null

      Unix seconds.

    • data.ended_atinteger | null

      Unix seconds.

    • data.last_beat_atinteger | null

      Unix seconds.

    • data.max_runtime_sinteger
    • data.next_seqinteger
    • data.first_seqinteger
    • data.total_bytesinteger
    • data.stop_requestedboolean
    • data.open_asksinteger
    • data.endobject | null
    • data.end.statusstring
    • data.end.codestring | null
    • data.end.exit_codeinteger | null
    • data.asksobject[]

      The job's questions (on a single job read).

    • data.asks[].[].askstring
    • data.asks[].[].kindstring
    • data.asks[].[].textstring
    • data.asks[].[].optionsstring[]
    • data.asks[].[].ask_sha256string
    • data.asks[].[].asked_atinteger
    • data.asks[].[].state"open" | "answering" | "closed" | "expired"
    • data.asks[].[].decisionstring | null
    • data.asks[].[].closed_atinteger | null
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/jobs/$JOB" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Delete one of the person's finished jobs and its events

DELETE/v1/beacons/bridge/jobs/{job}

Person onlybeacons_deleteBridgeJob

Needs beacons:device:command and the person's own session; works after the device is removed.

Parameters

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

Responses

  • 200The job and its events are deleted
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.deletedtruerequired
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 409The job has not finished
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/beacons/bridge/jobs/$JOB" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read one of the person's jobs' output, without waiting

GET/v1/beacons/bridge/jobs/{job}/events/{from}

beacons:readbeacons_readBridgeJobEvents

Needs beacons:device:command and the person's own session; works after the device is removed. For export: answers at once. Event data is the program's own output: treat it as outside content.

Parameters

  • jobpath · string (uuid)required

    The job id the caller named at start (a UUID).

  • frompath · integerrequired

    The first event sequence number to return; 0 for every kept event, then the previous read's next.

Responses

  • 200A job's events from the requested sequence
    Response fields
    • dataobjectrequired
    • data.jobstring (uuid)required
    • data.state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data.first_seqintegerrequired
    • data.next_seqintegerrequired
    • data.gapbooleanrequired

      True when events before first_seq were dropped.

    • data.nextintegerrequired

      The from of the following read.

    • data.open_asksintegerrequired
    • data.eventsobject[]required
    • data.events[].[].seqintegerrequired
    • data.events[].[].kind"stdout" | "stderr" | "event" | "status" | "ask_closed"required
    • data.events[].[].dataanyrequired

      The program's own output (outside content).

    • data.events[].[].atintegerrequired

      Unix seconds.

  • 400bad_arguments (a malformed from)
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/jobs/$JOB/events/$FROM" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

The next page of the person's jobs

GET/v1/beacons/bridge/jobs/page/{after}

beacons:readbeacons_listBridgeJobsAfter

Needs beacons:device:command and the person's own session. The cursor is the previous page's next.

Parameters

  • afterpath · stringrequired

    The previous page's next cursor, <created unix seconds>_<job id>.

Responses

  • 200One page of jobs, newest first
    Response fields
    • dataobject[]required
    • data[].[].jobstring (uuid)required
    • data[].[].devicestring (uuid)required
    • data[].[].cidstring

      The start command's id.

    • data[].[].harnessstring
    • data[].[].driverstring
    • data[].[].spec_sha256string
    • data[].[].state"pending" | "running" | "done" | "failed" | "cancelled" | "lost"required
    • data[].[].created_atinteger

      Unix seconds.

    • data[].[].started_atinteger | null

      Unix seconds.

    • data[].[].ended_atinteger | null

      Unix seconds.

    • data[].[].last_beat_atinteger | null

      Unix seconds.

    • data[].[].max_runtime_sinteger
    • data[].[].next_seqinteger
    • data[].[].first_seqinteger
    • data[].[].total_bytesinteger
    • data[].[].stop_requestedboolean
    • data[].[].open_asksinteger
    • data[].[].endobject | null
    • data[].[].end.statusstring
    • data[].[].end.codestring | null
    • data[].[].end.exit_codeinteger | null
    • data[].[].asksobject[]

      The job's questions (on a single job read).

    • data[].[].asks[].[].askstring
    • data[].[].asks[].[].kindstring
    • data[].[].asks[].[].textstring
    • data[].[].asks[].[].optionsstring[]
    • data[].[].asks[].[].ask_sha256string
    • data[].[].asks[].[].asked_atinteger
    • data[].[].asks[].[].state"open" | "answering" | "closed" | "expired"
    • data[].[].asks[].[].decisionstring | null
    • data[].[].asks[].[].closed_atinteger | null
    • nextstring | nullrequired

      The cursor of the following page, or null on the last page.

  • 400bad_arguments (a malformed cursor)
  • 401Unauthorized
  • 403Forbidden
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/bridge/jobs/page/$AFTER" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Approve a computer's pairing code

POST/v1/beacons/bridge/pairings/approve

Person onlybeacons_approveBridgePairing

Needs beacons:device:enroll and the signed-in person's own session (Console, CLI or the One app) in Sandbox; an org API key and Live are refused, and the route exists only when the gateway's device lane is configured (otherwise 404). Approval takes two calls. The first sends only the code the person typed and answers an approval_ref with the computer's name, platform, fingerprint and start country. The person then approves that item in Taps with their passkey, typing the code again there. The second call sends the same code with the approval_ref and pairs the computer into the person's personal fleet. The code must come from the person, never from a model or anything it read. The personal fleet must exist first (409 personal_fleet_missing; provision it with POST /v1/beacons/bridge/fleets/provision).

Request body application/json

  • user_codestringrequired

    The code the computer printed, as the person typed it. Never a code from a model or from anything it read.

  • approval_refstring (uuid)

    Second call only. The approval_ref the first call answered, after the person approved it in Taps.

  • replaces_device_idstring (uuid)

    Optional, first call. One of the person's own computers that this one replaces; it is revoked when pairing completes.

  • fingerprint_prefixstring

    The first 4 hex characters of the key fingerprint, needed only when Beacons asks for it after many wrong codes.

Responses

  • 200The approval item to approve in Taps (first call), or the approved pairing (second call)
    Response fields
    • dataobject | objectrequired
  • 400A malformed body
  • 401Unauthorized
  • 403human_required, sandbox_only, pairing_denied, approval_refused or approval_invalid
  • 404pairing_not_found (an unknown, closed or expired code; the same answer for each), or the device lane is not configured
  • 409personal_fleet_missing, approval_pending, approval_not_found, approval_already_used or pairing_restart_required
  • 429Too many wrong codes; try again later
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/pairings/approve" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user_code": "string"
  }'

Refuse a computer's pairing code

POST/v1/beacons/bridge/pairings/deny

Person onlybeacons_denyBridgePairing

Needs beacons:device:enroll and the signed-in person's own session in Sandbox; the route exists only when the gateway's device lane is configured. The computer's next poll answers denied. An unknown, closed or expired code gets the same answer as approve.

Request body application/json

  • user_codestringrequired

    The code the computer printed, as the person typed it.

Responses

  • 200The pairing is closed
    Response fields
    • dataobjectrequired
    • data.status"denied"required
  • 400A malformed body
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 429Too many wrong codes; try again later
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/bridge/pairings/deny" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "user_code": "string"
  }'

Dashboard

List actual fleets in the current human-authorized Sandbox selection

GET/v1/beacons/dashboard/fleets

beacons:readTested with an API keybeacons_listDashboardFleets

Uses the original verified Genesis human parent and current server-authorized organization, workspace, project and environment. No query or caller tenant identifiers. Requires current beacons:read; unavailable or unauthorized data is an error, not an invented empty inventory.

Responses

  • 200Persisted fleets in the exact authorized selection
    Response fields
    • dataobject[]required
    • data[].[].idstring (uuid)required
    • data[].[].namestringrequired
    • data[].[].scopeobjectrequired
    • data[].[].scope.platform_id"beacons"required
    • data[].[].scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data[].[].scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data[].[].scope.project_idstringrequired

      Current server-authorized project.

    • data[].[].scope.environment_id"sandbox"required
    • data[].[].created_atstring (date-time)required
  • 401The original current human parent, permission or sealed request admission was refused
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read one actual fleet in the current authorized selection

GET/v1/beacons/dashboard/fleets/{fleet_id}

beacons:readTested with an API keybeacons_getDashboardFleet

Requires beacons:read and exact server-side fleet custody. The scope is the current canonical selection, never storage UUIDs.

Parameters

  • fleet_idpath · stringrequired

Responses

  • 200Actual persisted fleet
    Response fields
    • dataobjectrequired
    • data.idstring (uuid)required
    • data.namestringrequired
    • data.scopeobjectrequired
    • data.scope.platform_id"beacons"required
    • data.scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data.scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data.scope.project_idstringrequired

      Current server-authorized project.

    • data.scope.environment_id"sandbox"required
    • data.created_atstring (date-time)required
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection (fleet_not_found)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Rename the actual fleet in the current authorized selection

PATCH/v1/beacons/dashboard/fleets/{fleet_id}

beacons:writeTested with an API keybeacons_updateDashboardFleet

Current beacons:write and exact server-side fleet custody are required. This changes only the fleet name; caller scope or membership fields are refused.

Parameters

  • fleet_idpath · stringrequired

Request body application/json

  • namestringrequired

    Nonempty after trimming; at most 128 UTF-8 bytes and no control characters. min length 1 · max length 128

Responses

  • 200Actual persisted renamed fleet
    Response fields
    • dataobjectrequired
    • data.idstring (uuid)required
    • data.namestringrequired
    • data.scopeobjectrequired
    • data.scope.platform_id"beacons"required
    • data.scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data.scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data.scope.project_idstringrequired

      Current server-authorized project.

    • data.scope.environment_id"sandbox"required
    • data.created_atstring (date-time)required
  • 400Invalid name, body or query
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string"
  }'

Read the Beacons agent client profile for one platform

GET/v1/beacons/dashboard/fleets/{fleet_id}/client-profiles/{platform}

beacons:readTested with an API keybeacons_getDashboardClientProfile

Requires beacons:read and exact fleet custody. Returns the API origin, DNS suffix and the beacons-agent command line for this fleet. Served only when Beacons has a public API origin configured; otherwise 503 client_profile_unconfigured.

Parameters

  • platformpath · stringrequired
  • fleet_idpath · stringrequired

Responses

  • 200Agent client profile for the fleet
    Response fields
    • dataobjectrequired
    • data.platform"linux" | "macos" | "windows" | "ios" | "android"required
    • data.fleet_idstring (uuid)required
    • data.api_urlstringrequired

      Beacons public API origin the agent connects to.

    • data.dns_suffixstringrequired
    • data.config_templatestringrequired

      beacons-agent command line for this fleet and platform.

  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection (fleet_not_found)
  • 503No public API origin is configured (client_profile_unconfigured), or native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/client-profiles/$PLATFORM" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read the fleet's mesh discovery map

GET/v1/beacons/dashboard/fleets/{fleet_id}/discovery

beacons:readTested with an API keybeacons_getDashboardFleetDiscovery

Requires beacons:read and exact fleet custody. The live mesh peers with their public keys (base64url), routes and endpoints, the DNS map, and the signal and relay map. No capability grant or private key is returned.

Parameters

  • fleet_idpath · stringrequired

Responses

  • 200Discovery map computed from persisted mesh state
    Response fields
    • dataobjectrequired
    • data.fleet_idstring (uuid)required
    • data.peersobject[]required
    • data.peers[].[].peer_idstring (uuid)required
    • data.peers[].[].didstringrequired
    • data.peers[].[].public_keystringrequired

      Public tunnel key, canonical unpadded base64url.

    • data.peers[].[].assigned_ipstringrequired
    • data.peers[].[].allowed_ipsstring[]required
    • data.peers[].[].advertised_routesstring[]required
    • data.peers[].[].endpointstring | nullrequired
    • data.peers[].[].dns_namestringrequired
    • data.peers[].[].coordinator_endpointstring | nullrequired
    • data.peers[].[].relay_regionstringrequired
    • data.peers[].[].created_atstring (date-time)required
    • data.peers[].[].updated_atstring (date-time)required
    • data.dnsobjectrequired
    • data.dns.suffixstringrequired

      In-mesh DNS suffix.

    • data.dns.recordsobject[]required
    • data.dns.records[].[].peer_idstring (uuid)required
    • data.dns.records[].[].namestringrequired
    • data.dns.records[].[].fqdnstringrequired
    • data.dns.records[].[].record_type"A"required
    • data.dns.records[].[].valuestringrequired

      The peer's assigned mesh address.

    • data.signalobjectrequired
    • data.signal.urlstringrequired
    • data.signal.protocolstringrequired
    • data.relayobjectrequired

      Signal, STUN and DERP relay map (beacons-api mesh.rs RelayMap).

  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection (fleet_not_found)
  • 409Stored mesh state is invalid (invalid_mesh_state)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/discovery" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read the fleet's mesh DNS map

GET/v1/beacons/dashboard/fleets/{fleet_id}/dns

beacons:readTested with an API keybeacons_getDashboardFleetDns

Requires beacons:read and exact fleet custody. One A record per live mesh peer (same scope, mesh state, no revocation), under the in-mesh suffix beacons.internal, sorted by name.

Parameters

  • fleet_idpath · stringrequired

Responses

  • 200DNS records computed from persisted mesh state
    Response fields
    • dataobjectrequired
    • data.suffixstringrequired

      In-mesh DNS suffix.

    • data.recordsobject[]required
    • data.records[].[].peer_idstring (uuid)required
    • data.records[].[].namestringrequired
    • data.records[].[].fqdnstringrequired
    • data.records[].[].record_type"A"required
    • data.records[].[].valuestringrequired

      The peer's assigned mesh address.

  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection (fleet_not_found)
  • 409Stored mesh state is invalid (invalid_mesh_state)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/dns" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

List actual peers and durable revocation state for an authorized fleet

GET/v1/beacons/dashboard/fleets/{fleet_id}/peers

beacons:readTested with an API keybeacons_listDashboardPeers

Requires current beacons:read and complete fleet/peer custody. Mesh fields are null when no actual mesh state exists. Revoked means both completion and finalization are durable; this is not a live transport probe.

Parameters

  • fleet_idpath · stringrequired

Responses

  • 200Actual scoped persisted peers
    Response fields
    • dataobject[]required
    • data[].[].idstring (uuid)required
    • data[].[].peer_idstring (uuid)required
    • data[].[].fleet_idstring (uuid)required
    • data[].[].didstringrequired
    • data[].[].transportstringrequired
    • data[].[].peer_kindstringrequired
    • data[].[].principal_idstring | nullrequired
    • data[].[].principal_kindstring | nullrequired
    • data[].[].owner_idstring | nullrequired
    • data[].[].scopeobjectrequired
    • data[].[].scope.platform_id"beacons"required
    • data[].[].scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data[].[].scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data[].[].scope.project_idstringrequired

      Current server-authorized project.

    • data[].[].scope.environment_id"sandbox"required
    • data[].[].enrolled_atstring (date-time)required
    • data[].[].statusstringrequired

      Actual persisted status; revoking while the durable barrier is pending and revoked after completion and finalization.

    • data[].[].assigned_ipstring | nullrequired
    • data[].[].public_keystring | nullrequired

      Public tunnel key in canonical unpadded base64url; never a private key.

    • data[].[].dns_namestring | nullrequired
    • data[].[].coordinator_endpointstring | nullrequired
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/peers" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read one peer's WireGuard tunnel configuration

GET/v1/beacons/dashboard/fleets/{fleet_id}/peers/{peer_id}/wireguard-config

beacons:readbeacons_getDashboardPeerWireguardConfig

Requires beacons:read and exact fleet custody. Lists the fleet's other live mesh peers (same scope, mesh state, no revocation) with their public keys. The device's private key never leaves the device; interface.private_key_ref names its keyring.

Parameters

  • peer_idpath · stringrequired
  • fleet_idpath · stringrequired

Responses

  • 200Tunnel configuration computed from persisted mesh state
    Response fields
    • dataobjectrequired
    • data.fleet_idstring (uuid)required
    • data.peer_idstring (uuid)required
    • data.interfaceobjectrequired
    • data.interface.addressstringrequired

      The peer's assigned mesh address with /32.

    • data.interface.dnsstring[]required
    • data.interface.mtuintegerrequired
    • data.interface.listen_portintegerrequired
    • data.interface.private_key_ref"local-agent-keyring"required

      Where the device keeps its private key; never the key.

    • data.peersobject[]required
    • data.peers[].[].peer_idstring (uuid)required
    • data.peers[].[].didstringrequired
    • data.peers[].[].public_keystringrequired

      Public tunnel key, canonical unpadded base64url.

    • data.peers[].[].allowed_ipsstring[]required
    • data.peers[].[].endpointstring | nullrequired
    • data.peers[].[].persistent_keepaliveintegerrequired
    • data.relayobjectrequired

      Signal, STUN and DERP relay map (beacons-api mesh.rs RelayMap).

    • data.discovery_versionstringrequired
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is outside the selection (fleet_not_found), or the peer is unknown, revoked or has no mesh state (peer_not_found)
  • 409Stored mesh state is invalid (invalid_mesh_state)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/peers/$PEER_ID/wireguard-config" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Read actual admission policy, including whether it has ever been saved

GET/v1/beacons/dashboard/fleets/{fleet_id}/policy

beacons:readTested with an API keybeacons_getDashboardPolicy

Requires current beacons:read and exact fleet custody. An unsaved policy reports source default and updated_at null. Legacy or invalid stored configuration is refused without exposing it.

Parameters

  • fleet_idpath · stringrequired

Responses

  • 200Actual policy or explicit unsaved default
    Response fields
    • dataobjectrequired
    • data.fleet_idstring (uuid)required
    • data.configobjectrequired
    • data.config.device_enrollment"allowed_with_permission" | "paused"required
    • data.config.max_devicesinteger

      Optional cap; omit to save without a cap. Null is refused. min 1 · max 10000

    • data.source"default" | "persisted"required
    • data.updated_atstring | null (date-time)required

      Null for an unsaved default; actual database timestamp for persisted state.

    • data.scopeobjectrequired
    • data.scope.platform_id"beacons"required
    • data.scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data.scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data.scope.project_idstringrequired

      Current server-authorized project.

    • data.scope.environment_id"sandbox"required
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection
  • 409Existing stored policy is invalid
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/policy" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Save the closed fleet policy enforced by future device admissions

PUT/v1/beacons/dashboard/fleets/{fleet_id}/policy

beacons:writeTested with an API keybeacons_updateDashboardPolicy

Requires current beacons:write and exact fleet custody. Replaces the complete admission policy under the fleet lock. Omit max_devices to remove the device cap. Pausing never revokes an existing device or grants IAM rights; enrollment still requires independent current WRITE plus ENROLL.

Parameters

  • fleet_idpath · stringrequired

Request body application/json

  • configobjectrequired
  • config.device_enrollment"allowed_with_permission" | "paused"required
  • config.max_devicesinteger

    Optional cap; omit to save without a cap. Null is refused. min 1 · max 10000

Responses

  • 200Re-read persisted policy with actual saved timestamp
    Response fields
    • dataobjectrequired
    • data.fleet_idstring (uuid)required
    • data.configobjectrequired
    • data.config.device_enrollment"allowed_with_permission" | "paused"required
    • data.config.max_devicesinteger

      Optional cap; omit to save without a cap. Null is refused. min 1 · max 10000

    • data.source"default" | "persisted"required
    • data.updated_atstring | null (date-time)required

      Null for an unsaved default; actual database timestamp for persisted state.

    • data.scopeobjectrequired
    • data.scope.platform_id"beacons"required
    • data.scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data.scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data.scope.project_idstringrequired

      Current server-authorized project.

    • data.scope.environment_id"sandbox"required
  • 400Unknown or duplicate fields, invalid enum, null or non-integer/out-of-range device limit, or query
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection
  • 409Current receipt, custody or stored policy conflicts
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl -X PUT "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/policy" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "config": {
      "device_enrollment": "allowed_with_permission"
    }
  }'

List the fleet's configuration records of one family

GET/v1/beacons/dashboard/fleets/{fleet_id}/resources/{family}

beacons:readTested with an API keybeacons_listDashboardResources

Requires beacons:read and exact fleet custody. A record is fleet configuration only (status is configuration state); nothing is provisioned, connected or billed by it. A stored record that no longer satisfies the closed schema is refused (409), never echoed.

Parameters

  • familypath · stringrequired
  • fleet_idpath · stringrequired

Responses

  • 200Persisted records of the family, oldest first
    Response fields
    • dataobject[]required
    • data[].[].idstring (uuid)required
    • data[].[].fleet_idstring (uuid)required
    • data[].[].resource_type"gateways" | "private-gateways" | "sims"required
    • data[].[].namestringrequired
    • data[].[].status"active" | "inactive" | "disabled" | "pending"required

      Configuration state only; it does not report a live connection.

    • data[].[].configobject | object | objectrequired

      The closed config object of the path family. Every field is optional; a present field is never null.

    • data[].[].scopeobjectrequired
    • data[].[].scope.platform_id"beacons"required
    • data[].[].scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data[].[].scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data[].[].scope.project_idstringrequired

      Current server-authorized project.

    • data[].[].scope.environment_id"sandbox"required
    • data[].[].created_atstring (date-time)required
    • data[].[].updated_atstring (date-time)required
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection
  • 409A stored record is invalid (invalid_resource_state)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/resources/$FAMILY" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Create one configuration record in the fleet

POST/v1/beacons/dashboard/fleets/{fleet_id}/resources/{family}

beacons:writeTested with an API keybeacons_createDashboardResource

Requires beacons:write and exact fleet custody. The body is exactly name, status and config; config is the closed object of the path family. The server assigns the id and the fleet's own scope. Not idempotent; a retry creates a second record.

Parameters

  • familypath · stringrequired
  • fleet_idpath · stringrequired

Request body application/json

  • namestringrequired

    Nonempty after trimming; at most 128 UTF-8 bytes and no control characters. min length 1 · max length 128

  • status"active" | "inactive" | "disabled" | "pending"required

    Configuration state only; it does not report a live connection.

  • configobject | object | objectrequired

    The closed config object of the path family. Every field is optional; a present field is never null.

Responses

  • 201The re-read persisted record
    Response fields
    • dataobjectrequired
    • data.idstring (uuid)required
    • data.fleet_idstring (uuid)required
    • data.resource_type"gateways" | "private-gateways" | "sims"required
    • data.namestringrequired
    • data.status"active" | "inactive" | "disabled" | "pending"required

      Configuration state only; it does not report a live connection.

    • data.configobject | object | objectrequired

      The closed config object of the path family. Every field is optional; a present field is never null.

    • data.scopeobjectrequired
    • data.scope.platform_id"beacons"required
    • data.scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data.scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data.scope.project_idstringrequired

      Current server-authorized project.

    • data.scope.environment_id"sandbox"required
    • data.created_atstring (date-time)required
    • data.updated_atstring (date-time)required
  • 400Unknown, duplicate, null or invalid field, or a config that is not the path family's (invalid_resource)
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet is absent or outside the exact authorized selection
  • 409The saved row did not re-validate (invalid_resource_state)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl -X POST "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/resources/$FAMILY" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "status": "active",
    "config": {}
  }'

Delete one configuration record

DELETE/v1/beacons/dashboard/fleets/{fleet_id}/resources/{family}/{resource_id}

beacons:writeTested with an API keybeacons_deleteDashboardResource

Requires beacons:write and exact fleet custody. Removes the configuration row only; no peer, fleet or device is touched. No request body.

Parameters

  • resource_idpath · stringrequired
  • familypath · stringrequired
  • fleet_idpath · stringrequired

Responses

  • 204Deleted
  • 400A request body was sent (invalid_resource)
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet or record is absent or outside the exact authorized selection (resource_not_found)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl -X DELETE "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/resources/$FAMILY/$RESOURCE_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY"

Replace the given fields of one configuration record

PATCH/v1/beacons/dashboard/fleets/{fleet_id}/resources/{family}/{resource_id}

beacons:writeTested with an API keybeacons_updateDashboardResource

Requires beacons:write and exact fleet custody. Send at least one of name, status or config; config replaces the whole family object. Fields you omit are kept only if they still satisfy the closed schema.

Parameters

  • resource_idpath · stringrequired
  • familypath · stringrequired
  • fleet_idpath · stringrequired

Request body application/json

  • namestring

    min length 1 · max length 128

  • status"active" | "inactive" | "disabled" | "pending"

    Configuration state only; it does not report a live connection.

  • configobject | object | object

    The closed config object of the path family. Every field is optional; a present field is never null.

Responses

  • 200The re-read persisted record
    Response fields
    • dataobjectrequired
    • data.idstring (uuid)required
    • data.fleet_idstring (uuid)required
    • data.resource_type"gateways" | "private-gateways" | "sims"required
    • data.namestringrequired
    • data.status"active" | "inactive" | "disabled" | "pending"required

      Configuration state only; it does not report a live connection.

    • data.configobject | object | objectrequired

      The closed config object of the path family. Every field is optional; a present field is never null.

    • data.scopeobjectrequired
    • data.scope.platform_id"beacons"required
    • data.scope.organization_idstringrequired

      Current canonical One account organization; not a physical storage UUID.

    • data.scope.workspace_idstringrequired

      Current server-authorized workspace.

    • data.scope.project_idstringrequired

      Current server-authorized project.

    • data.scope.environment_id"sandbox"required
    • data.created_atstring (date-time)required
    • data.updated_atstring (date-time)required
  • 400Empty, unknown, null or invalid field (invalid_resource)
  • 401The original current human parent, permission or sealed request admission was refused
  • 404Fleet or record is absent or outside the exact authorized selection (resource_not_found)
  • 409A retained stored value is invalid (invalid_resource_state)
  • 503Native admission, standing or backend is unavailable
  • 4xx 5xxThe error envelope.
curl -X PATCH "https://os.one.ml/api/v1/beacons/dashboard/fleets/$FLEET_ID/resources/$FAMILY/$RESOURCE_ID" \
  -H "Authorization: Bearer $GENESIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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