Search devices for multiple apps
/api/v1/org/{orgId}/perch/status Search Devices
Searches for devices matching the provided application IDs within the specified organization.
This endpoint accepts a SearchDevicesRequest with a queryAppIds filter to retrieve the status of cloud-based security scan infrastructure for multiple applications in a single request. All requested application IDs must belong to the specified organization.
Request
Provide a SearchDevicesRequest body with a queryAppIds filter in the page.filters field. If no queryAppIds filter is provided, the endpoint returns an empty response.
Response
| Parameter | Default | Description |
|---|---|---|
| perchDevices | [] | |
| totalCount | 0 | |
| pageInfo | {} |
Errors
- 403 Forbidden: One or more application IDs do not belong to the specified organization.
- 404 Not Found: Organization not found or user doesn't have access.
Requires
read:devicepermission.
Path parameters
orgIdstring · uuidrequiredUUID identifier for this StackHawk Organization.
Body
Hide child attributesShow child attributes
Generic filters that each type can define for its needs (isConnected=true, hasMapping=false, etc)
Hide child attributesShow child attributes
Hide child attributesShow child attributes
The values of a given filter to filter on.
The name of the filter to apply.
A single value to filter on.
The page number to retrieve - 0 based
The query string to filter the results.
the page size to retrieve.
Hide child attributesShow child attributes
The direction to sort the results.
3 available options
ASCDESCUNSORTEDGeneric here, each type should define its own Enums + Converters
Response
OK
Hide child attributesShow child attributes
Whether or not there is a next page.
Whether or not there is a previous page.
Hide child attributesShow child attributes
Generic filters that each type can define for its needs (isConnected=true, hasMapping=false, etc)
Hide child attributesShow child attributes
Hide child attributesShow child attributes
The values of a given filter to filter on.
The name of the filter to apply.
A single value to filter on.
The page number to retrieve - 0 based
The query string to filter the results.
the page size to retrieve.
Hide child attributesShow child attributes
The direction to sort the results.
3 available options
ASCDESCUNSORTEDGeneric here, each type should define its own Enums + Converters
Hide child attributesShow child attributes
Generic filters that each type can define for its needs (isConnected=true, hasMapping=false, etc)
Hide child attributesShow child attributes
Hide child attributesShow child attributes
The values of a given filter to filter on.
The name of the filter to apply.
A single value to filter on.
The page number to retrieve - 0 based
The query string to filter the results.
the page size to retrieve.
Hide child attributesShow child attributes
The direction to sort the results.
3 available options
ASCDESCUNSORTEDGeneric here, each type should define its own Enums + Converters
The total number of results.
Hide child attributesShow child attributes
Hide child attributesShow child attributes
12 available options
NOOPSCAN_STARTSCAN_STOPRESCAN_STARTSCREENR_START_BROWSERSCREENR_START_MCPSCREENR_START_SCREENRSCREENR_START_AUTH_ANALYSISSCREENR_EXPORT_SESSIONSCREENR_STOPCONFIG_VALIDATEAUTH_VALIDATEHide child attributesShow child attributes
4 available options
UNKNOWNAUTHENTICATIONPROVISIONINGDEVICEHide child attributesShow child attributes
Hide child attributesShow child attributes
5 available options
HAWKSCANSCREENRPROFILECONFIG_VALIDATIONSCANHide child attributesShow child attributes
Whether or not there is a next page.
Whether or not there is a previous page.
Hide child attributesShow child attributes
Generic filters that each type can define for its needs (isConnected=true, hasMapping=false, etc)
Hide child attributesShow child attributes
Hide child attributesShow child attributes
The values of a given filter to filter on.
The name of the filter to apply.
A single value to filter on.
The page number to retrieve - 0 based
The query string to filter the results.
the page size to retrieve.
Hide child attributesShow child attributes
The direction to sort the results.
3 available options
ASCDESCUNSORTEDGeneric here, each type should define its own Enums + Converters
Hide child attributesShow child attributes
Generic filters that each type can define for its needs (isConnected=true, hasMapping=false, etc)
Hide child attributesShow child attributes
Hide child attributesShow child attributes
The values of a given filter to filter on.
The name of the filter to apply.
A single value to filter on.
The page number to retrieve - 0 based
The query string to filter the results.
the page size to retrieve.
Hide child attributesShow child attributes
The direction to sort the results.
3 available options
ASCDESCUNSORTEDGeneric here, each type should define its own Enums + Converters
The total number of results.
Hide child attributesShow child attributes
Hide child attributesShow child attributes
12 available options
NOOPSCAN_STARTSCAN_STOPRESCAN_STARTSCREENR_START_BROWSERSCREENR_START_MCPSCREENR_START_SCREENRSCREENR_START_AUTH_ANALYSISSCREENR_EXPORT_SESSIONSCREENR_STOPCONFIG_VALIDATEAUTH_VALIDATEHide child attributesShow child attributes
4 available options
UNKNOWNAUTHENTICATIONPROVISIONINGDEVICEHide child attributesShow child attributes
Hide child attributesShow child attributes
5 available options
HAWKSCANSCREENRPROFILECONFIG_VALIDATIONSCANBad Request
Unauthorized