constraints
Generate Classification Constraints Endpoint
Changed onGenerate constraints for classification tasks.
Args: request: Labels and optional domain description for the task. auth: Authenticated caller.
Returns: Generated constraints with an estimated token usage figure.
Raises: HTTPException: 500 when constraint generation fails.
post/v1/constraints/classification
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info