Get The Access Pack
Open Dashboard > Claw, choose a running instance, click AgentBridge, then copy the full access pack from the modal. That pack already contains the runtime base URL, bearer token, session key convention, and the most important endpoints.What The Token Can Do
The copied gateway token manages runtime only. It can read runtime status, send chat requests, stream SSE output, read thread history, stop a running thread, and fetch media returned by AgentBridge. It cannot renew, rebuild, restart from the hosted control plane, or access organization billing and admin routes.Session Keys
Session keys always followagentbridge:<client_id>:<workspace_id>:<thread_id>. Keep all three values stable for the same thread. If you switch to a different provider family, create a new thread_id instead of reusing the old one.
Core Runtime Endpoints
GET /api/statusGET /api/usage?session=<session_key>POST /api/agentbridge/chatPOST /api/agentbridge/chat/streamPOST /api/agentbridge/uploadsGET /api/agentbridge/messagesGET /api/agentbridge/events/streamPOST /api/agentbridge/stopGET /api/agentbridge/media
Prompt For Coding Agents
Give this short instruction together with the copied access pack:Use/api/agentbridge/chat/streamfirst. Keepclient_id,workspace_id, andthread_idstable for the same conversation. If you getprovider_family_conflict, create a newthread_idinstead of reusing the old one.
Common Errors
provider_family_conflict— the thread already has history on a different provider family; create a newthread_id.Unauthorized— the bearer token is missing, expired, or invalid for this instance.Instance not running— AgentBridge access packs are only issued for running instances.