Elastio Evidence API
Per-asset evidence envelope and fleet-wide evidence ledger
Operations 2
GET
/gateway/shared-services/v1/assets/{asset_id}/evidence
Get the aggregated evidence envelope for one asset
#
Per-asset evidence envelope and fleet-wide evidence ledger
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-evidence-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 Evidence 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: Evidence
description: Per-asset evidence envelope and fleet-wide evidence ledger
paths:
/gateway/shared-services/v1/assets/{asset_id}/evidence:
get:
description: 200 with `degraded` populated rather than 5xx when a single upstream section fails, so one flaky read never costs the reader the whole document. 404 means the tenant has no such live asset, distinct from "the asset has no evidence".
operationId: getAssetEvidence
parameters:
- in: path
name: asset_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AssetEvidence'
description: Asset evidence envelope
'400':
$ref: '#/components/responses/EvidenceBadRequestError'
'404':
$ref: '#/components/responses/EvidenceNotFoundError'
'500':
$ref: '#/components/responses/EvidenceInternalError'
summary: Get the aggregated evidence envelope for one asset
tags:
- Evidence
/gateway/shared-services/v1/evidence/ledger:
get:
description: '`coverage` and `population` describe the whole scope, not the page; `records` is the page. Inconclusive and errored analyses are never folded into ran/expected.'
operationId: getEvidenceLedger
parameters:
- in: query
name: offset
schema:
default: 0
type: integer
- in: query
name: page_size
schema:
default: 500
type: integer
- description: Opaque paging cursor; today carries the record offset.
in: query
name: next_page_token
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/LedgerResponse'
description: One page of the evidence ledger
'500':
$ref: '#/components/responses/EvidenceInternalError'
summary: Get one page of the fleet-wide evidence ledger
tags:
- Evidence
components:
schemas:
ViolationItem:
properties:
asset_id:
description: 'The asset the violation is on: this asset, or one of its live attached EBS volumes / Azure disks.
'
type: string
asset_kind:
type: string
asset_name:
type: string
code:
type: string
detected_at:
type: string
finding_id:
type: string
severity:
type: string
title:
description: 'The defect label from the violation definition (e.g. "Not backed up"); the code when the definition has no title.
'
type: string
required:
- code
- title
- severity
- detected_at
- finding_id
- asset_id
- asset_name
- asset_kind
type: object
AssetEvidence:
properties:
asset:
$ref: '#/components/schemas/AssetRef'
coverage:
description: Amendment A2 - the analysis matrix, clean runs included.
items:
$ref: '#/components/schemas/CoverageRecord'
type: array
degraded:
description: 'Section paths whose read FAILED, `recovery_verdict` included. Empty means every section resolved.
'
items:
type: string
type: array
determination:
$ref: '#/components/schemas/Determination'
recovery_posture:
$ref: '#/components/schemas/RecoveryPosture'
recovery_verdict:
allOf:
- $ref: '#/components/schemas/AssetRecoveryVerdict'
description: 'The recovery verdict shared-services serves for this asset, the same object `GET /shared-services/v1/recovery-verdict/assets` returns as `recovery`, including every applied exception with its waived requirement, approval id, author, approval time, expiry and reason. Null when the verdict is not served for the tenant or the asset has no evaluation; named in `degraded` when the read failed.
'
tested_backup:
$ref: '#/components/schemas/TestedBackup'
threats:
items:
$ref: '#/components/schemas/ThreatCategory'
type: array
violations:
$ref: '#/components/schemas/Violations'
required:
- asset
- determination
- threats
- violations
- recovery_posture
- recovery_verdict
- tested_backup
- coverage
- degraded
type: object
Freshness:
properties:
age_seconds:
format: int64
type:
- integer
- 'null'
db_version:
type:
- string
- 'null'
required:
- db_version
- age_seconds
type: object
Pagination:
properties:
next_page_token:
type: string
offset:
format: int64
type: integer
page_size:
format: int64
type: integer
total:
format: int64
type: integer
required:
- total
- page_size
- offset
- next_page_token
type: object
LedgerCoverage:
properties:
clean:
format: int64
type: integer
errored:
format: int64
type: integer
expected:
format: int64
type: integer
findings:
format: int64
type: integer
inconclusive:
format: int64
type: integer
not_run:
format: int64
type: integer
ran:
format: int64
type: integer
required:
- expected
- ran
- findings
- clean
- not_run
- inconclusive
- errored
type: object
RecoveryVerdict:
enum:
- proven
- unproven
type: string
Objectives:
properties:
backup_age_seconds:
format: int64
type:
- integer
- 'null'
rpo_target_seconds:
description: 'The R-RPO the served recovery verdict measures this asset against (`recovery_verdict.effective_target.r_rpo_seconds`; the relaxed value while an approved exception relaxes it). Null when the verdict is not served or an exception waives the R-RPO target.
'
format: int64
type:
- integer
- 'null'
required:
- backup_age_seconds
- rpo_target_seconds
type: object
ThreatCategory:
description: 'One open (asset, kind) row of GET /api/v2/assets/{asset_id}/threats: the asset and its live attached EBS volumes / Azure disks, each listed under its own id.
'
properties:
breakdown:
items:
$ref: '#/components/schemas/BreakdownEntry'
type: array
category:
enum:
- ransomware
- malware
- encryption
- filesystem_error
- pursuit
type: string
database_status:
allOf:
- $ref: '#/components/schemas/DatabaseStatus'
files_affected:
description: The count from the latest analysis.
format: int64
type: integer
finding_id:
description: The v2 finding id, threat:{asset_id}:{kind}.
type: string
first_detected:
description: The latest analysis that reported this finding.
type: string
severity:
type: string
total_size_bytes:
format: int64
type:
- integer
- 'null'
required:
- category
- severity
- first_detected
- files_affected
- total_size_bytes
- breakdown
- database_status
- finding_id
type: object
SeverityCounts:
properties:
critical:
format: int64
type: integer
high:
format: int64
type: integer
low:
format: int64
type: integer
medium:
format: int64
type: integer
required:
- critical
- high
- medium
- low
type: object
RecoveryEffectiveTarget:
properties:
r_rpo_seconds:
type: integer
required_copies:
items:
enum:
- immutable
- air_gapped
- cross_region
type: string
type: array
source:
enum:
- program_class_floor
- program_node
- policy
- default
type: string
required:
- r_rpo_seconds
- source
- required_copies
type: object
EvidenceErrorResponse:
properties:
code:
type: string
error:
type: string
required:
- error
- code
type: object
RecoveryUnprovenReason:
enum:
- no_recovery_point
- no_scanned_point
- no_clean_point
- r_rpo_exceeded
- missing_immutable_copy
- missing_air_gapped_copy
- missing_cross_region_copy
- immutable_copy_not_observable
- air_gapped_copy_not_observable
- cross_region_copy_not_observable
type: string
RecoveryException:
properties:
commitment_key:
enum:
- rrpo_target_seconds
- immutable_required
- airgap_required
- cross_region_required
type: string
expires_at:
format: date-time
type:
- string
- 'null'
override_id:
format: uuid
type: string
reason:
type: string
relaxed_to:
type:
- string
- 'null'
set_at:
format: date-time
type: string
set_by:
type: string
required:
- override_id
- commitment_key
- reason
- set_by
- set_at
type: object
BreakdownEntry:
properties:
count:
format: int64
type: integer
key:
type: string
label:
type: string
required:
- key
- label
- count
type: object
DatabaseStatus:
properties:
is_updated:
type: boolean
update_timestamp:
type:
- string
- 'null'
required:
- is_updated
- update_timestamp
type: object
Score:
properties:
scale:
type: string
value:
format: double
type: number
required:
- value
- scale
type: object
EfsAssociation:
properties:
covered:
type: boolean
source:
type: string
required:
- covered
- source
type: object
LedgerScope:
properties:
kind:
type: string
label:
type: string
params:
additionalProperties:
type: string
type: object
required:
- kind
- label
- params
type: object
RecoveryPosture:
properties:
coverage_sources:
items:
type: string
type:
- array
- 'null'
efs_backup_association:
allOf:
- $ref: '#/components/schemas/EfsAssociation'
last_clean_rp:
allOf:
- $ref: '#/components/schemas/LastCleanRP'
description: Null = no clean recovery point on record, unless named in degraded.
objectives:
$ref: '#/components/schemas/Objectives'
recovery_points:
description: The last 365 days, newest first, at most 200.
items:
$ref: '#/components/schemas/RecoveryPoint'
type: array
required:
- last_clean_rp
- recovery_points
- coverage_sources
- efs_backup_association
- objectives
type: object
AssetRef:
properties:
health:
description: 'Inventory-level rollup, the one the v2 assets read serves: an EC2 instance or Azure VM rolls up its scanned volumes / disks, any other asset is its own health row, and no row is at_risk. CONTEXT only, outranked by determination.
'
type: string
id:
type: string
kind:
type: string
name:
type: string
platform:
type: string
required:
- id
- name
- kind
- platform
- health
type: object
LedgerRecord:
properties:
asset:
$ref: '#/components/schemas/AssetRef'
at:
type:
- string
- 'null'
finding_id:
type:
- string
- 'null'
freshness:
allOf:
- $ref: '#/components/schemas/Freshness'
method:
type: string
note:
type:
- string
- 'null'
score:
allOf:
- $ref: '#/components/schemas/Score'
status:
enum:
- ran
- not_run
- inconclusive
- errored
type: string
subject:
$ref: '#/components/schemas/Subject'
verdict:
enum:
- clean
- finding
- remediated
- suspicious
- unknown
type: string
required:
- asset
- subject
- method
- status
- verdict
- score
- at
- freshness
- finding_id
- note
type: object
LedgerResponse:
properties:
coverage:
$ref: '#/components/schemas/LedgerCoverage'
degraded:
items:
type: string
type: array
pagination:
$ref: '#/components/schemas/Pagination'
population:
$ref: '#/components/schemas/LedgerPopulation'
records:
items:
$ref: '#/components/schemas/LedgerRecord'
type: array
scope:
$ref: '#/components/schemas/LedgerScope'
required:
- scope
- coverage
- population
- records
- degraded
- pagination
type: object
Subject:
properties:
id:
type: string
kind:
type: string
label:
type: string
required:
- kind
- id
- label
type: object
LastCleanRP:
properties:
backup_vendor:
description: Third-party BACKUP product, never the scan engine.
type:
- string
- 'null'
policy_names:
items:
type: string
type: array
timestamp:
type: string
required:
- timestamp
- policy_names
- backup_vendor
type: object
LedgerPopulation:
properties:
assets_attempted:
format: int64
type: integer
assets_expected:
format: int64
type: integer
assets_failed:
format: int64
type: integer
assets_retrieved:
format: int64
type: integer
cap:
format: int64
type: integer
cap_applied:
type: boolean
required:
- assets_expected
- assets_attempted
- assets_retrieved
- assets_failed
- cap_applied
- cap
type: object
RecoveryPoint:
properties:
id:
type: string
is_last_clean:
type: boolean
status:
type: string
when:
type: string
required:
- id
- when
- status
- is_last_clean
type: object
JobResult:
properties:
at:
type: string
result:
type: string
required:
- result
- at
type: object
Determination:
properties:
as_of:
description: Determining scan instant; null = never scanned.
type:
- string
- 'null'
elapsed_seconds:
format: int64
type:
- integer
- 'null'
state:
description: A scan we could not read is not_scanned, never clean.
enum:
- clean
- infected
- not_scanned
type: string
required:
- state
- as_of
- elapsed_seconds
type: object
Violations:
description: 'Open violations of the asset and its live attached EBS volumes / Azure disks, severity from the policy override where one applies.
'
properties:
by_severity:
$ref: '#/components/schemas/SeverityCounts'
earliest_detected:
type:
- string
- 'null'
items:
items:
$ref: '#/components/schemas/ViolationItem'
type: array
required:
- by_severity
- earliest_detected
- items
type: object
AssetRecoveryVerdict:
properties:
at_risk:
type: boolean
at_risk_reasons:
items:
$ref: '#/components/schemas/RecoveryAtRiskReason'
type: array
compromise_started_at:
format: date-time
type:
- string
- 'null'
effective_target:
$ref: '#/components/schemas/RecoveryEffectiveTarget'
evaluated_at:
format: date-time
type: string
exceptions:
description: The exceptions applied in this evaluation (active and unexpired).
items:
$ref: '#/components/schemas/RecoveryException'
type: array
newest_clean_point_at:
format: date-time
type:
- string
- 'null'
proven_with_exceptions:
type: boolean
qualifying_point:
description: The newest qualifying point; null when unproven.
properties:
copies:
items:
enum:
- immutable
- air_gapped
- cross_region
type: string
type: array
created_at:
format: date-time
type: string
recovery_point_id:
type: string
type:
- object
- 'null'
unproven_reasons:
items:
$ref: '#/components/schemas/RecoveryUnprovenReason'
type: array
verdict:
$ref: '#/components/schemas/RecoveryVerdict'
required:
- verdict
- unproven_reasons
- at_risk
- at_risk_reasons
- proven_with_exceptions
- exceptions
- effective_target
- evaluated_at
type: object
TestedBackup:
properties:
backup:
allOf:
- $ref: '#/components/schemas/JobResult'
inventory:
allOf:
- $ref: '#/components/schemas/JobResult'
iscan:
allOf:
- $ref: '#/components/schemas/JobResult'
restore:
allOf:
- $ref: '#/components/schemas/JobResult'
verification:
allOf:
- $ref: '#/components/schemas/JobResult'
required:
- iscan
- backup
- restore
- verification
- inventory
type: object
RecoveryAtRiskReason:
enum:
- no_enabled_policy
- plan_not_activated
- near_expiry
- policy_looser_than_target
type: string
CoverageRecord:
properties:
at:
type:
- string
- 'null'
finding_id:
type:
- string
- 'null'
freshness:
allOf:
- $ref: '#/components/schemas/Freshness'
method:
type: string
note:
description: Explains a non-ran status in the reader's language; rendered verbatim.
type:
- string
- 'null'
score:
allOf:
- $ref: '#/components/schemas/Score'
status:
description: inconclusive is excluded from the ran/expected denominator, not counted as a skip.
enum:
- ran
- not_run
- inconclusive
- errored
type: string
subject:
$ref: '#/components/schemas/Subject'
verdict:
description: Meaningful only when status is "ran".
enum:
- clean
- finding
- remediated
- suspicious
- unknown
type: string
required:
- subject
- method
- status
- verdict
- score
- at
- freshness
- finding_id
- note
type: object
responses:
EvidenceNotFoundError:
content:
application/json:
schema:
$ref: '#/components/schemas/EvidenceErrorResponse'
description: Tenant has no such live asset (a deleted or terminated asset answers 404 too)
EvidenceInternalError:
content:
application/json:
schema:
$ref: '#/components/schemas/EvidenceErrorResponse'
description: Internal server error
EvidenceBadRequestError:
content:
application/json:
schema:
$ref: '#/components/schemas/EvidenceErrorResponse'
description: asset_id is required
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