Skip to main content
POST
/
api
/
v1
/
remember
/
entry
Remember Entry
curl --request POST \
  --url https://api.cognee.ai/api/v1/remember/entry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entry": {
    "question": "<string>",
    "answer": "<string>",
    "type": "qa",
    "context": "",
    "feedback_text": "<string>",
    "feedback_score": 123,
    "used_graph_element_ids": {}
  },
  "session_id": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

JSON body for the typed-entry remember endpoint.

entry is a discriminated union — set type to qa, trace, or feedback and include the corresponding fields.

entry
QAEntry · object
required

A Q&A turn stored in the session cache.

Represents a user question + assistant answer with optional retrieval context. Dispatched to SessionManager.add_qa.

session_id
string
required
dataset_name
string
default:main_dataset

Response

Successful Response

The response is of type Response Remember Entry Api V1 Remember Entry Post · object.