> For the complete documentation index, see [llms.txt](https://docs.ellipsis-drive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ellipsis-drive.com/developers/api-v3/path-vector/vector-layer-properties/add-vector-property.md).

# Add vector property

| **Description** | Adds a property to a vector layer |
| --------------- | --------------------------------- |
| **Endpoint**    | `/path/{pathId}/vector/property`  |
| **Method**      | POST                              |

### Access Level Rules

| **Access Level** | edit+ |
| ---------------- | ----- |

### Processing Units

| **Processing units** | 2 |
| -------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="456">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the vector layer.</td><td>true</td><td></td></tr><tr><td><code>name</code></td><td>The name of the new property.</td><td>true</td><td></td></tr><tr><td><code>type</code></td><td>The data type of the property, must be one of "string", "integer", "float", "boolean" or "date".</td><td>true</td><td></td></tr><tr><td><code>required</code></td><td>Boolean whether the property must be defined for every feature.</td><td>true</td><td></td></tr><tr><td><code>levels</code></td><td>An array with the possible values the property is allowed to have.</td><td>false</td><td>Default null.</td></tr></tbody></table>
