Two ends of the API in one place. Paste raw text on the left to see what gets extracted; type a query on the right to see what gets recalled.
POST /v1/extract · runs a small LLM on your text and returns typed memory candidates.
POST /v1/recall · semantic search across your memories. Returns ranked matches.
# extract (does not store)
curl -X POST $NC_HOST/v1/extract \
-H "Authorization: Bearer $NC_KEY" \
-d '{"text": "..."}'
# add a memory (extract + embed + store)
curl -X POST $NC_HOST/v1/memories \
-H "Authorization: Bearer $NC_KEY" \
-d '{"text": "...", "end_user_id": "user_42"}'
# recall (semantic search)
curl -X POST $NC_HOST/v1/recall \
-H "Authorization: Bearer $NC_KEY" \
-d '{"query": "...", "end_user_id": "user_42", "top_k": 5}'