Elastio Security Metrics API

Security metrics and trend history.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /gateway/api/v1/security-metrics Get security metrics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elastio:elastio-security-metrics-api"
All apis
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.

Get an API 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 Specification

elastio-security-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elastio Security Metrics 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: Security Metrics
  description: Security metrics and trend history.
paths:
  /gateway/api/v1/trends-history:
    post:
      operationId: get_trends_history
      summary: Get trends history data
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - start_at
              - end_at
              - time_granularity
              - asset_ids
              properties:
                start_at:
                  type: object
                  properties:
                    seconds:
                      type: number
                    nanos:
                      type: number
                  required:
                  - seconds
                  - nanos
                end_at:
                  type: object
                  properties:
                    seconds:
                      type: number
                    nanos:
                      type: number
                  required:
                  - seconds
                  - nanos
                time_granularity:
                  type: number
                asset_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  entropy_trends_history:
                    type: array
                    items:
                      type: object
                      properties:
                        timestamp:
                          type: object
                          properties:
                            seconds:
                              type: string
                            nanos:
                              type: number
                          required:
                          - seconds
                          - nanos
                        anomaly_finding_count:
                          type: string
                      required:
                      - timestamp
                      - anomaly_finding_count
                  threats_history:
                    type: array
                    items:
                      type: object
                      properties:
                        timestamp:
                          type: object
                          properties:
                            seconds:
                              type: string
                            nanos:
                              type: number
                          required:
                          - seconds
                          - nanos
                        threats_finding_count:
                          type: string
                      required:
                      - timestamp
                      - threats_finding_count
                  file_system_threats_history:
                    type: array
                    items:
                      type: object
                      properties:
                        timestamp:
                          type: object
                          properties:
                            seconds:
                              type: string
                            nanos:
                              type: number
                          required:
                          - seconds
                          - nanos
                        threats_finding_count:
                          type: string
                      required:
                      - timestamp
                      - threats_finding_count
        '400':
          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'
      tags:
      - Security Metrics
  /gateway/api/v1/security-metrics:
    get:
      operationId: get_security_metrics
      summary: Get security metrics
      tags:
      - Security Metrics
      description: Provides detailed security metrics across multiple dimensions with dynamic RPO support
      parameters:
      - schema:
          type: number
        in: query
        name: rpo_hours
        required: false
        description: Recovery Point Objective in hours for dynamic calculation
      - schema:
          type: string
        in: query
        name: platform
        required: false
        description: 'Comma-separated list of platforms to filter by. Options: aws, azure, on_prem, ibm'
      - schema:
          type: boolean
        in: query
        name: exclude_at_risk
        required: false
        description: If true, excludes at-risk assets from the storage health and recovery assurance security metrics calculations. Defaults to false.
      security:
      - authorization: []
      responses:
        '200':
          description: Security metrics fetched successfully
          content:
            application/json:
              schema:
                description: Security metrics fetched successfully
                type: object
                properties:
                  status:
                    type: number
                    example: 200
                  message:
                    type: string
                    example: Security metrics fetched successfully
                  data:
                    type: object
                    properties:
                      ransomware_safety:
                        type: object
                        properties:
                          clean_assets:
                            type: number
                            example: 13
                          infected_assets:
                            type: number
                            example: 3
                          at_risk_assets:
                            type: number
                            example: 2
                      encryption_safety:
                        type: object
                        properties:
                          encrypted_assets:
                            type: number
                            example: 3
                          unencrypted_assets:
                            type: number
                            example: 12
                          unscanned_assets:
                            type: number
                            example: 5
                      storage_health:
                        type: object
                        properties:
                          unhealthy_storage:
                            type: number
                            example: 1
                          total_storage:
                            type: number
                            example: 6
                      recovery_assurance:
                        type: object
                        properties:
                          assets_under_rpo:
                            type: number
                            example: 10
                          assets_outside_rpo:
                            type: number
                            example: 6
                      asset_coverage:
                        type: object
                        properties:
                          covered_assets:
                            type: number
                            example: 7
                          uncovered_assets:
                            type: number
                            example: 2
                          platforms_covered:
                            type: array
                            description: Distinct platforms that have at least one covered asset
                            items:
                              type: string
                              enum:
                              - aws
                              - azure
                              - on_prem
                              - ibm
                            example:
                            - aws
                            - azure
        '400':
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server 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