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
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
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
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.