> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs-beta.getzep.com/v4/sdk-reference/graph/node/list/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-beta.getzep.com/_mcp/server. # List nodes POST https://api.getzep.com/api/v4/graphs/{graph_uuid}/nodes/list Content-Type: application/json Reference: https://docs-beta.getzep.com/sdk-reference/graph/node/list ## Authentication - `Authorization` header (required) (prefixed with ` Api-Key `) — Type "Api-Key" followed by a space and the project API key. ## Request ### Path parameters - `graph_uuid` (string, required) — Graph UUID ### Query parameters - `limit` (integer, optional) — Page size - `cursor` (string, optional) — Opaque page cursor - `order_by` (enum, optional) — Sort key: uuid (default) or degree - Allowed values: `uuid`, `degree` - `order` (enum, optional) — Sort direction: asc or desc (default desc) - Allowed values: `asc`, `desc` ### Body (application/json) This endpoint expects a v4.ArtifactListRequest. - `filters` (map from string to any, optional) — Filters constraining which items are returned. ## Response ### 200 OK - `items` (list of v4.Node, optional) — The nodes on this page. - `next_cursor` (string, optional) — The cursor to pass as the next request's cursor to fetch the following page; absent when no further pages remain. - `total_size` (integer, optional) — Omitted for this collection; use next_cursor to detect the end of pagination. ## 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) ### 409 Conflict Error Conflict - `error` (v4.ErrorBody, optional) ## Types ### v4.Node - `episode_uuids` (list of string, required) — The UUIDs of the live episodes that mention this node, newest first. The list is complete when `episode_uuids_truncated` is false. The list holds the newest 100 when the node has more than 100 source episodes; list episodes with the `mentioned_node_uuids` filter to read them all. - `episode_uuids_truncated` (boolean, required) — True when the node has more than 100 source episodes, so `episode_uuids` holds only the newest 100, or when provenance is unavailable. False means `episode_uuids` is the complete set. - `attributes` (map from string to any, optional) — Additional attributes of the node, as defined by its entity type. - `created_at` (string, optional) — The time the node was created. - `degree` (integer, optional) — The count of live entity edges that touch this node, in both directions. Present only when the list request orders by `degree`. - `graph_uuid` (string, optional) — The unique identifier of the graph this node belongs to. - `labels` (list of string, optional) — The entity type labels assigned to the node. - `name` (string, optional) — The name of the entity that the node represents. - `relevance` (double, optional) — A cross-encoder-derived relevance score, present only when the cross-encoder reranker scored this result; like score, it is omitted from plain list results. - `score` (double, optional) — The ranking score returned with every search result; omitted when the node appears in a plain list rather than a search result. - `summary` (string, optional) — A generated summary of the entity that the node represents. - `uuid` (string, optional) — The node UUID, assigned by Zep. ### 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": [ { "episode_uuids": [ "string" ], "episode_uuids_truncated": true, "attributes": {}, "created_at": "string", "degree": 1, "graph_uuid": "string", "labels": [ "string" ], "name": "string", "relevance": 1.1, "score": 1.1, "summary": "string", "uuid": "string" } ], "next_cursor": "string", "total_size": 1 } ```