{"name":"GhostGPT API","version":"v1","authentication":"Authorization: Bearer <clave>","endpoints":["GET /v1/me","GET /v1/chats","POST /v1/chats","GET /v1/chats/:id","GET /v1/chats/:id/messages","POST /v1/chats/:id/messages/stream","DELETE /v1/chats/:id"],"buildPlans":{"list":"GET /v1/chats/:id/build-plans","confirm":"POST /v1/chats/:id/build-plans/:planId/confirm/stream","cancel":"POST /v1/chats/:id/build-plans/:planId/cancel","decisionBody":{"revision":1},"decisionScope":"chats:send"},"files":{"download":"GET /v1/chats/:id/files?path=calculadora.py","scope":"chats:read","maxBytes":8388608},"execution":{"configuredIn":"Ajustes > API > Editar configuración","defaults":{"executionMode":"mafiagpt","buildEnabled":false,"requireConfirmation":false},"modes":["mafiagpt","provider","opencode"],"directMode":"provider: configured HTTP Chat Completions endpoint; only your system prompt/messages, no OpenCode or tools. Configure URL, model, credential, historyLimit, maxTokens and timeoutSeconds in Ajustes > API."},"scopes":["chats:read","chats:create","chats:send","chats:delete"],"requestsPerMinute":60}