---
title: "List Scanning Agent Targets"
method: GET
path: "/scanning-agents/{id}/targets/"
tags: ["Scanning Agents"]
---

# List Scanning Agent Targets

`GET /scanning-agents/{id}/targets/`

## Request

- Base URL: `https://api.probely.com`
- URL: `https://api.probely.com/scanning-agents/{id}/targets/`
- Auth: API key in header `Authorization`

## Path parameters

- `id` string, required

## Query parameters

- `length` integer
- `ordering` string
- `page` integer
- `scopes_logical_operator` 'and' | 'or'
- `search` string
- `status` integer[]
- `target_search` string
- `team` string[]

## Response `200`

- PaginatedAgentTargetList
  - `count` integer: Total number of results.
  - `page_total` integer: Total number of pages.
  - `page` integer: Number of the current page. The first page is 1. Defaults to 1 if no specific page is requested.
  - `length` integer: Number of results returned per page.
  - `results` AgentTarget[]
    - `id` string, required: A unique Base58 value identifying this object.
    - `name` string, required: The name the targets list shows (`site.name`, i.e. `target.name`). `Scope.name` is only the fallback. `Scope.get_name()` has the opposite precedence, so it would disagree with the targets list whenever both are set.
    - `url` string, required
    - `type` string, required
    - `unlimited` boolean, required: If true, the target has unlimited scans. If false, scans consume credits. Learn more about [unlimited scans vs scans with credits](https://help.probely.com/en/articles/6845523-unlimited-scans-vs-scans-with-credits). Defaults to true.
    - `labels` ScopeLabel[], required
      - `id` string, required: A unique Base58 value identifying this object.
      - `name` string, required: Name of the label. The maximum length is 255 characters.
      - `color` string: Color of the label, in RGB hexadecimal format prefixed with "#". For example, "#00FF00" for green.
      - `changed_by` SimpleUser, required
        - `id` string, required: A unique Base58 value identifying this object.
        - `email` string, email: Email of the user.
        - `name` string, required: Name of the user.
      - `changed` string, date-time, required: Date and time of the last change, in ISO 8601 UTC format. For example, "2023-08-09T13:27:43.8208302".
    - `last_scan` string, required

## Other responses

- `400`
- `401`
- `404`
- `500`

## Changes

- **2026-11-03** `0b2f6cbe644d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/changes/scanning-agents/:id/targets/get.md)

---

[API](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation.md) - [All operations](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/probely/apis/snyk-api-web-s-api-reference-documentation/revisions/0b2f6cbe644d?raw)
