List Targets
GEThttps://api.probely.com/profile/targets/
Request
Query Parameters
and
- andor
- orNone
- Not applicable.0
- No risk.10
- Low risk.20
- Medium risk.30
- High risk.
Names of the teams to exclude from results, as a query string.
For example, "exclude_team=Frontend" or "exclude_team=Frontend&exclude_team=Backend".
Identifiers of targets to filter results. Multiple choices are possible by repeating the query_param.
Target label IDs to filter results, as a query string.
Possible values: [and
, or
]
Logical operator to apply between target labels.
(Defaults to or
)
Number of results to return per page.
Which field to use when ordering the results.
A page number within the paginated result set.
Possible values: [0
, 10
, 20
, 30
, null
]
Target risk to filter results:
Identifiers of the scan profiles to filter results, separated by commas.
A search term.
Names of the teams to filter results, as a query string.
For example, "team=Frontend" or "team=Frontend&team=Backend".
If true, filter results by targets with unlimited scans.
If false, filter results by targets that use credits.
Responses
- 200
- 400
- 401
- 500
- application/json
- Schema
- Example (from schema)
Schema
Total number of results.
Total number of pages.
Number of the current page.
The first page is 1.
Defaults to 1 if no specific page is requested.
Number of results returned per page.
results
object[]
{
"count": 6,
"page_total": 1,
"page": 1,
"length": 10,
"results": [
{
"id": "string",
"site": {
"id": "string",
"name": "string",
"url": "string",
"changed": "2024-07-29T15:51:28.071Z",
"changed_by": {
"id": "string",
"email": "user@example.com",
"name": "string"
}
},
"user_roles": "string",
"changed": "2024-07-29T15:51:28.071Z",
"changed_by": {
"id": "string",
"email": "user@example.com",
"name": "string"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"<field name>": [
"Errors related to field <field name>."
],
"non_field_errors": [
"Errors not related to any field specific field."
]
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Incorrect authentication credentials."
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "Unexpected error while handling your request."
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://api.probely.com/profile/targets/' \
-H 'Accept: application/json' \
-H 'Authorization: JWT <YOUR_API_TOKEN>'