Elastio Licenses API
Tenant license keys
Tenant license keys
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-licenses-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 Licenses 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: Licenses
description: Tenant license keys
paths:
/gateway/shared-services/v3/licenses:
get:
description: 'Returns every live license on the tenant, oldest first, with `status` computed on the server clock (one clock and one "expiring soon" window for every consumer). A tenant with no licenses gets an empty array, not 404. Admin-only (`X-User-Role: admin`), like every action on this surface.'
operationId: listTenantLicenses
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TenantLicenseListResponse'
description: The tenant's licenses
'401':
$ref: '#/components/responses/LicensesUnauthorizedError'
'403':
$ref: '#/components/responses/LicensesForbiddenError'
'500':
$ref: '#/components/responses/LicensesInternalError'
summary: List this tenant's licenses
tags:
- Licenses
post:
description: 'Verifies the pasted key and stores it. Whitespace anywhere in the key (a line-wrapped paste) is ignored. Checks run in the reference verifier''s order: envelope, header, `kid` against this deployment''s key registry, PS256 signature over the literal `envelope.header.payload` bytes, payload schema version, product, expiry. A key that is already live on the tenant (same bytes) answers 409 rather than a duplicate row. Admin-only (`X-User-Role: admin`).'
operationId: addTenantLicense
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AddTenantLicenseBody'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/TenantLicense'
description: The stored license
'400':
$ref: '#/components/responses/LicensesBadRequestError'
'401':
$ref: '#/components/responses/LicensesUnauthorizedError'
'403':
$ref: '#/components/responses/LicensesForbiddenError'
'409':
$ref: '#/components/responses/LicensesConflictError'
'500':
$ref: '#/components/responses/LicensesInternalError'
summary: Add a license key to this tenant
tags:
- Licenses
/gateway/shared-services/v3/licenses/{id}:
delete:
description: 'Removes one license. The row is kept for the audit trail but leaves every read, and the same key can be added again afterwards. A second DELETE of the same id, an id on another tenant, or a malformed id all answer 404. Admin-only (`X-User-Role: admin`).'
operationId: removeTenantLicense
parameters:
- in: path
name: id
required: true
schema:
format: uuid
type: string
responses:
'204':
description: Removed
'401':
$ref: '#/components/responses/LicensesUnauthorizedError'
'403':
$ref: '#/components/responses/LicensesForbiddenError'
'404':
$ref: '#/components/responses/LicensesNotFoundError'
'500':
$ref: '#/components/responses/LicensesInternalError'
summary: Remove a license from this tenant
tags:
- Licenses
components:
responses:
LicensesForbiddenError:
content:
application/json:
schema:
$ref: '#/components/schemas/LicensesStandardError'
description: Caller is not a tenant admin
LicensesInternalError:
content:
application/json:
schema:
$ref: '#/components/schemas/LicensesStandardError'
description: Internal server error
LicensesConflictError:
content:
application/json:
schema:
$ref: '#/components/schemas/LicensesStandardError'
description: The same key is already live on this tenant (`LICENSE_ALREADY_ADDED`)
LicensesNotFoundError:
content:
application/json:
schema:
$ref: '#/components/schemas/LicensesStandardError'
description: No live license with that id on this tenant (`NOT_FOUND`)
LicensesUnauthorizedError:
content:
application/json:
schema:
$ref: '#/components/schemas/LicensesStandardError'
description: Missing Authority header, or the gateway request signature did not verify
LicensesBadRequestError:
content:
application/json:
schema:
$ref: '#/components/schemas/LicensesStandardError'
description: 'The key was refused. `code` is one of `INVALID_LICENSE_KEY` (not an Elastio license key: wrong segment count, bad envelope, bad JSON, unexpected header alg / typ, missing kid or product, or no `key` in the body), `UNSUPPORTED_LICENSE_VERSION` (a genuine license whose envelope version or payload `ver` is newer than this backend), `UNKNOWN_LICENSE_KEY_ID` (`kid` is not in this deployment''s key registry), `INVALID_LICENSE_SIGNATURE` (decodes, but the PS256 signature does not verify: altered or forged), `LICENSE_EXPIRED` (verifies, but `exp` is already in the past), or `BAD_REQUEST` (the body is not a JSON object).'
schemas:
TenantLicense:
description: 'One license on the tenant: the decoded, verified, non-secret claims. The raw key and the encrypted `secrets` blob are never served.'
properties:
added_at:
description: When this tenant added the license (not `iat`).
format: date-time
type: string
added_by:
description: Email (or id) of the user who added it; empty for a non-user caller.
type: string
entitlements:
additionalProperties: true
description: The key's `params` verbatim, opaque per product.
example:
max_capacity: 100TB
type: object
expires_at:
description: The key's signed `exp`; null means the license never expires.
format: date-time
type:
- string
- 'null'
id:
description: Server-assigned; not derived from the key material.
format: uuid
type: string
issued_at:
description: The key's signed `iat`, null when the key has none.
format: date-time
type:
- string
- 'null'
issued_to:
description: '`config.tenant` from the key, when present.'
type:
- string
- 'null'
product:
description: The raw product id from the key. Not user-visible by itself.
example: elastio-iscan
type: string
product_name:
description: Display name from the server's product catalog, null for a product this build does not know.
example: Elastio Hunt
type:
- string
- 'null'
status:
description: Server-computed on one clock. `expiring_soon` is within 30 days of `exp`; `perpetual` is a key with no `exp`.
enum:
- active
- expiring_soon
- expired
- perpetual
type: string
required:
- id
- product
- product_name
- issued_to
- issued_at
- expires_at
- status
- entitlements
- added_at
- added_by
type: object
AddTenantLicenseBody:
properties:
key:
description: The raw license key string, exactly as issued.
example: EFcaDgE.eyJhbGciOiJQUzI1NiIs...
type: string
required:
- key
type: object
TenantLicenseListResponse:
properties:
licenses:
items:
$ref: '#/components/schemas/TenantLicense'
type: array
required:
- licenses
type: object
LicensesStandardError:
properties:
code:
type: string
error:
type: string
required:
- error
- code
type: object
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