Extraction categories
Create extraction category API
Create an extraction category and attach it to an agent via POST /agent//extraction-categories; the category owns the model used for its LLM pass.
POST
The category name must be unique among the agent’s attached categories. Add dispositions to the category with the Create Disposition endpoint, passing this category’s
id as category_id.min_duration_s, skip_voicemail) to skip calls it shouldn’t read, or the three follow-up fields (parent_disposition_id, match_mode, match_values) to run it after another category’s answer. A combination that can’t hold is refused with 400 and a message to show as is; see Run rules.Authorizations
Body
application/json
Category to create.
Request body for creating an extraction category. The category is attached to the agent in the URL path; attaching a category gives the agent all of the category's dispositions.
LLM model for the category's extraction pass.
Available options:
gpt-4.1-mini, gpt-4.1-nano, gpt-4o-mini, gpt-5-mini, gpt-5-nano, gpt-5.4-mini, gpt-5.6-luna, gpt-6-luna, azure/gpt-4.1-mini, azure/gpt-4.1-nano, azure/gpt-4o-mini, azure/gpt-5-mini, azure/gpt-5.4-mini, azure/gpt-5.4-nano, azure/gpt-5.6-luna, gemini-3.5-flash, gemini-3.5-flash-lite Example:
"gpt-4.1-mini"
Response
Category created and attached to the agent
A named set of dispositions evaluated together in a single LLM pass. The category owns the model used for that pass.