> 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 Entity Types

GET https://api.getzep.com/api/v2/entity-types

Returns all entity types for a project.

Reference: https://help.getzep.com/v2/sdk-reference/graph/get-entity-types

## Response

### 200

The list of entity types.

- `edge_types` (list of apidata.EdgeType, optional)
- `entity_types` (list of apidata.EntityType, optional)

## Errors

### 404 Not Found Error

Not Found

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `message` (string, optional)

## Types

### apidata.EdgeType

- `description` (string, required)
- `name` (string, required)
- `properties` (list of apidata.EntityProperty, optional)
- `source_targets` (list of apidata.EntityEdgeSourceTarget, optional)

### apidata.EntityType

- `description` (string, required)
- `name` (string, required)
- `properties` (list of apidata.EntityProperty, optional)

### apidata.EntityProperty

- `description` (string, required)
- `name` (string, required)
- `type` (enum, required)
  - Allowed values: `Text`, `Int`, `Float`, `Boolean`

### apidata.EntityEdgeSourceTarget

- `source` (string, optional) — Source represents the originating node identifier in the edge type relationship. (optional)
- `target` (string, optional) — Target represents the target node identifier in the edge type relationship. (optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "edge_types": [
    {
      "description": "Represents a friendship relationship between two user entities.",
      "name": "Friendship",
      "properties": [
        {
          "description": "The date when the friendship was established.",
          "name": "since",
          "type": "Text"
        }
      ],
      "source_targets": [
        {
          "source": "User",
          "target": "User"
        }
      ]
    }
  ],
  "entity_types": [
    {
      "description": "A user of the application with profile and account details.",
      "name": "User",
      "properties": [
        {
          "description": "The unique username chosen by the user.",
          "name": "username",
          "type": "Text"
        },
        {
          "description": "The age of the user in years.",
          "name": "age",
          "type": "Int"
        },
        {
          "description": "Indicates if the user has verified their email address.",
          "name": "emailVerified",
          "type": "Boolean"
        }
      ]
    }
  ]
}
```