# List targets Get a list of targets Endpoint: GET /targets Version: xx.xx.xx Security: Auth0 ## Query parameters: - `page_limit` (integer) Number of elements in the collection to retrieve Example: 100 - `page_offset` (integer) Index of the first element in the collection to retrieve - `sort_by` (string) The field to sort by. You can use any field name in ascending or descending order. For ascending order, use the field name directly, e.g., . For descending order, prefix the field name with a hyphen (), e.g., . Example: "id, -id, name, -name" - `q` (string) Query search for filtering. This parameter can be used to filter results based on various fields. - to find all results with names starting with "search". - to find all active entities. - to find all entities with id greater than or equal to 1000. - find specific entities by ID. ## Response 200 fields (application/json): - `data` (array,null) - `data.id` (integer) - `data.name` (string) - `meta` (object) - `meta.status` (string, required) The status of the response, indicating success or failure. Example: "success" - `meta.count` (integer, required) The number of items returned in the current response. Example: 10 - `meta.total_count` (integer) The total number of items available in the dataset. Example: 100 - `meta.offset` (integer) The offset from the start of the dataset, used for pagination. - `meta.next_page` (string) The URL to fetch the next page of results. - `meta.prev_page` (string) The URL to fetch the previous page of results. ## Response 400 fields (application/json): - `errors` (array, required) - `errors.code` (string) - `errors.field` (string) Optional when it is a schema error - `errors.message` (string) - `meta` (object, required) - `meta.status` (string, required) ## Response 401 fields (application/json): - `errors` (array, required) - `errors.code` (string) - `errors.field` (string) Optional when it is a schema error - `errors.message` (string) - `meta` (object, required) - `meta.status` (string, required) ## Response 403 fields (application/json): - `errors` (array, required) - `errors.code` (string) - `errors.field` (string) Optional when it is a schema error - `errors.message` (string) - `meta` (object, required) - `meta.status` (string, required)