Classify text into one or more predefined categories using LLM structured outputs.
Documentation Index
Fetch the complete documentation index at: https://domoinc-arun-raj-connectors-domo-480814-upadate-new-checkbo.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Request for classifying content into predefined categories using the Messages API.
The Classification service uses LLM structured outputs to reliably classify content into one or more predefined categories. The service dynamically generates JSON schemas based on the provided labels to ensure type-safe responses.
The input message content to classify (text, images, documents, etc.)
Text-based message content.
The list of possible classification labels with optional descriptions (2-50 labels required)
The type of classification: SINGLE_LABEL or MULTI_LABEL
SINGLE_LABEL, MULTI_LABEL Optional instructions for classification behavior
The ID of the model to use (optional, uses default if not specified)
Additional model parameters (temperature, max_tokens, etc.)
AI session ID for associating with existing session
Configuration for reasoning behavior
Successful classification response.
Response for text classification. Supports both single-label and multi-label classifications uniformly. All classification responses return a list of labels via the output() method.
The classification output - a list of selected labels.
The type of classification (SINGLE_LABEL or MULTI_LABEL).
SINGLE_LABEL, MULTI_LABEL The ID of the model used for classification.
Whether the model is a customer model (vs Domo provided).
The AI session ID associated with this response.
The request ID associated with this response.
The token usage from the model provider.