Avala’s query language lets you filter dataset items, annotations, and export results using structured expressions. Use it in the search bar, export filters, and the filter_query_string parameter in the Exports API.
Operators
Logical Operators
Combine multiple conditions with AND, OR, and NOT. Use parentheses to control grouping.
Annotation Queries
Filter by annotation properties.
By Label
By Attribute
Query annotation attributes using dot notation:
By Annotation Type
Filter items by custom metadata fields attached to dataset items. Use the metadata. prefix followed by the field name:
Metadata field names are case-sensitive and must match the exact field name used when the metadata was uploaded.
Slice Queries
Filter items that belong to a specific data slice:
Reference ID Queries
Filter items by their reference ID:
String Quoting
Use double quotes around values that contain spaces or special characters:
Single-word values do not require quotes, but quoting them is always valid:
Examples
Find all items with car annotations:
Find items with high-confidence annotations:
Find rainy highway scenes in the training slice:
Find items with car or truck annotations that are not occluded:
Find items without any pedestrian annotations:
Filter by reference ID and annotation type: