v1

latestOpenAPI 3.0.02026-07-17112116167.8 KB
Agent

Register an agent (obtain sandbox credentials)

post/api/agent/register

Request body

namestring
typestring

optional; defaults to "opencode"

Example request

{
  "name": "Local Agent",
  "type": "opencode"
}

Response

Created

proxy_tokenstring required
sandbox_idstring required
short_idstring required
tunnel_tokenstring required
workspace_idstring required