Skip to content

API Endpoints

Chat

EndpointMethodDescription
/api/chatPOSTStreaming chat (SSE)
/api/chat/stopPOSTStop active chat
/api/chat/confirmPOSTApprove/reject dangerous tool

Conversations

EndpointMethodDescription
/api/conversationsGETList conversations
/api/conversationsPOSTCreate conversation
/api/conversations/:idGETGet conversation
/api/conversations/:idDELETEDelete conversation
/api/conversations/:id/messages/:indexPUTEdit message & regenerate
/api/conversations/:id/messages/:indexDELETEDelete message
/api/conversations/:id/messages/:index/fromDELETEDelete messages from index
/api/conversations/:id/regeneratePOSTRegenerate from index
/api/conversations/:id/toolsGETGet tool config
/api/conversations/:id/toolsPUTUpdate tool config

Targets

EndpointMethodDescription
/api/targetsGETList API targets
/api/targetsPOSTAdd target
/api/targets/:nameDELETERemove target
/api/targets/probePOSTAuto-discover spec

Tools

EndpointMethodDescription
/api/toolsGETList all tools
/api/tools/sourcesGETList tool sources
/api/specs/uploadPOSTUpload OpenAPI spec file

Config

EndpointMethodDescription
/api/config/llmGETGet LLM config
/api/config/llmPUTUpdate LLM config
/api/config/llm/providersGETProbe LLM providers
/api/config/llm/modelsPOSTFetch available models
/api/config/proxyGETGet proxy config
/api/config/proxyPUTUpdate proxy config
/api/config/proxy/testPOSTTest proxy connection

Health

EndpointMethodDescription
/api/healthGETHealth check
/api/infoGETServer info