v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
felix

Generate Classification Constraints Endpoint

Generate constraints for classification tasks

post/felix/constraints/classification

Request body

user_idstring nullable

User ID (optional, uses authenticated user if not provided)

domain_descriptionstring nullable

Domain description for generation context

labelsstring[] required

List of classification labels

min_criteriainteger

Minimum number of constraints to generate

Response

Successful Response

successboolean required
countinteger required
token_usageinteger nullable

Estimated tokens used for constraint generation