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

Rapid7 Engines API

An Engine encapsulates the state and high-level attributes of the components which may be installed and running on a specific On-Premise host. The status of an Engine is not mutable via the API; it reflects the platform state of the components installed on the host, and can change at any given time. These states are: INITIALIZING : Engine is starting IDLE : Engine is waiting for scans LICENSING : Engine is checking a License has been assigned SCANNING : Engine is currently scanning UPGRADING : Engine is in the process of upgrading FAILED : Engine has failed in a process, with the reason shown in failure reason OFFLINE : Engine is not available TERMINATING : Engine is in the process of being deleted It should be noted that deleting an Engine resource is an asynchronous process, and actioning the request to delete the Engine occurs at the earliest convenience and is state-dependant. Creating a new Engine resource implicitly creates a Credential sub-resource, which is an alpha-numeric API key required for the successful installation and operation of an Engine in an On-Premise environment. An Engine API key can be retrieved by executing a get-engine-credential request, as documented below. CAUTION: regenerating an API key should only be performed when there is suspicion that the security of the API key has been compromised; regenerating will prevent any communication between any client using the revoked API key and the InsightAppSec Platform. Any manual Engine maintenance exercise which involves running the InsightAppSec Engine installer, should result in the creation of a NEW Engine; an API key should never be used across installations to prevent data loss/pollution and runtime issues. Please refer to help documentation which describes the process required to update the API for an existing installation.

Rapid7 Engines API is one of 50 APIs that Rapid7 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 9 operations across 4 paths, and defines 12 schemas. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against a single base URL, https://[region].api.insight.rapid7.com/ias/v1.

9 operations 4 paths 12 schemas 2 DELETE3 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Base URL
https://us.api.insight.rapid7.com/vm/v4
Resource Areas
1

Paths & Operations 9

Across 4 paths, the API surfaces 9 operations — 2 DELETE, 3 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Engines 9

An Engine encapsulates the state and high-level attributes of the components which may be installed and running on a specific On-Premise host. The status of an Engine is not mutab…

GET
/engines
Get Engines
get-engines 1 param → 415200400401403404500
POST
/engines
Create Engine
create-engine body → 415201400401403404500409
GET
/engines/{engine-id}
Get Engine
get-engine 1 param → 415200400401403404500
PUT
/engines/{engine-id}
Update Engine
update-engine 1 param body → 415200400401403404500409
DELETE
/engines/{engine-id}
Delete Engine
delete-engine 1 param → 415204400401403404500409
GET
/engines/{engine-id}/credential
Get Engine Credential
get-engine-credential 1 param → 415200400401403404500
PUT
/engines/{engine-id}/credential
Regenerate Engine Credential
regenerate-engine-credential 1 param → 415200400401403404500409
DELETE
/engines/{engine-id}/credential
Delete Engine Credential
delete-engine-credential 1 param → 415204400401403404500409
POST
/engines/{engine-id}/upgrade
Upgrade Engine
upgrade-engine 1 param → 415202400401403404500409

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are EntityModelEngine (9 properties), Engine (8 properties), engine_group (7 properties), LuxorPageable (7 properties). Each schema is shown below with its type and property counts.

Engine
object
8 properties 2 required
ValidationErrors
object
4 properties
Sort
object
3 properties
Link
object
4 properties
PageEngine
object
3 properties
PageMetadata
object
6 properties
LuxorPageable
object
7 properties
ValidationError
object
3 properties
EntityModelEngine
object
9 properties 2 required
engine_group
object
The Engine Group the Engine is assigned to
7 properties 2 required
CredentialResource
object
1 property 1 required
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rapid7-engines-api-openapi.yml Raw ↑

Other APIs Rapid7 publishes across the network.

Rapid7 InsightVM Cloud API
Rapid7 Insight Platform API
Rapid7 InsightIDR API
Rapid7 Accounts API
Rapid7 Administration API
Rapid7 Apps API
Rapid7 Asset API
Rapid7 Asset Discovery API
Rapid7 Asset Group API
Rapid7 Assets API
Rapid7 Attachments API
Rapid7 Attack Templates API