Segments
Create a segment
Creates a new segment
to organize structured data extraction based on conversation metadata.
A segment consists of:
- Query logic that matches conversations based on metadata
- A set of structured data fields to extract from matching conversations
For example, you can create segments to:
- Extract problem details from support conversations
- Extract product and promotion info from sales conversations
POST
Body
application/json
Segment
The id of the segment
The name of the segment
A query that defines which conversations belong to this segment based on their metadata.
The ids of the structured data fields that will be used to generate the structured data for the conversation.
Response
201
application/json
Segment created.
Segment
The id of the segment
The name of the segment
A query that defines which conversations belong to this segment based on their metadata.
The ids of the structured data fields that will be used to generate the structured data for the conversation.
Was this page helpful?