Create a structured data field
Creates a new structured data field configuration that defines what information should be extracted from conversations.
This endpoint supports creating two types of structured data fields:
-
QUESTION type: Defines specific questions to be answered about the conversation Example: “Did the agent offer the correct promotion?”
-
ENTITY type: Defines entities to be identified and extracted Example: Product names mentioned in the conversation
These fields are used by the Structured Data API (/apis/autosummary/create-structured-data) to automatically extract the configured information from conversations.
Body
The id of the structured data field
"q_promotion_was_offered"
The name of the structured data field
"Promotion was offered"
The category of the structured data field. Possible values:
- OUTCOME
"OUTCOME"
The type of the structured data field. Must be either:
- QUESTION
- ENTITY
"QUESTION"
Indicates if the structured data is active or not.
false
The segment ids that the structured data field is associated with
The id of the structured data field
"q_promotion_was_offered"
The name of the structured data field
"Promotion was offered"
The category of the structured data field. Possible values:
- OUTCOME
"OUTCOME"
The type of the structured data field. Must be either:
- QUESTION
- ENTITY
"QUESTION"
Indicates if the structured data is active or not.
false
The segment ids that the structured data field is associated with
The id of the structured data field
"e_product"
The name of the structured data field
"Product Name"
The category id assigned
"OUTCOME"
The type of the structured data field. Must be either:
- QUESTION
- ENTITY
"ENTITY"
Indicates if the structured data is active or not
false
The segment ids that the structured data field is associated with
Response
The id of the structured data field
"q_promotion_was_offered"
The name of the structured data field
"Promotion was offered"
The category of the structured data field. Possible values:
- OUTCOME
"OUTCOME"
The type of the structured data field. Must be either:
- QUESTION
- ENTITY
"QUESTION"
Indicates if the structured data is active or not.
false
The segment ids that the structured data field is associated with
The id of the structured data field
"q_promotion_was_offered"
The name of the structured data field
"Promotion was offered"
The category of the structured data field. Possible values:
- OUTCOME
"OUTCOME"
The type of the structured data field. Must be either:
- QUESTION
- ENTITY
"QUESTION"
Indicates if the structured data is active or not.
false
The segment ids that the structured data field is associated with
The id of the structured data field
"e_product"
The name of the structured data field
"Product Name"
The category id assigned
"OUTCOME"
The type of the structured data field. Must be either:
- QUESTION
- ENTITY
"ENTITY"
Indicates if the structured data is active or not
false
The segment ids that the structured data field is associated with
Was this page helpful?