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

Adds facts to a session

Deprecated
POST
https://api.getzep.com/api/v2/sessions/:sessionId/facts
POST
/api/v2/sessions/:sessionId/facts
$curl -X POST https://api.getzep.com/api/v2/sessions/sessionId/facts \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "facts": [
> {
> "fact": "string"
> }
> ]
>}'
1{
2 "message": "string"
3}

Deprecated API: Adds facts to a session

Was this page helpful?
Previous

Get Message

Next
Built with

Path parameters

sessionIdstringRequired
Session ID

Request

Request body with a list of facts to add.
factslist of objectsRequired

Response

OK
messagestring

Errors

404
Not Found Error
500
Internal Server Error