> 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 User

GET https://api.getzep.com/api/v2/users/{userId}

Returns a user.

Reference: https://help.getzep.com/sdk-reference/user/get

## Request

### Path parameters

- `userId` (string, required) — The user_id of the user to get.

## Response

### 200

The user that was retrieved.

- `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)

## Errors

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Types

### 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
{
  "created_at": "2023-11-10T09:15:30Z",
  "deleted_at": null,
  "email": "jane.doe@example.com",
  "fact_rating_instruction": {
    "examples": {
      "high": "Joe's dream vacation is Bali",
      "low": "Joe's favorite food is Japanese",
      "medium": "Joe has a fear of flying"
    },
    "instruction": "Rate facts based on their relevance to the user's travel preferences and history."
  },
  "first_name": "Jane",
  "id": 1024,
  "last_name": "Doe",
  "metadata": {},
  "project_uuid": "a3f1c9e2-7b4d-4f8a-9c2e-1d2f3b4c5d6e",
  "session_count": 42,
  "updated_at": "2024-05-20T16:45:00Z",
  "user_id": "user_1024",
  "uuid": "550e8400-e29b-41d4-a716-446655440000"
}
```