Skip to main content
GET
Read the rows the devices stored for a saved query
Key: Read Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Path Parameters

queryId
string
required

Query Parameters

Only the rows whose host name or one of whose values contains this text

deviceIds
string

Only the rows of these devices: a comma-separated list of at most 50 device ids

page
number

Page number

perPage
number

Number of items per page (max 100)

Response

default - application/json
data
object[]
required
pagination
object
required
scheduled
boolean
required

False when the query runs on no interval or Fleet discards its data: it never stores rows.

clipped
boolean
required

True when Fleet dropped the rows of a device because the query reached its row limit: some devices are missing. A device that answers more than 1,000 rows stores none and does not set it.

rowLimit
number
required

The row limit set for one query across every device. Fleet raises it to the number of hosts when that is higher.