API Keys

Script against openhost.sh from CI, a local shell, or any other service — a bearer token that carries its own workspace and role, no browser session required.

API keys are a paid-plan feature

Upgrade this workspace to create scoped API keys for scripted or CI access to the sandbox API.

Create a new key
New key created — copy it now, it won't be shown again
This is the only time the full key is shown. If you lose it, revoke it and create a new one.
What the key can do — same roles as a workspace member.
Active keys
0
NAME ROLE KEY LAST USED CREATED ACTIONS
No API keys yet.
Using a key

Send it as a bearer token — no cookie, no CSRF header needed:

curl -X POST https://www.openhost.sh/v1/agents/start \
  -H "Authorization: Bearer oh_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"template":"base","timeoutMs":300000,"task":"e2e smoke test"}'