---
title: "Add a property descriptor to a table in the dataset schema"
method: POST
path: "/dataset/add_property"
tags: ["dataset"]
---

# Add a property descriptor to a table in the dataset schema

`POST /dataset/add_property`

## Request body

- AddPropertyRequest
  - `dataset_name` string, required
  - `property` PropertyDescriptor, required
    - `description` string, required
    - `merge_strategy` union
      - 'Unique' — Property with unique 1:1 correspondence to its parent. Merge based on this property 100% of the time
      - object
        - `Probabilistic` MergeConfig, required — The configuration for a probabilistic merge strategy
          - `baseline_cardinality` integer, required — The number of unique values that are expected to be present in the complete dataset This is used for merging to determine how significant a match is. (i.e. if there are only 2 possible values, a match gives less confidence than if there are 100)
          - `comparison_strategy` 'Default' | 'EnforceUniqueness'
          - `match_transfer_probability` number, float, required — The estimated probability that, given an entity match, the properties also match For a person's full name, this would be quite high. For a person's job title, it would be lower because people can have multiple job titles over time or at different companies at the same time.
      - 'NoSignal'
    - `name` string, required
    - `prop_type` union
      - 'String'
      - 'Boolean'
      - object
        - `Enum` string[], required
      - 'Integer'
      - 'Float'
      - 'Date'
      - 'URL'
      - 'Money'
      - 'Image'
      - 'PersonName'
      - 'Address'
  - `table_name` string, required

## Response `200`

Property added successfully

---

[API](https://skmtc.net/structifyai/apis/structify.md) · [All operations](https://skmtc.net/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/structifyai/structify/versions/1364930b6980/schema)
