API
API reference
Updated 2026-09-16
Try it from here: in the viewer below, paste your agent's token (Agents → your agent → Generar token) into the agentToken auth field and run GET /api/v2/agents/{id}; calls go against the real API.
The full specification is at (OpenAPI 3.1). It is rendered below; you can import it into Postman or Bruno, or generate a client with openapi-generator.
Base: https://www.ghosty.studio. Every route requires Authorization: Bearer () and responds JSON with Cache-Control: no-store.
Map
A complete turn
The browser's EventSource doesn't send headers; in Node use eventsource or fetch and read the body. Details of each event in .