> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-beta.getzep.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server.

# Add User Instructions

POST https://api.getzep.com/api/v2/user-summary-instructions
Content-Type: application/json

Adds new summary instructions for users graphs without removing existing ones. If user_ids is empty, adds to project-wide default instructions.

Reference: https://docs-beta.getzep.com/sdk-reference/user/add-user-instructions

## Request

### Body (application/json)

This endpoint expects an apidata.AddUserInstructionsRequest.

- `instructions` (list of apidata.UserInstruction, required) — Instructions to add to the user summary generation.
- `user_ids` (list of string, optional) — User IDs to add the instructions to. If empty, the instructions are added to the project-wide default.

## Response

### 200

Instructions added successfully

- `message` (string, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `message` (string, optional)

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Types

### apidata.UserInstruction

- `name` (string, required)
- `text` (string, required)

## Examples

**Request**

```json
{
  "instructions": [
    {
      "name": "Highlight Key Metrics",
      "text": "Emphasize the most important performance indicators in the user summary."
    }
  ]
}
```

**Response**

```json
{
  "message": "User summary instructions added successfully."
}
```