Filtering and sorting
Use filter and orderBy on list queries to control which results come back and in what order, including text search and sort rules that affect pagination cursors.
Filtering
query {
devices(
organizationId: "019d48ea-0752-8000-801f-444556437ab1" # your organization id
filter: {
statusIds: ["status-active-uuid"]
}
) {
nodes {
id
title
status { title }
}
}
}Filtering logic
Location
Logic
Meaning
Empty values are ignored
Text search
Limitations
Sorting
Sort behavior
Sorting and pagination
See also
Last updated
Was this helpful?