An integration credential (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.
sk-...) is the general-purpose
programmatic key for Cyberun. Use it from CI, scripts, partner
integrations, and MCP clients.
Create the key
- In Cloud, open Access in the sidebar.
- Switch to the Integration tab.
- Click Create integration key.
- Name it after the integration it’ll serve —
ci-prod-image-build,claude-code-personal,partner-acme-readonly. Names are visible to other team members. - Optionally set an expiry (1–365 days). Leave blank for “never”.
- Click Create.
- Copy the
sk-...value shown. Cloud does not show it again — only the prefix and a hash are stored after this screen closes.
Use the key
Send it as a Bearer token. The team is bound to the credential at issue time, so you don’t add anX-Team-ID header — it’s ignored
for sk- keys.
/api/v1/r/ prefix. The full surface is in the
API reference.
cURL
JavaScript
Python
The endpoints you’ll use most
Runtime API, all under/api/v1/r/. Full reference:
API reference.
| Endpoint | What it does |
|---|---|
GET /r/workflows | List workflows visible to the team. |
GET /r/workflows/{workflowId} | Read a workflow’s parameters and label requirements. |
POST /r/workflows/{workflowId}/run | Submit a task. |
GET /r/tasks/{taskId} | Read a task’s current state. |
GET /r/tasks/{taskId}/events (SSE) | Stream live progress events. |
GET /r/tasks/{taskId}/result | Fetch output metadata and presigned download URLs. |
POST /r/tasks/{taskId}/cancel | Cancel a non-terminal task. |
GET /r/agents | List the team’s agents and their status. |
Rotate and revoke
- Rotate: create the new key, switch your integration to it, then revoke the old one. Don’t revoke first — you’ll create a window of broken requests.
- Revoke: Access → Integration, click Revoke on the row.
Effective immediately; the next request returns
401.
Best practices
- One key per integration. Sharing a key across three systems means you can’t revoke one without breaking the others.
- Never paste keys into shared notes, screenshots, or commits. Use a secret manager.
- Use the shortest expiry that still covers the use case. Long-lived keys accumulate exposure risk.
- Match the team to the principle of least privilege — a script that only touches Team A should hold a Team A key, not your personal admin key for an organization-wide team.
Related
- Credentials — the full key family
(integration
sk-, devicedk-, agentak-). - Connect via MCP — use this key with an AI client (Claude Code, Cursor, Windsurf, …) instead of writing HTTP calls yourself.
- Webhooks — get notified when tasks finish rather than polling.
