---
title: "Get scope targets"
method: POST
path: "/scope/targets"
tags: ["scopes"]
---

# Get scope targets

`POST /scope/targets`

Returns the list of scan targets (inputs) for a specific scope. Requires ownership.

## Request body

- HandlersScopeTargetsRequest
  - `id` integer — Scope ID to get the targets for

## Response `200`

Scope targets retrieved

- HandlersScopeTargetsResponse
  - `synchronization` boolean — Flag indicating whether previous synchronization is still ongoing (no targets in that case)
  - `targets` ScopedbTDiscovery[] — Only returned if no synchronization currently ongoing
    - `enabled` boolean
    - `input` string
    - `input_comment` string — E.g. anything that helps
    - `input_company` string — E.g. company name, useful in a multi company network
    - `input_contact` string — E.g. the responsible administrator
    - `input_country` string — E.g. "DE"
    - `input_department` string — E.g. company department, e.g. IT Services
    - `input_location` string — E.g. "Munich"
    - `input_manager` string — E.g. the responsible manager
    - `input_network` string — Network the input address belongs to. Equals input if input is already a network range
    - `input_purpose` string — E.g. network description, like, "transfer network", "office space",...
    - `input_routing_domain` string — E.g. "Global", "local", "Intranet", "Internet",...
    - `input_zone` string — E.g. "Office", "Production A", "Printer",...
    - `lat` string
    - `lng` string
    - `postal_address` string
    - `priority` boolean
    - `scan_finished` SqlNullTime
      - `time` string
      - `valid` boolean — Valid is true if Time is not NULL
    - `scan_started` SqlNullTime
      - `time` string
      - `valid` boolean — Valid is true if Time is not NULL
    - `timezone` number — Float because timezones may be 11.5 in certain edge cases

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `503` — Service Unavailable

---

[API](https://skmtc.net/siemens/apis/large-scale-discovery-api.md) · [All operations](https://skmtc.net/siemens/apis/large-scale-discovery-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siemens/large-scale-discovery-api/versions/cdce1f888ae3/schema)
