Skip to content

hiveguard labels

labels list

List all finalized labels.

Terminal window
hiveguard labels list
hiveguard labels list --output jsonl

Requires an API key. All pages are fetched automatically.

Output columns: item_id, data_ref, modality, label, confidence, solver_count.

labels export

Export all labels to a file or stdout.

Terminal window
# Print to stdout (default: json)
hiveguard labels export
# Specific format
hiveguard labels export --fmt jsonl
hiveguard labels export --fmt csv
# Save to file
hiveguard labels export --fmt csv --output labels.csv

Requires an API key. Fetches all pages and formats client-side.

Formats

FormatDescription
jsonJSON array of label objects
jsonlOne JSON object per line (stream-safe)
csvComma-separated, with header row

Output columns

ColumnTypeDescription
item_idUUIDGround-truth item ID
data_refstringURL or identifier of the item
modalitystringimage, text, or audio
labelstringConsensus answer
confidencefloatFraction of agreeing solvers (0.0–1.0)
solver_countintNumber of solvers who answered
created_atISO 8601When label was finalized

Piping

Terminal window
# High-confidence labels only
hiveguard labels export --fmt jsonl | \
jq -c 'select(.confidence >= 0.9)' > train.jsonl
# Count labels per modality
hiveguard labels export --fmt jsonl | \
jq -r '.modality' | sort | uniq -c