The Tavora REST API provides direct HTTP access to all platform capabilities. The Go SDK wraps this API, but you can also call it directly from any language.
http://localhost:8080/api
All API requests require an API key passed via the X-API-Key header:
curl -H " X-API-Key: tvr_your_api_key " \
http://localhost:8080/api/documents
Method Path Description GET/api/documentsList documents POST/api/documentsCreate a document GET/api/documents/:idGet a document DELETE/api/documents/:idDelete a document POST/api/searchSemantic search
Method Path Description POST/api/chat/completionsCreate a chat completion GET/api/conversationsList conversations GET/api/conversations/:idGet conversation with messages
Method Path Description POST/api/agents/runStart an agent session GET/api/agents/sessionsList agent sessions GET/api/agents/sessions/:idGet session details
Method Path Description GET/api/skillsList skills POST/api/skillsCreate a skill PUT/api/skills/:idUpdate a skill DELETE/api/skills/:idDelete a skill
Method Path Description GET/api/storesList document stores POST/api/storesCreate a store PUT/api/stores/:idUpdate a store DELETE/api/stores/:idDelete a store
All responses return JSON. Successful responses include the data directly:
"created_at" : " 2025-01-15T10:30:00Z "
Error responses include a message:
"error" : " document not found "