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
      • POSTAdd Session
      • GETGet Session.
      • GETGet Sessions
      • GETGet Session Memory
      • GETGet Messages for Session
      • POSTAdd Memory to Session
      • DELDelete Session
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceMemory

Get Sessions

GET
https://api.getzep.com/api/v2/sessions-ordered
GET
/api/v2/sessions-ordered
$curl https://api.getzep.com/api/v2/sessions-ordered \
> -H "Authorization: <apiKey>"
1{
2 "response_count": 1,
3 "sessions": [
4 {
5 "classifications": {},
6 "created_at": "string",
7 "deleted_at": "string",
8 "ended_at": "string",
9 "fact_rating_instruction": {
10 "examples": {
11 "high": "string",
12 "low": "string",
13 "medium": "string"
14 },
15 "instruction": "string"
16 },
17 "facts": [
18 "string"
19 ],
20 "id": 1,
21 "metadata": {},
22 "project_uuid": "string",
23 "session_id": "string",
24 "updated_at": "string",
25 "user_id": "string",
26 "uuid": "string"
27 }
28 ],
29 "total_count": 1
30}
Returns all sessions.
Was this page helpful?
Previous

Get Session Memory

Next
Built with

Query parameters

page_numberintegerOptional
Page number for pagination, starting from 1
page_sizeintegerOptional
Number of sessions to retrieve per page.
order_bystringOptional

Field to order the results by: created_at, updated_at, user_id, session_id.

ascbooleanOptional

Order direction: true for ascending, false for descending.

Response

List of sessions
response_countinteger
sessionslist of objects
total_countinteger

Errors

400
Bad Request Error
500
Internal Server Error