Skip to main content
POST
Ask Memory
Use this API to ask a natural-language question over your Memory. The answer is grounded in your judgments and ingested knowledge, and comes with citations and a confidence score. When retrieval finds no relevant context, answer is an empty string with confidence: 0 rather than an invented answer; treat that as “Memory has nothing to say about this yet.”

Endpoint

POST https://api.velt.dev/v2/memory/ask

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Ask a policy question

Response

answer is the grounded answer (an empty string when there is no grounding context). citations point at the judgment records the answer drew on. confidence is 0 when the answer is empty.

Success Response

Failure Response