Skip to content

API Reference

Oracle exposes a REST API for integration with other services.

Authentication

All requests require a Bearer token:

curl -H "Authorization: Bearer $TOKEN" https://oracle.minnova.io/api/v1/chat

Endpoints

POST /api/v1/chat

Send a message to the AI assistant.

Request:

{
  "message": "What is our deployment process?",
  "context": "infrastructure"
}

Response:

{
  "response": "The deployment process involves...",
  "sources": ["docs/infrastructure/deployment.md"]
}

POST /api/v1/documents

Upload a document for processing.

GET /api/v1/search

Search across all indexed documents.