Get host details

Returns details for the specified host.

Note: This endpoint can only return scan results that are younger than 35 days. For scan results that are older than 35 days, use the POST /scans/{scan_id}/export endpoint instead.

Requires the Scan Operator [24] user role and Can View [16] scan permissions. See Roles and Permissions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The identifier for the scan. This identifier can be the either the schedule_uuid or the numeric id attribute for the scan. We recommend that you use schedule_uuid.

int32
required

The ID of the host to retrieve.

Query Params
int32

The unique identifier of the historical data that you want Tenable Vulnerability Management to return. This identifier corresponds to the history.id attribute of the response message from the GET /scans/{scan_id}/history endpoint.

uuid

The UUID of the historical data that you want Tenable Vulnerability Management to return. This identifier corresponds to the history.scan_uuid attribute of the response message from the GET /scans/{scan_id}/history endpoint.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

404

Returned under the following conditions:

  • Tenable Vulnerability Management cannot find the specified scan.
  • The requested scan results are older than 35 days. Use the POST /scans/{scan_id}/export endpoint instead.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html