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 Threads
      • GETWarm User Cache
      • GETList User Instructions
      • POSTAdd User Instructions
      • DELDelete User Instructions
LogoLogo
PlaygroundDiscordStatusDashboardSign Up >
SDK ReferenceUser

Add User

POST
https://api.getzep.com/api/v2/users
POST
/api/v2/users
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.user.add(
7 user_id="user_id",
8)
1{
2 "created_at": "string",
3 "deleted_at": "string",
4 "disable_default_ontology": true,
5 "email": "string",
6 "first_name": "string",
7 "id": 1,
8 "last_name": "string",
9 "metadata": {},
10 "project_uuid": "string",
11 "session_count": 1,
12 "updated_at": "string",
13 "user_id": "string",
14 "uuid": "string"
15}
Adds a user.
Was this page helpful?
Previous

Get Users

Next
Built with

Request

The user to add.
user_idstringRequired<=500 characters
The unique identifier of the user.
disable_default_ontologybooleanOptional

When true, disables the use of default/fallback ontology for the user’s graph.

emailstringOptional
The email address of the user.
first_namestringOptional
The first name of the user.
last_namestringOptional
The last name of the user.
metadatamap from strings to anyOptional
The metadata associated with the user.

Response

The user that was added.
created_atstring
deleted_atstring
disable_default_ontologyboolean
emailstring
first_namestring
idinteger
last_namestring
metadatamap from strings to any
Deprecated
project_uuidstring
session_countinteger
Deprecated
updated_atstring
Deprecated
user_idstring
uuidstring

Errors

400
Bad Request Error
500
Internal Server Error