User GuidesAPI ReferenceRelease NotesEnrichment APIs
Doc HomeHelp CenterLog In

Create an attribute for a dataset

You POST to this endpoint to add an attribute to a dataset. You specify the name and type of attribute. You can also include an optional description.

For example, you can add an attribute named "myAttribute" with the type ARRAY[STRING] (which is an array of strings) and a description.

{
  "name": "myAttribute",
  "description": "my attribute description",
  "type": {
    "baseType": "ARRAY",
        "innerType": {
        "baseType": "STRING"
        }
  }
}

A successful response mirrors the data you posted, returning a JSON attribute object.

Language
Click Try It! to start a request and see the response here!