> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://help.getzep.com/v2/sdk-reference/user/list-ordered/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.getzep.com/_mcp/server. # Get Users GET https://api.getzep.com/api/v2/users-ordered Returns all users. Reference: https://help.getzep.com/sdk-reference/user/list-ordered ## Request ### Query parameters - `pageNumber` (integer, optional) — Page number for pagination, starting from 1 - `pageSize` (integer, optional) — Number of users to retrieve per page ## Response ### 200 Successfully retrieved list of users - `row_count` (integer, optional) - `total_count` (integer, optional) - `users` (list of apidata.User, optional) ## Errors ### 400 Bad Request Error Bad Request - `message` (string, optional) ### 500 Internal Server Error Internal Server Error - `message` (string, optional) ## Types ### apidata.User - `created_at` (string, optional) - `deleted_at` (string, optional) - `email` (string, optional) - `fact_rating_instruction` (models.FactRatingInstruction, optional) - `first_name` (string, optional) - `id` (integer, optional) - `last_name` (string, optional) - `metadata` (map from string to any, optional) — Deprecated - `project_uuid` (string, optional) - `session_count` (integer, optional) — Deprecated - `updated_at` (string, optional) — Deprecated - `user_id` (string, optional) - `uuid` (string, optional) ### models.FactRatingInstruction - `examples` (models.FactRatingExamples, optional) — Examples is a list of examples that demonstrate how facts might be rated based on your instruction. You should provide an example of a highly rated example, a low rated example, and a medium (or in between example). For example, if you are rating based on relevance to a trip planning application, your examples might be: High: "Joe's dream vacation is Bali" Medium: "Joe has a fear of flying", Low: "Joe's favorite food is Japanese", - `instruction` (string, optional) — A string describing how to rate facts as they apply to your application. A trip planning application may use something like "relevancy to planning a trip, the user's preferences when traveling, or the user's travel history." ### models.FactRatingExamples - `high` (string, optional) - `low` (string, optional) - `medium` (string, optional) ## Examples **Request** ```json {} ``` **Response** ```json { "row_count": 1, "total_count": 1, "users": [ { "created_at": "2023-11-15T09:30:00Z", "deleted_at": null, "email": "jane.doe@example.com", "fact_rating_instruction": { "examples": { "high": "Jane's preferred meeting time is 10 AM", "low": "Jane likes pineapple on pizza", "medium": "Jane occasionally works remotely" }, "instruction": "Rate facts based on relevance to Jane's work schedule and preferences." }, "first_name": "Jane", "id": 1024, "last_name": "Doe", "metadata": {}, "project_uuid": "a3f1c9e2-7b4d-4f8a-9c3e-2d5f6b7a8c9d", "session_count": 15, "updated_at": "2024-04-10T14:45:00Z", "user_id": "user-1024", "uuid": "550e8400-e29b-41d4-a716-446655440000" } ] } ``` > Zep unifies business data, documents, and conversations into shared, governed context that agents can retrieve for their tasks.