HTTP APIAPI
Connect bidirectional runtime RPC
WebSocket upgrade using brain-rpc and brain-auth.TOKEN subprotocols. Commands and replies use the same contract as SSE/HTTP. Browser origins are rejected.
GET
/executors/{id}/rpcAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Opaque executor ID.
Match
^[a-fA-F0-9]{32}$Response Body
application/json
curl -X GET "https://example.com/executors/string/rpc" \ -H "Authorization: Bearer YOUR_TOKEN"Empty
Submit runtime progress or result POST
Requires the executor credential and current connection/call identity. Stale, duplicate and unsolicited results fail.
Host configuration
Reference for brain.json fields, authentication tokens, harnesses, model providers, tools, resource limits, and external persistence.