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

End multiple sessions.

Deprecated
POST
https://api.getzep.com/api/v2/sessions/end
POST
/api/v2/sessions/end
$curl -X POST https://api.getzep.com/api/v2/sessions/end \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "session_ids": [
> "string"
> ]
>}'
1{
2 "sessions": [
3 {
4 "classifications": {},
5 "created_at": "string",
6 "deleted_at": "string",
7 "ended_at": "string",
8 "fact_rating_instruction": {
9 "examples": {
10 "high": "string",
11 "low": "string",
12 "medium": "string"
13 },
14 "instruction": "string"
15 },
16 "facts": [
17 "string"
18 ],
19 "id": 1,
20 "metadata": {},
21 "project_uuid": "string",
22 "session_id": "string",
23 "updated_at": "string",
24 "user_id": "string",
25 "uuid": "string"
26 }
27 ]
28}

Deprecated API: End multiple sessions by their IDs.

Was this page helpful?
Previous

Search sessions for the specified query.

Next
Built with

Request

End Sessions Request
session_idslist of stringsRequired
instructionstringOptional

Response

OK
sessionslist of objects

Errors

400
Bad Request Error
404
Not Found Error
500
Internal Server Error