Search...
/
Playground
Support
Dashboard
Documentation
Community Edition
API Reference
Graphiti
Discord
GitHub
Work with Us
Documentation
Community Edition
API Reference
Graphiti
Discord
GitHub
Work with Us
API Reference
Memory
GET
Returns a fact by UUID
DEL
Delete a fact for the given UUID
POST
Add a session
GET
Returns all sessions in a specified order
POST
End multiple sessions. (cloud only)
POST
Search sessions for the specified query.
GET
Returns a session by ID
PATCH
Update a session
POST
Classify a session (cloud only)
POST
End a session (cloud only)
GET
Returns all facts for a session by ID (cloud only)
POST
Adds facts to a session (cloud only)
GET
Get session memory
POST
Add memory to the specified session.
DEL
Delete memory messages for a given session
GET
Lists messages for a session
GET
Gets a specific message from a session
PATCH
Updates the metadata of a message.
POST
Search memory for the specified session (cloud only)
GET
Returns a session's summaries by ID (cloud only)
GET
Synthesize a question (cloud only)
User
Document
Playground
Support
Dashboard
API Reference
Memory
Returns all sessions in a specified order
GET
https://api.getzep.com/api/v2
/
sessions-ordered
Get all sessions with optional page number, page size, order by field and order direction for pagination.
Query parameters
page_number
integer
Optional
Page number for pagination, starting from 1
page_size
integer
Optional
Number of sessions to retrieve per page
order_by
string
Optional
Field to order the results by: created_at, updated_at, user_id, session_id
asc
boolean
Optional
Order direction: true for ascending, false for descending
Response
This endpoint returns an object.
response_count
integer
Optional
sessions
list of objects
Optional
Show 13 properties
total_count
integer
Optional
Errors
400
Bad Request
500
Internal Server Error
Built with