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 User
      • GETGet Users
      • GETGet User
      • DELDelete User
      • PATCHUpdate User
      • GETGet User Node
      • GETGet User Sessions
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceUser

Get User Sessions

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

Create Group

Next
Built with

Path parameters

userIdstringRequired
User ID

Response

OK
classificationsmap from strings to strings
created_atstring
deleted_atstring
ended_atstring
fact_rating_instructionobject
Deprecated
factslist of strings
Deprecated
idinteger
metadatamap from strings to any
Deprecated
project_uuidstring
session_idstring
updated_atstring
Deprecated
user_idstring
uuidstring

Errors

500
Internal Server Error