Elastio Data API
Coverage and usage views over your assets and hunt results.
Coverage and usage views over your assets and hunt results.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/elastio:elastio-data-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Elastio Data API
description: 'The Elastio API gives you access to the Elastio platform from code. Hunt looks for ransomware, malware, and corrupted files in live, replicated, and backup data. Pursuit investigates copies of your systems for evidence of compromise. The API returns what both find, the incidents they raise, and the evidence that proves which recovery point is clean.
## Base URL
Every request goes to your tenant:
```
https://{tenant}.app.elastio.com
```
`{tenant}` is the subdomain you use to sign in to the Elastio console.
## Authentication
Send a personal access token (PAT) in the `Authorization` header:
```
Authorization: Bearer
```
Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`. Tokens can be scoped to the categories `inventory`, `security`, `protection`, `reporting`, `integrations` and `admin`, each with `read` or `write` access. See the authentication guide for details.
## Trying requests
Select **Test Request** on any operation to send it from your browser. Enter your tenant in the server field and your token under **Authentication**. Requests run against your live tenant, so write operations change real data.'
version: 1.0.0
contact:
name: Elastio Support
email: support@elastio.com
url: https://support.elastio.com
license:
name: Copyright © Elastio Software, Inc. All rights reserved.
url: https://elastio.com
servers:
- url: https://{tenant}.app.elastio.com
description: Your Elastio tenant
variables:
tenant:
default: your-tenant
description: The subdomain of your Elastio console URL
security:
- authorization: []
tags:
- name: Data
description: Coverage and usage views over your assets and hunt results.
paths:
/gateway/api/v1/data-scanned-30d:
get:
operationId: get_data_scanned_30d
summary: Get data covered in the last 30 days
tags:
- Data
description: Get data scanned in last 30 days
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
bytesScanned:
type: number
cached:
type: boolean
description: Indicates whether the data was served from cache (true) or fetched fresh (false)
example: true
expiresInMs:
type:
- number
- 'null'
description: If cached is true, indicates the time in milliseconds until the cache expires. Undefined if not cached.
example: 240000
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/gateway/api/v1/data-scanned-by-date-range:
get:
operationId: get_data_scanned_by_date_range
summary: Get data covered for a date range
tags:
- Data
description: Get data scanned for a specific date range. The end date must be after the start date.
parameters:
- schema:
type: string
format: date
default: '2023-01-01'
in: query
name: startDate
required: true
description: Start date in ISO format (YYYY-MM-DD). Must be before end date.
- schema:
type: string
format: date
default: '2023-01-31'
in: query
name: endDate
required: true
description: End date in ISO format (YYYY-MM-DD). Must be after start date.
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
bytesScanned:
type: number
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/gateway/api/v1/files-scanned:
get:
operationId: get_files_scanned
summary: Get files covered
tags:
- Data
description: Get infected and clean files count
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
infectedFiles:
type: number
cleanFiles:
type: number
cached:
type: boolean
description: Indicates whether the data was served from cache (true) or fetched fresh (false)
example: true
expiresInMs:
type:
- number
- 'null'
description: If cached is true, indicates the time in milliseconds until the cache expires. Undefined if not cached.
example: 240000
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/gateway/api/v1/assets-scanned:
get:
operationId: get_assets_scanned
summary: Get asset coverage
tags:
- Data
description: Get scan coverage by asset type
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ec2:
type: object
properties:
total:
type: number
covered:
type: number
ebs:
type: object
properties:
total:
type: number
covered:
type: number
s3:
type: object
properties:
total:
type: number
covered:
type: number
efs:
type: object
properties:
total:
type: number
covered:
type: number
fsxOntapVolumes:
type: object
properties:
total:
type: number
covered:
type: number
ovaServer:
type: object
properties:
total:
type: number
covered:
type: number
azureVm:
type: object
properties:
total:
type: number
covered:
type: number
azureDisk:
type: object
properties:
total:
type: number
covered:
type: number
azureBlob:
type: object
properties:
total:
type: number
covered:
type: number
cached:
type: boolean
description: Indicates whether the data was served from cache (true) or fetched fresh (false)
example: true
expiresInMs:
type:
- number
- 'null'
description: If cached is true, indicates the time in milliseconds until the cache expires. Undefined if not cached.
example: 240000
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/gateway/api/v1/scan-insights:
get:
operationId: get_scan_insights
summary: Get coverage summary
tags:
- Data
description: 'Returns a coverage summary: assets, data, and files covered by hunts, and cloud coverage.'
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
status:
type: number
example: 200
message:
type: string
example: Scan insights fetched successfully
data:
type: object
properties:
assets_scanned:
type: number
example: 120
description: Total number of assets that have been scanned
data_scanned_bytes:
type: number
example: 9876543210
description: Total amount of data scanned in bytes
files_scanned:
type: number
example: 456789
description: Total number of files that have been scanned
cloud_coverage:
type: number
example: 3
description: Number of platforms a tenant has coverage for. For example, if a tenant has assets on AWS, Azure, on-prem, and IBM, the value will be 4.
required:
- assets_scanned
- data_scanned_bytes
- files_scanned
- cloud_coverage
cached:
type: boolean
description: Indicates whether the data was served from cache (true) or fetched fresh (false)
example: true
expiresInMs:
type:
- number
- 'null'
description: If cached is true, indicates the time in milliseconds until the cache expires. Undefined if not cached.
example: 240000
required:
- status
- message
- data
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/gateway/api/v1/billing:
get:
operationId: get_billing
summary: Get rolling 12 months billing metrics
tags:
- Data
description: Get rolling 12 months billing metrics including assets, non-S3 scanned capacity, and S3 usage (scanned vs protected).
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: array
items:
type: object
properties:
month:
type: string
description: Month in YYYY-MM format
total_assets:
type: string
description: Number of assets
scanned_capacity:
type: string
description: Non-S3 storage high-water mark in TiB
s3_scanned:
type: string
description: S3 storage in TiB from scan fallback (buckets without inventory size)
s3_protected:
type: string
description: S3 storage in TiB, from the inventoried bucket size
total_s3:
type: string
description: Total S3 storage in TiB (s3_scanned + s3_protected)
scanned_files:
type: string
description: 'Deprecated: alias of total_s3. Use total_s3 instead.'
deprecated: true
total:
type: string
description: Total storage in TiB (scanned_capacity + total_s3)
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/gateway/api/v1/billing-ytd:
get:
operationId: get_billing_ytd
summary: Get year-to-date billing metrics
tags:
- Data
description: Get year-to-date billing metrics including assets, storage scanned, and S3 usage.
security:
- authorization: []
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: array
items:
type: object
properties:
month:
type: string
description: Month in YYYY-MM format
total_assets:
type: string
description: Number of assets
scanned_capacity:
type: string
description: Non-S3 storage high-water mark in TiB
s3_scanned:
type: string
description: S3 storage in TiB from scan fallback (buckets without inventory size)
s3_protected:
type: string
description: S3 storage in TiB, from the inventoried bucket size
total_s3:
type: string
description: Total S3 storage in TiB (s3_scanned + s3_protected)
scanned_files:
type: string
description: 'Deprecated: alias of total_s3. Use total_s3 instead.'
deprecated: true
total:
type: string
description: Total storage in TiB (scanned_capacity + total_s3)
'400':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
4XX:
description: Client error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
5XX:
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
ErrorResponse:
type: object
description: The error envelope returned by the Elastio API gateway.
properties:
status:
type: integer
minimum: 400
maximum: 599
example: 404
error:
type: string
example: Not Found
message:
type: string
example: Asset 6c1f... was not found
cached:
type: boolean
example: false
required:
- status
- error
- message
securitySchemes:
authorization:
type: http
scheme: bearer
description: 'A personal access token (PAT) sent as `Authorization: Bearer <token>`. Tenant admins issue tokens from the Elastio console or with `POST /gateway/shared-services/v1/personal-access-tokens`.'
bearerAuth:
type: http
scheme: bearer
description: Integration channel token issued by Elastio for inbound partner events (Wiz).
externalDocs:
description: Elastio Developer Portal
url: https://developer.elastio.com
x-tagGroups:
- name: Platform
tags:
- System
- Tenant Settings
- Licenses
- Plan
- Billing
- Early Access
- AI Provider Credentials
- name: Identity & Access
tags:
- Users
- User Groups
- Roles
- Account Groups
- Personal Access Tokens
- Audit Logs
- name: Inventory & Deployments
tags:
- Deployments
- Assets
- Search
- Inventory
- Asset Accounts
- Tags
- Azure Subscriptions
- GCP Projects
- IBM
- OVA Accounts
- Vault
- Database Monitoring
- Data
- name: Backups & Recovery Points
tags:
- Backup
- name: Hunts & Investigations
tags:
- Scans
- Scan Jobs
- Hunt Rules
- Custom Hunts
- Pursuit
- Pursuit Scans
- Threats
- Ransomware
- Data Classification
- name: Findings & Response
tags:
- Incidents
- Findings
- Violations
- Issues
- Posture
- Compliance
- DRS
- name: Policies & Jobs
tags:
- Policies
- Policy Schedules
- Policy Membership
- System Policies
- System Events
- Jobs
- name: Recovery & Evidence
tags:
- Resilience Program
- Recovery Verdict
- Recovery Analytics
- Evidence
- Security Metrics
- name: Reporting
tags:
- Reports
- Report Schedules
- EQL
- name: Alerts & Integrations
tags:
- Alerts
- Webhooks
- Slack
- Splunk
- VirusTotal
- Wiz
- GuardDuty