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
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
Was this page helpful?