---
title: "AddNodeDefinitionBody"
description: "The `AddNodeDefinitionBody` entity."
section: "Reference"
group: "Types"
order: 2
---

## Definition

```ts
interface AddNodeDefinitionBody {
  graphDefinitionId: string;
  schemaId: string;
  description?: string | undefined;
}
```

## Fields

| Field               | Type                  | Notes                                                    |
| ------------------- | --------------------- | -------------------------------------------------------- |
| `graphDefinitionId` | `string`              | `required` — Graph definition this node type belongs to. |
| `schemaId`          | `string`              | `required` — Schema ID for the node type                 |
| `description`       | `string \| undefined` | `optional` — Node definition description                 |
