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

# List graphs

POST https://api.getzep.com/api/v4/graphs/list
Content-Type: application/json

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

## Authentication

- `Authorization` header (required) (prefixed with ` Api-Key  `) — Type "Api-Key" followed by a space and the project API key.

## Request

### Query parameters

- `limit` (integer, optional) — Page size
- `cursor` (string, optional) — Opaque page cursor
- `order_by` (enum, optional) — Sort field
  - Allowed values: `created_at`, `name`, `uuid`
- `order` (enum, optional) — asc or desc
  - Allowed values: `asc`, `desc`

### Body (application/json)

This endpoint expects a v4.GraphListRequest.

- `search` (string, optional) — Filters results to graphs whose name, description, or graph ID contains this text.

## Response

### 200

OK

- `items` (list of v4.Graph, optional) — The graphs on this page.
- `next_cursor` (string, optional) — Opaque cursor for retrieving the next page, present only when more results are available.
- `total_size` (integer, optional) — The total number of graphs that match the request.

## Errors

### 400 Bad Request Error

Bad Request

- `error` (v4.ErrorBody, optional)

### 401 Unauthorized Error

Unauthorized

- `error` (v4.ErrorBody, optional)

### 403 Forbidden Error

Forbidden

- `error` (v4.ErrorBody, optional)

### 404 Not Found Error

Not Found

- `error` (v4.ErrorBody, optional)

## Types

### v4.Graph

- `created_at` (string, optional) — The time the graph was created.
- `description` (string, optional) — A description of the graph.
- `graph_id` (string, optional) — The developer-assigned identifier of the graph, present only for standard graphs.
- `name` (string, optional) — The display name of the graph.
- `time_zone` (string, optional) — The graph's IANA time zone.
- `type` (string, optional) — The kind of graph: user for a user's personal graph, or standard for a named graph created directly.
- `updated_at` (string, optional) — The time the graph was last updated.
- `user_uuid` (string, optional) — The unique identifier of the user this graph belongs to, present only for a user graph.
- `uuid` (string, optional) — The unique identifier of the graph.

### v4.ErrorBody

- `code` (string, optional)
- `details` (map from string to any, optional)
- `message` (string, optional)
- `param` (string, optional)
- `request_id` (string, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "items": [
    {
      "created_at": "string",
      "description": "string",
      "graph_id": "string",
      "name": "string",
      "time_zone": "string",
      "type": "string",
      "updated_at": "string",
      "user_uuid": "string",
      "uuid": "string"
    }
  ],
  "next_cursor": "string",
  "total_size": 1
}
```