Skip to main content
Grid commands are in pre-release and support macOS and Linux. Their arguments, flags, and output can change.

list

Classifiers are managed by Baseten. Use their IDs when creating or updating classifier-backed routes.

Options

TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
default:"text"
Output formatOne of: text, json, jsonl, none
TEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
BOOL
Enable verbose logging

Examples

List available classifiers:

Filter output with --jq

Print classifier IDs:

Output

Text mode (--output text): Table with ID and NAME columns. Lists all pages; an empty catalog prints a message to stderr. JSON mode (--output json): Returns an items array of classifiers.