harnesses
Mint a connect token for a remote harness (shown once) [write]
Changed onIssues a hct_… bearer token the maker's process uses to authenticate to the relay at WS /api/v1/sessions/{id}/harness. Minting revokes any existing token for this harness. The token value is returned exactly once — it cannot be retrieved again. Gated by the REMOTE_HARNESSES platform switch (off → 404). Returns 404 when the WORKSPACE_HARNESSES feature switch is off for this workspace. Returns 503 not_migrated when the backing tables are not yet present.
post/harnesses/{id}/connect-token
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/harnesses/{id}/connect-token
- AuthHTTP bearer
Path parameters
idstring required
The harness id (hrn_…)
Response
Created — one-time token
Changes
- info
endpoint added
- info