Elastio Report Schedules API
Scheduled report generation.
Scheduled report generation.
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-report-schedules-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 Report Schedules 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: Report Schedules
description: Scheduled report generation.
paths:
/gateway/reporting/v2/schedules:
get:
tags:
- Report Schedules
summary: List report schedules
description: 'Returns every live schedule for the tenant as `{items, total}`: no pagination; the per-tenant cap bounds the list. Ordered by
`created_at` descending, `id` descending as the tiebreak.'
operationId: listSchedules1
responses:
'200':
description: The tenant's live schedules.
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleListResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalError1'
post:
tags:
- Report Schedules
summary: Create a report schedule
description: 'Creates a scheduled report. Admin only. `name` and `template` are
required; every omitted optional defaults (`period: last_7_days`,
`cadence: daily`, `format: csv`, `filters: {}`, `delivery: {}`,
`enabled: true`, and `cadence_config` contextually per the
effective cadence; `{}` for `hourly`, `{"time_utc":"08:00"}` for
`daily`; `weekly` and `monthly` have no sane default and reject an
omitted config with `400`).
`template` passes the same gate as `POST /reporting/v2/reports`
and `filters` validates against the template''s filter spec. The
server owns `id`, `created_at`, `created_by`, `last_run_at`,
`next_run_at`, and `sync_status`; sending them (or any unknown
key, or an explicit `null` for an optional key) is a `400`.'
operationId: createSchedule1
parameters:
- $ref: '#/components/parameters/XUserRoleAdmin'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScheduleRequest1'
responses:
'201':
description: Schedule created.
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleWire'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'422':
$ref: '#/components/responses/ScheduleCapExceeded'
'500':
$ref: '#/components/responses/InternalError1'
/gateway/reporting/v2/schedules/{id}:
get:
tags:
- Report Schedules
summary: Get a report schedule
operationId: getSchedule1
parameters:
- $ref: '#/components/parameters/ScheduleId'
responses:
'200':
description: The schedule.
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleWire'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/ScheduleNotFound'
'500':
$ref: '#/components/responses/InternalError1'
patch:
tags:
- Report Schedules
summary: Update a report schedule
description: 'Partial merge over the create-request keys; the merged document is
revalidated through the full create path. A PATCH that changes
`cadence` and omits `cadence_config` receives the new cadence''s
contextual default (`400` for `weekly`/`monthly`, same as create).
Any mutation resets `sync_status` to `pending`. Admin only.'
operationId: updateSchedule1
parameters:
- $ref: '#/components/parameters/ScheduleId'
- $ref: '#/components/parameters/XUserRoleAdmin'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateScheduleRequest1'
responses:
'200':
description: The updated schedule.
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleWire'
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/ScheduleNotFound'
'500':
$ref: '#/components/responses/InternalError1'
delete:
tags:
- Report Schedules
summary: Delete a report schedule
description: 'Deletes the schedule and returns `204` immediately; the id
vanishes from list, GET, and PATCH at once. Admin only.'
operationId: deleteSchedule1
parameters:
- $ref: '#/components/parameters/ScheduleId'
- $ref: '#/components/parameters/XUserRoleAdmin'
responses:
'204':
description: Schedule deleted.
'400':
$ref: '#/components/responses/ValidationError'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/ScheduleNotFound'
'500':
$ref: '#/components/responses/InternalError1'
components:
responses:
Forbidden:
description: Caller is not `admin`.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
ScheduleCapExceeded:
description: 'The tenant already holds the maximum number of live schedules;
delete one before creating another.
'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
ScheduleNotFound:
description: 'Schedule not found: unknown id, another tenant''s schedule, or
already deleted (all indistinguishable by design).
'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Unauthorized:
description: Missing or empty `Authority` header.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
InternalError1:
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
ValidationError:
description: Request validation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
schemas:
ScheduleFormat:
type: string
description: 'Stored for future delivery/export only; generated reports remain
JSON regardless of this value.
'
enum:
- csv
- jsonl
ScheduleWire:
type: object
required:
- id
- name
- template
- period
- cadence
- cadence_config
- format
- filters
- delivery
- enabled
- created_at
- last_run_at
- next_run_at
- sync_status
properties:
id:
type: string
format: uuid
name:
type: string
template:
$ref: '#/components/schemas/V2Template'
period:
$ref: '#/components/schemas/SchedulePeriod'
cadence:
$ref: '#/components/schemas/ScheduleCadence'
cadence_config:
$ref: '#/components/schemas/ScheduleCadenceConfig'
format:
$ref: '#/components/schemas/ScheduleFormat'
filters:
$ref: '#/components/schemas/ReportFilters'
delivery:
$ref: '#/components/schemas/ScheduleDelivery'
enabled:
type: boolean
created_at:
type: string
format: date-time
created_by:
type: string
description: 'Email of the creating user. The key is omitted when no user
identity accompanied the create request: never emitted as
`null`.
'
last_run_at:
type:
- string
- 'null'
format: date-time
description: 'Scheduled fire instant of the newest run that created a report
(the report itself may still be generating); `null` before the
first report-creating run.
'
next_run_at:
type:
- string
- 'null'
format: date-time
description: 'Best-effort next fire time from the scheduler; `null` while the
schedule is disabled or the projection is unavailable (the
response stays 200 in every case).
'
sync_status:
$ref: '#/components/schemas/ScheduleSyncStatus'
CreateScheduleRequest1:
type: object
required:
- name
- template
additionalProperties: false
description: 'Optional keys may be omitted (server defaults apply) but must not
be explicitly `null`; `delivery.webhook_url` is the contract''s only
nullable property.
'
properties:
name:
type: string
minLength: 1
description: Trimmed server-side; blank after trim is rejected.
template:
$ref: '#/components/schemas/V2Template'
period:
$ref: '#/components/schemas/SchedulePeriod'
cadence:
$ref: '#/components/schemas/ScheduleCadence'
cadence_config:
$ref: '#/components/schemas/ScheduleCadenceConfig'
format:
$ref: '#/components/schemas/ScheduleFormat'
filters:
$ref: '#/components/schemas/ReportFilters'
delivery:
$ref: '#/components/schemas/ScheduleDelivery'
enabled:
type: boolean
ScheduleListResponse:
type: object
required:
- items
- total
properties:
items:
type: array
items:
$ref: '#/components/schemas/ScheduleWire'
total:
type: integer
ErrorCode:
type: string
enum:
- VALIDATION_ERROR
- UNAUTHORIZED
- FORBIDDEN
- REPORT_NOT_FOUND
- REPORT_NOT_READY
- SCHEDULE_NOT_FOUND
- INTERNAL_ERROR
ImageOverallStatus:
type: string
description: 'Pursuit-led verdict of a machine image''s newest live version
(Machine image report rows). Pursuit is supported on AWS
Windows images only (row `pursuit_supported`).
Pursuit supported: `compromised_early` when Pursuit rated it medium,
high or critical; otherwise `compromised_late` when Hunt found
evidence (a threat verdict or an active threat); otherwise `clean`
when Pursuit assessed it (none or low); otherwise `not_analyzed`. An
image Pursuit never assessed is never `clean`.
Pursuit not supported (Linux, Azure, or OS unknown): `compromised_late`
when Hunt found evidence; otherwise `at_risk` when Hunt verdict is
clean (no early-stage coverage is possible); otherwise
`not_analyzed`.
'
enum:
- compromised_early
- compromised_late
- at_risk
- clean
- not_analyzed
ScheduleSyncStatus:
type: string
description: 'Convergence state of the schedule onto the shared scheduler.
Response-only and additive to the UI contract.
'
enum:
- pending
- synced
- error
V2Template:
type: string
description: Report template slug. `machine-image-supply-chain` is the Machine image report.
enum:
- asset-hunt-coverage
- failed-hunts
- recovery-readiness
- active-threats
- completed-hunts
- evidence-report
- machine-image-supply-chain
ThreatSeverity:
type: string
description: 'Derived severity of an `active-threats` finding: a pinned convention
computed from the threat kind (`ransomware` → `critical`; `malware`,
`encryption`, `filesystem_error` → `high`), mirroring the UI V3
threats view. Not a platform-wide severity taxonomy: catalog records
no per-finding severity.
'
enum:
- critical
- high
FailureCode:
type: string
description: 'Derived failure-cause classification for `failed-hunts` rows. The
full set is 15 values: `NO_STATUS_MESSAGE` (null/empty status
message) and `UNKNOWN` (no classifier matched) bracket the 13
specific-cause codes.
'
enum:
- NO_STATUS_MESSAGE
- CONTAINER_IMAGE_PULL_FAILED
- CONTAINER_START_FAILED
- SCAN_THRESHOLD_NOT_MET
- MOUNT_ERROR
- IO_ERROR
- ACCESS_DENIED
- ANTIMALWARE_ERROR
- CONNECTOR_ERROR
- AZURE_SDK_ERROR
- RESTORE_FAILED
- SERVICE_ERROR
- INTEGRITY_SCAN_FAILED
- JOB_UPDATE_FAILED
- UNKNOWN
ThreatKind:
type: string
description: 'Threat kind discriminator for `active-threats` rows (the raw catalog
threat kind).
'
enum:
- malware
- ransomware
- filesystem_error
- encryption
ApiError:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
HuntType:
type: string
description: 'Hunt (scan) type discriminator for `completed-hunts` rows.
'
enum:
- malware_scan
- ransomware_scan
- fs_check
- entropy_scan
ReportFilters:
type: object
description: "Optional per-report row filters for a v2 report. Each key is a string\narray: values within one key combine as OR, separate keys combine as\nAND, and an omitted or empty key means \"no filter\" (all rows). Only\nthe keys valid for the chosen `template` are accepted; any other key\nis rejected with `400`. Applicability by template:\n - `account_ids`: asset-hunt-coverage, failed-hunts, recovery-readiness, active-threats, completed-hunts, machine-image-supply-chain\n - `regions`: asset-hunt-coverage, failed-hunts, active-threats, completed-hunts, machine-image-supply-chain\n - `asset_kinds`: asset-hunt-coverage, recovery-readiness, completed-hunts\n - `coverage_status`: asset-hunt-coverage\n - `failure_codes`: failed-hunts\n - `results`: completed-hunts\n - `hunt_types`: completed-hunts\n - `severities`: active-threats\n - `threat_kinds`: active-threats\n - `hunt_status`: machine-image-supply-chain\n - `overall_status`: machine-image-supply-chain\n`evidence-report` accepts no filters.\n"
additionalProperties: false
properties:
account_ids:
type: array
items:
type: string
description: Cloud account identifiers (e.g. AWS account id).
regions:
type: array
items:
type: string
description: Cloud regions.
asset_kinds:
type: array
items:
type: string
description: Asset kind discriminators.
coverage_status:
type: array
items:
type: string
description: 'Hunt-coverage buckets. Known values: `covered`, `overdue`,
`never_hunted`, `no_policy`. Not constrained server-side; an
unknown value simply matches no rows.
'
failure_codes:
type: array
items:
$ref: '#/components/schemas/FailureCode'
description: Derived failure-cause codes (`failed-hunts` only).
results:
type: array
items:
$ref: '#/components/schemas/HuntResult'
description: Hunt-result verdicts (`completed-hunts` only).
hunt_types:
type: array
items:
$ref: '#/components/schemas/HuntType'
description: Hunt types (`completed-hunts` only).
severities:
type: array
items:
$ref: '#/components/schemas/ThreatSeverity'
description: Derived threat severities (`active-threats` only).
threat_kinds:
type: array
items:
$ref: '#/components/schemas/ThreatKind'
description: Threat kinds (`active-threats` only).
hunt_status:
type: array
items:
$ref: '#/components/schemas/ImageHuntStatus'
description: Image hunt verdicts (Machine image report only).
overall_status:
type: array
items:
$ref: '#/components/schemas/ImageOverallStatus'
description: Pursuit-led image verdicts (Machine image report only).
ScheduleDelivery:
type: object
description: 'Validated and stored only: nothing sends email or calls webhooks
until a delivery capability ships. Each recipient must be a bare,
syntactically valid email address; `webhook_url` must be an
`https` URL (or null).
'
additionalProperties: false
properties:
email_recipients:
type: array
items:
type: string
format: email
webhook_url:
type:
- string
- 'null'
SchedulePeriod:
type: string
description: Rolling window preset for the generated report.
enum:
- last_24_hours
- last_7_days
- last_30_days
- last_90_days
UpdateScheduleRequest1:
type: object
additionalProperties: false
description: 'Partial CreateScheduleRequest: the same keys, all optional. Present
keys are merged over the stored schedule and the merged document is
revalidated through the full create path.
'
properties:
name:
type: string
minLength: 1
template:
$ref: '#/components/schemas/V2Template'
period:
$ref: '#/components/schemas/SchedulePeriod'
cadence:
$ref: '#/components/schemas/ScheduleCadence'
cadence_config:
$ref: '#/components/schemas/ScheduleCadenceConfig'
format:
$ref: '#/components/schemas/ScheduleFormat'
filters:
$ref: '#/components/schemas/ReportFilters'
delivery:
$ref: '#/components/schemas/ScheduleDelivery'
enabled:
type: boolean
ScheduleCadence:
type: string
enum:
- hourly
- daily
- weekly
- monthly
ScheduleCadenceConfig:
type: object
description: 'Exact shape per cadence: `{}` (hourly), `{time_utc}` (daily),
`{day_of_week, time_utc}` (weekly), `{day_of_month, time_utc}`
(monthly). Required keys must be present and unknown keys are
rejected. `time_utc` accepts `HH:MM` or `HH:MM:00` (non-zero
seconds rejected) and is canonicalized to `HH:MM`; the timezone is
always UTC.
'
additionalProperties: false
properties:
day_of_week:
type: string
enum:
- monday
- tuesday
- wednesday
- thursday
- friday
- saturday
- sunday
day_of_month:
type: integer
minimum: 1
maximum: 28
description: 'Capped at 28 (400 above) so monthly schedules never skip short
months.
'
time_utc:
type: string
pattern: ^\d{2}:\d{2}(:00)?$
HuntResult:
type: string
description: 'Persisted hunt-result verdict (`completed-hunts` rows): the
`catalog` scan status mapped `good` → `clean`, `bad` →
`threat_found`.
'
enum:
- clean
- threat_found
ImageHuntStatus:
type: string
description: 'Hunt verdict of a machine image''s current version
(Machine image report rows): `threat` when any check found a
threat, `clean` when malware and ransomware are both clean or not
applicable, `never` otherwise.
'
enum:
- clean
- threat
- never
parameters:
ScheduleId:
name: id
in: path
required: true
description: Schedule UUID.
schema:
type: string
format: uuid
XUserRoleAdmin:
name: X-User-Role
in: header
required: false
description: 'Gateway-injected RBAC context. This operation requires `admin`;
any other value (including `viewer`, missing, or empty) responds
`403 FORBIDDEN`.
'
schema:
type: string
enum:
- admin
- viewer
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