Search...
/
Playground
Support
Dashboard
Documentation
API Reference
Playground
Documentation
API Reference
Playground
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
POST
Search sessions for the specified query.
GET
Returns a session by ID
PATCH
Update a session
POST
Classify a session
POST
End a session
GET
Returns all facts for a session by ID
POST
Adds facts to a session
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.
GET
Returns a session's summaries by ID
GET
Synthesize a question
User
POST
Add a user.
GET
List all users
GET
Get a user.
DEL
Delete a user
PATCH
Update a user.
GET
List all sessions for a user
Document
GET
Gets a list of DocumentCollections
GET
Gets a DocumentCollection
POST
Creates a new DocumentCollection
DEL
Deletes a DocumentCollection
PATCH
Updates a DocumentCollection
POST
Creates Multiple Documents in a DocumentCollection
POST
Batch Deletes Documents from a DocumentCollection by UUID
POST
Batch Gets Documents from a DocumentCollection
PATCH
Batch Updates Documents in a DocumentCollection
DEL
Delete Document from a DocumentCollection by UUID
POST
Searches Documents in a DocumentCollection
Playground
Support
Dashboard
Memory
Update a session
PATCH
https://
api.getzep.com
/
api
/
v2
/
sessions
/
:sessionId
Update Session Metadata
Path parameters
sessionId
string
Required
Session ID
Request
Expand all
Collapse all
This endpoint expects an object.
metadata
map from strings to any
Required
The metadata to update
fact_rating_instruction
object
Optional
Optional instruction to use for fact rating. Fact rating instructions can not be unset.
Show 2 properties
Response
Expand all
Collapse all
This endpoint returns an object
classifications
map from strings to strings
Optional
created_at
string
Optional
deleted_at
string
Optional
ended_at
string
Optional
fact_rating_instruction
object
Optional
Show 2 properties
fact_version_uuid
string
Optional
facts
list of strings
Optional
id
integer
Optional
metadata
map from strings to any
Optional
project_uuid
string
Optional
session_id
string
Optional
updated_at
string
Optional
user_id
string
Optional
Must be a pointer to allow for null values
uuid
string
Optional
Errors
400
Bad Request
404
Not Found
409
Conflict
500
Internal Server Error
Built with