Creates a new metadata field within the specified analysis model.
Metadata keys must be unique within the same model (case-insensitive).
The grouping_field flag determines if this field is used for grouping in dashboard views.
Note: Metadata can be added to models that already have call analyses.
Requires scope: write:model-metadata
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The analysis model ID
Request body for creating or updating a metadata field.
Unique identifier key for this metadata within the model
1 - 128"campaign"
Human-readable display name for UI presentation
1 - 128"Campaign Name"
Data type: STRING, INTEGER, DECIMAL, BOOLEAN, DATE, TIME, or DATETIME
STRING, INTEGER, DECIMAL, BOOLEAN, DATE, TIME, DATETIME Whether this field is used to group data in dashboard views
false
Successful Response
Response model for metadata.
Unique identifier
1
Parent model ID
1
Metadata key
"campaign"
Human-readable display name
"Campaign Name"
Data type
STRING, INTEGER, DECIMAL, BOOLEAN, DATE, TIME, DATETIME Whether used for dashboard grouping
false
Whether the metadata is active
Creation timestamp
Creator identifier
Last update timestamp
Last updater identifier