For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
PlaygroundDiscordStatusDashboardSign Up >
DocumentationSDK ReferenceGraphiti
DocumentationSDK ReferenceGraphiti
  • SDK Reference
        • GETReturns a fact by UUID
        • DELDelete a fact for the given UUID
        • POSTEnd multiple sessions.
        • POSTSearch sessions for the specified query.
        • PATCHUpdate a session.
        • POSTDeprecated: Classify Session
        • POSTEnd a session
        • GETReturns all facts for a session by ID
        • POSTAdds facts to a session
        • GETGet Message
        • PATCHUpdates the metadata of a message.
        • POSTDeprecated: Use search_sessions method instead
        • GETReturns a session's summaries by ID
        • GETSynthesize a question
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceDeprecatedMemory

Returns all facts for a session by ID

Deprecated
GET
https://api.getzep.com/api/v2/sessions/:sessionId/facts
GET
/api/v2/sessions/:sessionId/facts
$curl https://api.getzep.com/api/v2/sessions/sessionId/facts \
> -H "Authorization: <apiKey>"
1{
2 "facts": [
3 {
4 "content": "string",
5 "created_at": "string",
6 "fact": "string",
7 "uuid": "string",
8 "expired_at": "string",
9 "invalid_at": "string",
10 "name": "string",
11 "rating": 1.1,
12 "source_node_name": "string",
13 "target_node_name": "string",
14 "valid_at": "string"
15 }
16 ]
17}

Deprecated API: get facts for a session

Was this page helpful?
Previous

Adds facts to a session

Next
Built with

Path parameters

sessionIdstringRequired
Session ID

Query parameters

minRatingdoubleOptional
Minimum rating by which to filter facts

Response

The facts for the session.
factslist of objects

Errors

404
Not Found Error
500
Internal Server Error