Inventory

The Inventory API allows you to search and retrieve cloud assets from your Firefly inventory.

Search Inventory

Retrieve inventory hits

post
Authorizations
AuthorizationstringRequired

JWT authentication token

Query parameters
pageintegerOptionalDefault: 0
pageSizeinteger · min: 1OptionalDefault: 25
includeAssetConfigurationbooleanOptional

Include asset configuration

Default: false
Body
sizeintegerOptional

Number of results to return per page (max 10000)

Default: 50
sourcestring[]Optional

List of fields to include in the response

Responses
chevron-right
200

Successful response

application/json
post
/api/inventory

Get Asset

Get an asset by ID

get
Authorizations
AuthorizationstringRequired

JWT authentication token

Path parameters
assetIdstringRequired
Responses
chevron-right
200

Successful response

application/json
get
/api/inventory/{assetId}

Get Providers

Get all supported providers

get

Returns a list of all supported cloud and SaaS providers

Authorizations
AuthorizationstringRequired

JWT authentication token

Responses
chevron-right
200

Successful response

application/json
Responsestring[]Example: ["aws","gcp","azurerm","oci","k8s","akamai","newrelic","datadog"]
get
/api/inventory/providers

Get IaC Coverage

Get IaC coverage statistics

post

Returns IaC coverage statistics for the account, optionally filtered by integrations

Authorizations
AuthorizationstringRequired

JWT authentication token

Body
integrationsstring[]Optional

List of integration IDs to filter by

Responses
chevron-right
200

Successful response

application/json
post
/api/inventory/iac-coverage

Last updated

Was this helpful?