Tag texts with every label that applies
classify_multi_labelLike classify_texts, but each text gets every label that applies (possibly none), with an independent 0-1 score per label. Use this for tagging — topics of an article, components touched by a ticket — where one answer is not enough. Set max_labels to cap how many come back per text. Labels scoring >= 0.7 are kept.
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. | |
| model | No | ||
| inputs | No | 1 to 1,000 texts to classify. Results come back in the same order. | |
| labels | Yes | 2 to 100 category names. Descriptive names classify better: "urgent bug" beats "p0". Add a label like "none of these" when none-of-the-above is a real outcome. | |
| include | No | With url: return article.markdown and/or article.html at no extra scrape cost. Omit for compact output. | |
| max_labels | No | At most this many labels per text, most likely first. | |
| processing | No | Optional. Implies Laya if model is omitted; has no effect with explicit Jev. Omit to select fast for up to four labels on one text, or bulk for larger work automatically. | |
| 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". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | ||
| results | Yes |