User

List all sessions for a user

GET
list all sessions for a user by user id

Path parameters

userIdstringRequired
User ID

Response

This endpoint returns a list of objects
classifications
map from strings to stringsOptional
created_at
stringOptional
deleted_at
stringOptional
ended_at
stringOptional
fact_version_uuid
stringOptional
facts
list of stringsOptional
id
integerOptional
metadata
map from strings to anyOptional
project_uuid
stringOptional
session_id
stringOptional
updated_at
stringOptional
user_id
stringOptional
Must be a pointer to allow for null values
uuid
stringOptional

Errors

GET
1curl https://api.getzep.com/api/v2/users/userId/sessions \
2 -H "Authorization: Api-Key <apiKey>"
1[
2 {
3 "classifications": {
4 "classifications": "classifications"
5 },
6 "created_at": "created_at",
7 "deleted_at": "deleted_at",
8 "ended_at": "ended_at",
9 "fact_version_uuid": "fact_version_uuid",
10 "facts": [
11 "facts"
12 ],
13 "id": 1,
14 "metadata": {
15 "metadata": {
16 "key": "value"
17 }
18 },
19 "project_uuid": "project_uuid",
20 "session_id": "session_id",
21 "updated_at": "updated_at",
22 "user_id": "user_id",
23 "uuid": "uuid"
24 }
25]