# Create metadata descriptor **POST /data/projects/{project_id}/metadata-descriptors** Create a new metadata descriptor. It serves to describe extra fields listed in the data attribute of entities. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters #### Path parameters - **project_id** (string(uuid)) Project unique identifier ## Body parameters Content-type: application/json - **entity_type** (string) Entity type for the metadata descriptor - **name** (string) Name of the metadata descriptor - **data_type** (string) Type of data (string, number, boolean, etc.) - **for_client** (string) Whether the descriptor is for client - **choices** (array[string]) List of choices for the descriptor - **departments** (array[string]) List of departments for the descriptor ## Responses ### 201: Metadata descriptor created #### Body Parameters: application/json (object) - **id** (string(uuid)) Metadata descriptor unique identifier - **name** (string) Metadata descriptor name - **data_type** (string) Metadata descriptor data type ### 400: Invalid parameters [Powered by Bump.sh](https://bump.sh)