Skip to content

"explore api" command

Casey Reid edited this page Apr 25, 2025 · 1 revision

Purpose

In many cases, it is useful to see the data behind an api endpoint either to plan for automation and development or for troubleshooting an issue. Using the 'api' command allows you to send a 'GET' request to Tenable.io and return json data using the pprint.

Command Options

Explore the Tenable.io API - navi explore api

Enter in a API endpoint and get a pretty print json output. Try some of the below endpoints:

  • /scans
  • /scanners
  • /users

Options

* -raw              Return raw Json
* --limit INTEGER   Change API Request Limit
* --offset INTEGER  Change API Request Offset

#Examples

navi explore api /scans 

navi explore api /scanners

navi explore api /users

navi explore api /workbenches/assets

navi explore api /scans -raw

Recent Changes

The command 'navi api' changed to 'navi exolore api' in navi 8.2.1+ - 4/24/2025

Clone this wiki locally