API Reference
- Introduction
- Assets
- GETGet Enumeration List
- POSTCreate Enumeration
- GETGet Enumeration
- DELDelete Enumeration
- DELDelete Bulk Enumeration
- PATCHUpdate Enumeration
- GETGet Enumeration Contents
- GETGet All Enumeration Contents
- POSTStop Enumeration
- POSTRescan Enumeration
- GETExport Enumeration
- PATCHUpdate enumeration config
- GETGet Enumeration Schedules
- POSTSet Enumeration Schedule
- DELDelete Enumeration Schedule
- GETGet enumeration stats
- GETGet all enumeration stats
- GETGet enumeration config
- GETGroup assets by filters
- GETGroup assets by filters for an enumeration
- GETExport Enumeration of user
- POSTUpload Asset
- PATCHUpdate Asset Content
- GETGet Asset Metadata
- GETGet Asset Content
- DELDelete Asset
- GET
- Templates
- Scans
- Configurations
- Results
- Logs
- Users
Assets
Get Enumeration
Get enumeration by enumerate_id
GET
/
v1
/
asset
/
enumerate
/
{enumerate_id}
curl --request GET \
--url https://api.projectdiscovery.io/v1/asset/enumerate/{enumerate_id} \
--header 'X-API-Key: <api-key>'
{
"message": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"failure_reason": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"enumeration_time": "<string>",
"enumeration_type": "<string>",
"enumeration_stats": {
"hosts": 123,
"http": 123,
"endpoints": 123,
"ports": 123,
"total_assets": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"root_domains": [
"<string>"
],
"enrichment_hosts_count": 123,
"is_rescan": true,
"rescan_count": 123,
"cloudlist_config_ids": [
"<string>"
],
"cloudlist_provider_name": "<string>",
"enumeration_time_elapsed": "<string>",
"total_assets": 123,
"new_assets": 123,
"domain_names": [
"<string>"
],
"schedule": {
"enumeration_id": "<string>",
"scan_frequency": "<string>",
"schedule_last_run": "<string>",
"schedule_next_run": "<string>",
"start_time": "<string>",
"hourly_frequency": 123,
"custom_weekdays": [
3
]
}
}
}
Authorizations
Headers
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Path Parameters
Response
200
application/json
Example response
Array of integer denoting the weekdays on which the scan is supposed to run. 0-6 denoting Sunday-Saturday.
Was this page helpful?
curl --request GET \
--url https://api.projectdiscovery.io/v1/asset/enumerate/{enumerate_id} \
--header 'X-API-Key: <api-key>'
{
"message": "<string>",
"data": {
"id": "<string>",
"name": "<string>",
"status": "<string>",
"failure_reason": "<string>",
"completed_at": "2023-11-07T05:31:56Z",
"enumeration_time": "<string>",
"enumeration_type": "<string>",
"enumeration_stats": {
"hosts": 123,
"http": 123,
"endpoints": 123,
"ports": 123,
"total_assets": 123
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"root_domains": [
"<string>"
],
"enrichment_hosts_count": 123,
"is_rescan": true,
"rescan_count": 123,
"cloudlist_config_ids": [
"<string>"
],
"cloudlist_provider_name": "<string>",
"enumeration_time_elapsed": "<string>",
"total_assets": 123,
"new_assets": 123,
"domain_names": [
"<string>"
],
"schedule": {
"enumeration_id": "<string>",
"scan_frequency": "<string>",
"schedule_last_run": "<string>",
"schedule_next_run": "<string>",
"start_time": "<string>",
"hourly_frequency": 123,
"custom_weekdays": [
3
]
}
}
}