Create disposition API
Create a new disposition and link it to an agent in one POST /dispositions/ request; agent_id is required and at least one option type must be set.
is_subjective or is_objective must be true. When is_objective is true, you must provide objective_options. See the ObjectiveOption schema for the full structure including nested sub_options.Place the disposition in a category by passing category_id (preferred) or a category name — at most one of the two; a payload with both fails with a 400 error. A category name that does not match one of the agent’s categories creates a fresh category. When both are omitted, the disposition goes to the agent’s General category. See Extraction Categories.Authorizations
Body
Disposition to create.
Request body for creating a disposition.
agent_id is required — the disposition is linked to that agent on creation. At least one of is_subjective or is_objective must be true. When is_objective is true, objective_options is required and must be non-empty. When subjective_type is regex, subjective_type_config with a pattern is required. Pass category_id (preferred) or a category name to place the disposition in a category; a category name that does not match one of the agent's categories creates a fresh category. Provide at most one of the two — a payload containing both category_id and category fails with a 400 error.
Category name. Resolved against the agent's attached categories; a name that does not match an existing category creates one. Prefer category_id when the category already exists. When both category and category_id are omitted, the disposition goes to the agent's General category (created if absent).
"Lead Quality"
ID of an existing extraction category attached to the agent. Preferred over category; provide at most one of the two — a payload containing both fails with a 400 error. The ID must belong to a category attached to the target agent, otherwise the request fails with a 404 error.
"9b2e8f10-4c7d-4e2a-9f31-6a8d5c1b0e42"
LLM model to use for evaluation.
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 "gpt-4.1-mini"
Response
Disposition created successfully
Standard response for create/update operations on a single disposition.