Docs · for developers
Build on Vrka.
Make your first cited API call in minutes. The full reference lives in Swagger — and the same endpoint is callable as an MCP tool.
1
Get an API key
Create one under your account → API keys. Keys are scoped to your deployment.
2
Call POST /api/v1/ask
curl -X POST https://api.opal.local/api/v1/ask \ -H "Authorization: Bearer $OPAL_KEY" \ -d '{"document":"pump-manual", "question":"How do I torque the cover bolts?"}'
3
Read the cited answer
{ "answer": "Torque the cover bolts to 45 N·m in a star pattern.", "citation": { "document": "Pump Manual", "page": 4, "route": "visual" } }
Open the full API reference (Swagger) →Also callable as an MCP tool — point your agent at the same endpoint.