VAST Data eventdefinitions API

Event definitions define the conditions that trigger events, the raising of alarms, alarm severity, and which actions are triggered on events, such as email notifications, webhooks and sending to syslog.

Operations 4

GET /eventdefinitions/ List Event Definitions #
GET /eventdefinitions/{id}/ Return Details of an Event Definition #
PATCH /eventdefinitions/{id}/ Modify Event Definition #
PATCH /eventdefinitions/{id}/test/ Test Event Definition #

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/vastdata-eventdefinitions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vastdata-eventdefinitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: VAST Management API definition
  title: VAST API Swagger Schema activedirectory Eventdefinitions API
  version: '1.0'
security:
- ApiToken: []
tags:
- description: Event definitions define the conditions that trigger events, the raising of alarms, alarm severity, and which actions are triggered on events, such as email notifications, webhooks and sending to syslog.
  name: eventdefinitions
paths:
  /eventdefinitions/:
    get:
      description: This endpoint lists event definitions. The parameters filter the list.
      operationId: eventdefinitions_list
      parameters:
      - in: query
        name: object_type
        schema:
          type: string
      - in: query
        name: event_type
        schema:
          type: string
      - in: query
        name: metadata__property
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/EventDefinition'
                title: Eventdefinitions
                type: array
          description: Event Definition Information
      summary: List Event Definitions
      tags:
      - eventdefinitions
  /eventdefinitions/{id}/:
    get:
      description: This endpoint returns details of a specified event definition.
      operationId: eventdefinitions_read
      parameters:
      - description: Event Definition ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventDefinition'
          description: ''
      summary: Return Details of an Event Definition
      tags:
      - eventdefinitions
    patch:
      description: This endpoint modifies an event definition.
      operationId: eventdefinitions_partial_update
      parameters:
      - description: Event Definition ID
        in: path
        name: id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                alarm_only:
                  description: Set to true for only alarms to trigger configured actions such as email and webhook. Set to false for all events of the definition to trigger the configured actions.
                  type: boolean
                cooldown:
                  description: Minimal time to wait between two consecutive events
                  type: integer
                disable_actions:
                  description: Set to true to disable alert actions for the event definition.
                  type: boolean
                email_recipients:
                  description: Comma separated list of email recipients for alarms
                  items:
                    type: string
                  type: array
                enabled:
                  description: Set to true to enable events, alarms and actions.
                  type: boolean
                internal:
                  type: boolean
                raise_at_count:
                  description: Raise an alarm after a specific number of recurrences
                  type: integer
                severity:
                  description: The severity of an alarm triggered by this event. INFO means no alarm is triggered.
                  enum:
                  - INFO
                  - MINOR
                  - MAJOR
                  - CRITICAL
                  type: string
                time_frame:
                  description: For rate alarms, the The time frame over which to monitor the property.
                  type: string
                trigger_off:
                  description: 'For ''Object Modified'' alarms: a list of values.'
                  type: string
                trigger_on:
                  description: 'For ''Object Modified'' alarms: a list of values | For ''Threshold/Rate'' alarms: a list of 2 members. The first is an operator like gt/ge/lte and the second is a number'
                  type: string
                webhooks:
                  description: List of webhooks IDs
                  items:
                    type: integer
                  type: array
              type: object
        x-originalParamName: EventdefinitionModifyParams
      responses:
        '200':
          description: ''
      summary: Modify Event Definition
      tags:
      - eventdefinitions
  /eventdefinitions/{id}/test/:
    patch:
      description: This endpoint tests an event definition.
      operationId: eventdefinitions_test
      parameters:
      - description: Event Definition ID
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncTaskInResponse'
          description: ''
      summary: Test Event Definition
      tags:
      - eventdefinitions
components:
  schemas:
    EventDefinition:
      properties:
        action_definitions:
          description: Actions triggered by the event
          type: string
        alarm_definitions:
          description: A collection of properties of the alarm definition associated with the event.
          type: string
        alarm_only:
          description: When this is enabled, only alarms will lead to email and webhook actions
          type: boolean
        cooldown:
          description: Minimal time to wait between two consecutive events
          type: integer
        disable_actions:
          description: If true, actions are disabled.
          type: boolean
        email_recipients:
          description: List of emails you want to notify in case this event occurs
          items:
            type: string
          type: array
        enabled:
          description: If true, the event definition is enabled.
          type: boolean
        event_message:
          description: Message text.
          type: string
        event_type:
          type: string
        id:
          type: integer
          x-cli-header: ID
        internal:
          type: boolean
        metadata:
          description: A collection of properties of the event definition.
          type: object
        name:
          type: string
        object_type:
          type: string
        property:
          description: Monitored property
          type: string
        raise_at_count:
          description: Raise an alarm after a specific number of recurrences
          type: integer
        severity:
          description: The severity of the alarm
          type: string
        trigger_off:
          description: 'For ''Object Modified'' alarms: a list of values'
          type: string
        trigger_on:
          description: 'For ''Object Modified'' alarms: a list of values | For ''Threshold/Rate'' alarms: a list of 2

            members. The first is an operator like gt/ge/lte and the second is a number

            '
          type: string
        user_modified:
          description: Did a user modify this event definition
          type: boolean
        webhooks:
          description: List of IDs of webhooks to be triggered by the event.
          items:
            type: integer
          type: array
      type: object
    AsyncTaskInResponse:
      properties:
        async_task:
          description: Creation Async task properties
          type: object
      type: object
  securitySchemes:
    ApiToken:
      description: Send current valid API token in an Authorization header with format Api-Token <token>.
      in: header
      name: ApiToken
      type: apiKey
    basicAuth:
      description: Basic authentication using VMS user name and password
      scheme: basic
      type: http