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/retrieve-structured-data) to automatically extract the configured information from conversations.
Documentation Index
Fetch the complete documentation index at: https://docs.asapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
- Question
- Entity
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
Response
Structured data field created.
- Question
- Entity
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