Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tenable Agent Tasks API

The Agent Tasks API from Tenable — 10 operation(s) for agent tasks.

Tenable Agent Tasks API is one of 107 APIs that Tenable publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Agent Tasks. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 10 operations across 10 paths, and defines 5 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, https://www.tenable.com/downloads/api/v2.

10 operations 10 paths 5 schemas 2 GET8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://cloud.tenable.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Tenable Agent Tasks API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Bearer). By default, every request must be authenticated.

  • Bearer — Example: Bearer {{token}}

Paths & Operations 10

Across 10 paths, the API surfaces 10 operations — 2 GET, 8 POST. Each is listed below with its method, path, parameters, and response codes.

Agent Tasks 10
GET
/scanners/null/agents/_bulk/{task_uuid}
Get agent task status
bulk-task-agent-status 1 param → 200401403429500
GET
/scanners/null/agent-groups/{group_id}/agents/_bulk/{task_uuid}
Check agent group operation status
bulk-task-agent-group-status 2 params → 200400401403429500
POST
/scanners/null/agent-groups/{group_id}/agents/_bulk/add
Add agents to a group
bulk-add-agents 1 param body → 200400401403429500
POST
/scanners/null/agent-groups/{group_id}/agents/_bulk/remove
Remove agents from group
bulk-remove-agents 1 param body → 200400401403429500
POST
/scanners/null/agents/_bulk/addToNetwork
Add agents to a network
io-agent-bulk-operations-add-to-network body → 200400401403429500
POST
/scanners/null/agents/_bulk/removeFromNetwork
Remove agents from network
io-agent-bulk-operations-remove-from-network body → 200400401403429500
POST
/scanners/null/agents/_bulk/assignToProfile
Assign or remove profile
agent-bulk-operations-profile body → 200400401403429500
POST
/scanners/null/agents/_bulk/directive
Send instructions to agents
io-agent-bulk-operations-directive body → 200401403404429500
POST
/scanners/null/agent-groups/{group_id}/agents/_bulk/directive
Send instructions to agents group
io-agent-bulk-operations-group-directive 1 param body → 200401403404429500
POST
/scanners/null/agents/_bulk/unlink
Unlink agents
bulk-unlink-agents body → 200400401403429500

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are agent-bulk-operations_task (10 properties), agent-bulk-operations_bulk-filter-criteria (5 properties), agent-bulk-operations_bulk-filter-with-directive (4 properties), agent-bulk-operations_ErrorResponse (3 properties). Each schema is shown below with its type and property counts.

agent-bulk-operations_bulk-filter
object
3 properties
agent-bulk-operations_ErrorResponse
object
3 properties
agent-bulk-operations_bulk-filter-with-directive
object
4 properties
agent-bulk-operations_bulk-filter-criteria
object
Specifies the criteria you wish to filter agents on. The criteria is used to narrow down the list of agents to perform the specified action on.
5 properties
agent-bulk-operations_task
object
10 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tenable-agent-tasks-api-openapi.yml Raw ↑

Other APIs Tenable publishes across the network.

Tenable About API
Tenable Access Control (API) API
Tenable Access Control (Groups) API
Tenable Access Control (Permissions) API
Tenable Access Control (Roles) API
Tenable Access Control (Users) API
Tenable Access Groups v1 API
Tenable Access Groups v2 API
Tenable Account Groups API
Tenable Accounts API
Tenable Activity Log API
Tenable AD object API