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": {}
  }
}
'
{}

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, feedback, or skill_run 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.

dataset_name
string
default:main_dataset
session_id
string | null
skill_improvement
Skill Improvement · object

Response

Successful Response

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