> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.getzep.com/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
- `search` (string, optional) — Search term for filtering users by user_id, name, or email
- `order_by` (string, optional) — Column to sort by (created_at, user_id, email)
- `asc` (boolean, optional) — Sort in ascending order

## 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)
- `disable_default_ontology` (boolean, optional)
- `email` (string, optional)
- `first_name` (string, optional)
- `graph_uuid` (string, optional) — GraphUUID is the graphs.uuid of the user's graph (spec-3 section 13.5). Omitted when the graph row does not exist. Read-only; never accepted as input.
- `id` (integer, optional)
- `last_name` (string, optional)
- `metadata` (map from string to any, optional) — Deprecated
- `project_uuid` (string, optional)
- `session_count` (integer, optional) — Deprecated
- `time_zone` (string, optional, nullable)
- `updated_at` (string, optional) — Deprecated
- `user_id` (string, optional)
- `uuid` (string, optional)

## Examples

**Response**

```json
{
  "row_count": 1,
  "total_count": 1,
  "users": [
    {
      "created_at": "string",
      "deleted_at": "string",
      "disable_default_ontology": true,
      "email": "string",
      "first_name": "string",
      "graph_uuid": "string",
      "id": 1,
      "last_name": "string",
      "metadata": {},
      "project_uuid": "string",
      "session_count": 1,
      "time_zone": "string",
      "updated_at": "string",
      "user_id": "string",
      "uuid": "string"
    }
  ]
}
```