List targets
GET
/v2/targetsLast modified: 3 days ago
Get a list of targets
Request
Query Params
page
integer
optional
Page number. Default: 1
per_page
integer
optional
Number of records per page. Default: 10. Max: 100
q
string
optional
Search by [:name, :uuid, :hosts, :organization_id]. Usage q[column]='word'
date_range_start
string
optional
Start date for date range filter. Format: YYYY-MM-DD hh:mm:ss
date_range_end
string
optional
End date for date range filter. Default: current time. Format: YYYY-MM-DD hh:mm:ss
relative_date_range
string
optional
Relative date range filter.
Available units: (s)econds, (m)inutes, (h)ours, (d)ays, (M)onths, (y)ears. (q)uarter
Example: Get the results for the last 10 days - 10d.
Get the results from the first quarter at 2020 - 1q2020
sort_by
string
optional
Sort by [:creation_time, :modification_time, :name]. Usage: column_name_desc or column_name_asc
limited
boolean
optional
Request samples
Responses
OK(200)
Unauthorized(401)
Parameter Error(422)
HTTP Code: 200
Content Type : JSONapplication/json
Targets list
Data Schema
data
array [oneOf]
optional
#/definitions/3981890
optional
meta
#/definitions/3981889optional
Example
Not configured
Last modified: 3 days ago