Skip to main content
POST
/
desktop
/
pair
/
poll
Poll for desktop pairing approval
curl --request POST \
  --url https://core.cyberun.cloud/api/v1/desktop/pair/poll \
  --header 'Content-Type: application/json' \
  --data '
{
  "device_code": "<string>"
}
'
{
  "raw_key": "<string>",
  "agent_key": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
device_code
string
required

Response

Pairing status (pending or approved).

status
enum<string>
required

pending — keep polling. approved — the desktop should store raw_key (which is returned exactly once) and stop polling.

Available options:
pending,
approved
raw_key
string

The dk-... credential that authenticates the desktop. Only present when status=approved; subsequent polls will return 404 (the pairing row is deleted on read).

agent_key
string

The linked ak-... credential for local agent registration on the platform's WebSocket. Minted alongside raw_key during client pair. Only present when status=approved; delivered once with raw_key.