API reference
Overview
How to call the API and what every request needs
Learn about our API for projects, giving each of your users their own memory.
Requests
- JSON only. The API accepts and returns JSON.
- POST. Takes a JSON body and must send
Content-Type: application/json; without it the body is read as empty and fails validation. - GET and DELETE. Parameters go in the query string; DELETE must not carry a body.
- Authentication. Every request sends an API key as a Bearer token in the
Authorizationheader. See Authentication. - Limits. Request size and timeout are under Concepts > Limits and pricing.
curl
curl https://api.neurophic.ai/v1/context \
-H "Authorization: Bearer nph_..." \
-H "Content-Type: application/json" \
-d '{"identifier":"user-123","query":"travel preferences"}'
Machine-readable descriptions
- For language models. llms.txt and llms-full.txt