Skip to main content

HTTP Client (any language)

The HTTP+JSON binding is language-agnostic.

curl -X POST https://your-server.com/v1/stores/default/retrieve \
-H 'Authorization: Bearer tok_xxx' -H 'Content-Type: application/json' \
-d '{"query": "Where does Aria live?", "budget_tokens": 512}'
await fetch(`${base}/v1/stores/default/write`, {
method: 'POST',
headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ content: 'Aria lives in Rome' }),
});

See the live Swagger for the full schema: https://grafomem-production.up.railway.app/docs