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

# Update Graph.

PATCH https://api.getzep.com/api/v2/graph/{graphId}
Content-Type: application/json

Updates information about a graph.

Reference: https://docs-beta.getzep.com/sdk-reference/graph/update-graph

## Request

### Path parameters

- `graphId` (string, required) — Graph ID

### Body (application/json)

This endpoint expects an apidata.UpdateGraphRequest.

- `description` (string, optional, nullable)
- `name` (string, optional, nullable)
- `time_zone` (string, optional, nullable) — The graph's IANA time zone. Stored on its group-backed subject.

## Response

### 201

The updated graph object

- `canonical_graph_uuid` (string, optional) — CanonicalGraphUUID is graphs.uuid, the v4 graph address (spec-3 §13.5). Omitted when the graphs row does not yet exist. Distinct from UUID, which is the group-row identifier.
- `created_at` (string, optional)
- `description` (string, optional)
- `graph_id` (string, optional)
- `id` (integer, optional)
- `name` (string, optional)
- `project_uuid` (string, optional)
- `time_zone` (string, optional, nullable)
- `updated_at` (string, optional)
- `uuid` (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)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "canonical_graph_uuid": "string",
  "created_at": "string",
  "description": "string",
  "graph_id": "string",
  "id": 1,
  "name": "string",
  "project_uuid": "string",
  "time_zone": "string",
  "updated_at": "string",
  "uuid": "string"
}
```