Classify several dimensions per text
classify_dimensionsClassify each text by several named dimensions, such as team, urgency and kind, in one request. Returns a label, confidence, scores and model for each field. At most 1,000 item × dimension decisions; every field counts toward the quota. Use per-dimension instructions to define ambiguous categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Scrape one public URL instead of inputs/items. Requires funded workspace access. Context.dev costs $0.0022 per billed attempt plus classification; long articles need Fast. Errors disclose retained charges. No automatic scrape retries. | |
| tier | No | fast (default) or smart, which re-asks answers under 0.7 confidence of a reasoning model (slower, single-label only). Independent of the Laya processing lane. | |
| items | No | 1 to 1,000 texts to classify. Results come back in the same order. | |
| model | No | ||
| include | No | With url: return article.markdown and/or article.html at no extra scrape cost. Omit for compact output. | |
| dimensions | Yes | Named dimensions. Each is a label array or {labels, instructions}. At most 1,000 item × dimension decisions; definitions at most 16,000 characters combined. | |
| processing | No | Optional. Implies Laya if model is omitted; has no effect with explicit Jev. Omit for automatic fast/bulk selection based on item × dimension decisions. | |
| share_data | No | Synchronous classification request text, labels, instructions and model results are retained for model training and operator review in private Cloudflare storage by default. Shared requests receive double per-minute and daily classification quotas. Set share_data: false or X-Classifier-Share-Data: false to opt out and use standard limits. Share only data you have permission to contribute; do not include confidential or personal information. Redaction is best effort. Billing, spending caps and input-size limits still apply. | |
| instructions | No | Optional extra criteria, e.g. "judge only the service, ignore the food". |