Tessell alert-controller API

The alert-controller API from Tessell — 10 operation(s) for alert-controller.

Operations 21

POST /monitoring/alert-profiles Create Alert Profile #
GET /monitoring/alert-profiles Get a list of alert Profiles #
GET /monitoring/alert-profiles/{id} Get Alert Profile by Id #
PUT /monitoring/alert-profiles/{id} Update a Alert Profile by Id #
DELETE /monitoring/alert-profiles/{id} Delete Alert Profile corresponding to given id #
POST /monitoring/alert-entities Create Alert Entity #
GET /monitoring/alert-entities Get Alert Entities #
GET /monitoring/alert-entities/{id} Get Alert entity #
PATCH /monitoring/alert-entities/{id} Update a Alert Entity by Id #
DELETE /monitoring/alert-entities/{id} Delete Alert Entity corresponding to given id #
GET /monitoring/alert-policy Get Alert Policies #
POST /monitoring/alert-policy Create Alert Policy #
GET /monitoring/alert-policy/{id} Get Alert Policy by Id #
PUT /monitoring/alert-policy/{id} Update a Alert Policy by Id #
DELETE /monitoring/alert-policy/{id} Delete Alert Policy corresponding to given id #
GET /monitoring/alert-policy/associations Get Alert Policy Associations #
PUT /monitoring/alert-policy/associations Create or Update Alert Policy Associations by Subscription Id #
DELETE /monitoring/alert-policy/associations Delete Alert Policy Associations by Subscription Id #
GET /monitoring/alert-policy/associations/details Get Alert Policy Association Details #
GET /monitoring/alert-rules-config/{entityType} Get Alert Rules Configuration #
GET /monitoring/alert-annotations-catalog Get Alert Annotations Catalog #

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/tessell-alert-controller-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

tessell-alert-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tessell APIs activity-center Alert Controller API
  contact:
    email: support@tessell.com
    name: Tessell Inc
    url: https://www.tessell.com
  description: Tessell API Documentation
  termsOfService: https://www.tessell.com/terms
  version: '1.0'
servers:
- url: '{server}'
  variables:
    server:
      default: console.tessell.com
tags:
- name: alert-controller
paths:
  /monitoring/alert-profiles:
    post:
      tags:
      - alert-controller
      summary: Create Alert Profile
      operationId: createAlertProfile
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertProfileRequest'
      responses:
        '200':
          description: Alert Profile created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertProfileDto'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    get:
      tags:
      - alert-controller
      summary: Get a list of alert Profiles
      operationId: getAlertProfiles
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/alert-entity-type-in-query'
      - $ref: '#/components/parameters/user-type-in-query'
      - $ref: '#/components/parameters/is-default-in-query'
      - $ref: '#/components/parameters/status-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertProfileListResponse'
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/alert-profiles/{id}:
    get:
      tags:
      - alert-controller
      summary: Get Alert Profile by Id
      operationId: getAlertProfileById
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-path'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertProfileDto'
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    put:
      tags:
      - alert-controller
      summary: Update a Alert Profile by Id
      operationId: updateAlertProfileById
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-path'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertProfileUpdateRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertProfileDto'
          description: OK
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    delete:
      tags:
      - alert-controller
      summary: Delete Alert Profile corresponding to given id
      operationId: deleteAlertProfileById
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-path'
      - $ref: '#/components/parameters/check-entity-associations-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiStatus'
          description: OK
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorOps'
  /monitoring/alert-entities:
    post:
      tags:
      - alert-controller
      summary: Create Alert Entity
      operationId: createAlertEntity
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertEntityRequest'
      responses:
        '200':
          description: Alert Entity created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertEntityDto'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    get:
      tags:
      - alert-controller
      summary: Get Alert Entities
      operationId: getAlertEntities
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-query'
      - $ref: '#/components/parameters/notification-profile-id-in-query'
      - $ref: '#/components/parameters/alert-entity-type-in-query'
      - $ref: '#/components/parameters/user-type-in-query'
      - $ref: '#/components/parameters/entity-id-in-query'
      - $ref: '#/components/parameters/alert-entity-status-in-query'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageOffset'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: Get alert entities
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertEntityListResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/alert-entities/{id}:
    get:
      tags:
      - alert-controller
      summary: Get Alert entity
      operationId: getAlertEntity
      parameters:
      - $ref: '#/components/parameters/alert-entity-id-in-path'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertEntityDto'
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    patch:
      tags:
      - alert-controller
      summary: Update a Alert Entity by Id
      operationId: updateAlertEntityById
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/alert-entity-id-in-path'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertEntityUpdateRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertEntityDto'
          description: OK
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    delete:
      tags:
      - alert-controller
      summary: Delete Alert Entity corresponding to given id
      operationId: deleteAlertEntityById
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/alert-entity-id-in-path'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiStatus'
          description: OK
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorOps'
  /monitoring/alert-policy:
    get:
      tags:
      - alert-controller
      summary: Get Alert Policies
      operationId: getAlertPolicies
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageOffset'
      - $ref: '#/components/parameters/alert-entity-type-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: Get alert policies
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertPolicyListResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    post:
      tags:
      - alert-controller
      summary: Create Alert Policy
      operationId: createAlertPolicy
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertPolicyRequest'
      responses:
        '200':
          description: Alert Policy created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertPolicyDto'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/alert-policy/{id}:
    get:
      tags:
      - alert-controller
      summary: Get Alert Policy by Id
      operationId: getAlertPolicyById
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-path'
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertPolicyDto'
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    put:
      tags:
      - alert-controller
      summary: Update a Alert Policy by Id
      operationId: updateAlertPolicyById
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-path'
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertPolicyUpdateRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertPolicyDto'
          description: OK
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    delete:
      tags:
      - alert-controller
      summary: Delete Alert Policy corresponding to given id
      operationId: deleteAlertPolicyById
      parameters:
      - $ref: '#/components/parameters/alert-profile-id-in-path'
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiStatus'
          description: OK
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorOps'
  /monitoring/alert-policy/associations:
    get:
      tags:
      - alert-controller
      summary: Get Alert Policy Associations
      operationId: getAlertPolicyAssociations
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/subscription-id-in-query'
      - $ref: '#/components/parameters/alert-entity-type-in-query'
      - $ref: '#/components/parameters/alert-profile-id-in-query'
      - $ref: '#/components/parameters/subscriptionNameQuery'
      - $ref: '#/components/parameters/pageSize'
      - $ref: '#/components/parameters/pageOffset'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: Get alert policy associations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertEntityListResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    put:
      tags:
      - alert-controller
      summary: Create or Update Alert Policy Associations by Subscription Id
      operationId: createUpdateAlertPolicyAssociations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertPolicyAssociationRequest'
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertEntityDto'
          description: OK
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorOps'
    delete:
      tags:
      - alert-controller
      summary: Delete Alert Policy Associations by Subscription Id
      operationId: deleteAlertPolicyAssociations
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertPolicyAssociationRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/apiStatus'
          description: OK
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorOps'
  /monitoring/alert-policy/associations/details:
    get:
      tags:
      - alert-controller
      summary: Get Alert Policy Association Details
      operationId: getAlertPolicyAssociationDetails
      parameters:
      - $ref: '#/components/parameters/tenant-id-in-header-required'
      - $ref: '#/components/parameters/subscriptionNameQuery'
      - $ref: '#/components/parameters/alert-entity-type-in-query'
      - $ref: '#/components/parameters/subscription-id-in-query'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertPolicyAssociationResponse'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/alert-rules-config/{entityType}:
    get:
      tags:
      - alert-controller
      summary: Get Alert Rules Configuration
      operationId: getAlertRulesConfig
      parameters:
      - name: entityType
        in: path
        description: Entity Type for alert rules
        required: true
        style: simple
        schema:
          $ref: '#/components/schemas/AlertEntityType'
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertProfileRuleConfigResponse'
        '204':
          description: No Content
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /monitoring/alert-annotations-catalog:
    get:
      tags:
      - alert-controller
      summary: Get Alert Annotations Catalog
      description: Returns a catalog of available alert annotations.
      operationId: getAlertAnnotationsCatalog
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertAnnotationsCatalog'
        default:
          description: API error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      parameters:
      - name: Authorization
        in: header
        description: Authorization Token
        required: true
        style: simple
        schema:
          type: string
components:
  schemas:
    apiResponse:
      example:
        metadata:
          pagination:
            pageOffset: 0
            pageSize: 6
          records: 1
          timeZone: timeZone
        response: '{}'
      properties:
        metadata:
          $ref: '#/components/schemas/apiMetadata'
        response:
          type: object
      title: ApiResponse
      type: object
    AlertProfileRule:
      type: object
      required:
      - id
      - name
      - threshold
      - severity
      - evaluationWindow
      - comparisonOperator
      properties:
        id:
          type: integer
          description: Id of the Alert profile rule
        name:
          type: string
          description: Name of the Alert profile rule
        threshold:
          type: number
          format: double
          description: Threshold of the rule
        severity:
          $ref: '#/components/schemas/AlertRuleSeverity'
        evaluationWindow:
          type: integer
          description: Evaluation window in minutes over which data should be compared with threshold
          minimum: 0
          maximum: 1440
        comparisonOperator:
          $ref: '#/components/schemas/ComparisonOperator'
        annotations:
          $ref: '#/components/schemas/AlertRuleAnnotations'
    EntityId:
      title: EntityId
      type: string
      description: Id of the entity(service or compute resource or subscription)
      format: uuid
    AlertProfileRequest:
      title: AlertProfileRequest
      allOf:
      - $ref: '#/components/schemas/AlertProfileCommonProperties'
      - type: object
        properties:
          status:
            $ref: '#/components/schemas/AlertProfileStatusRequest'
          createdBy:
            type: string
            description: User who created the alert profile
            default: Tessell
    AlertProfileStatusRequest:
      type: string
      description: Status of the Alert profile
      enum:
      - ACTIVE
      - INACTIVE
    AlertRuleSeverity:
      type: string
      description: Severity of the Alert
      default: Warning
      enum:
      - Critical
      - High
      - Warning
    AlertAnnotation:
      type: object
      properties:
        key:
          type: string
          description: 'Unique identifier for the annotation. This key is used to resolve the corresponding `value` field from the `annotations` field associated with an alert profile.

            '
        description:
          type: string
          description: Description of the annotation
        display_label:
          type: string
          description: Display label for the annotation
        data_type:
          type: string
          description: Data type of the annotation value
        default_user_type:
          type: array
          items:
            $ref: '#/components/schemas/UserType'
          description: Default user types that can see this annotation
        supported_entity_type:
          type: array
          items:
            $ref: '#/components/schemas/AlertEntityType'
          description: Supported entity types for this annotation
        internal_key:
          type: string
          description: 'Internal key used for internal mapping across systems. This key is mapped to the `labelName` field of labels returned by validation endpoints in the database-system and monitoring services.

            '
        category:
          type: string
          description: Category grouping for the annotation
    AlertPolicyAssociationResponse:
      title: AlertPolicyAssociationResponse
      type: object
      properties:
        alertEntity:
          $ref: '#/components/schemas/AlertEntityDto'
        alertProfile:
          $ref: '#/components/schemas/AlertProfileDto'
        notificationProfile:
          type: object
    AlertRuleAnnotations:
      type: object
      description: Annotations of the alert rule
      default: {}
      additionalProperties:
        type: string
    AlertProfileRuleConfig:
      title: Alert Profiles Rules Configuration
      description: This is the alert profile rules configuration
      type: object
      properties:
        id:
          type: integer
          description: Id of the Alert profile rule
        name:
          type: string
          description: Name of the Alert profile rule
        minThreshold:
          type: number
          format: double
          description: Minimum threshold of the rule
        maxThreshold:
          type: number
          format: double
          description: Maximum threshold of the rule
        validComparisonOperators:
          type: array
          description: List of comparison operators
          items:
            $ref: '#/components/schemas/ComparisonOperator'
        description:
          type: string
          description: Description of the Alert profile rule
        unit:
          type: string
          description: Unit of the metric
        alertCategory:
          type: string
          description: Category of the alert
    ComparisonOperator:
      type: string
      description: Comparison Operator
      default: GreaterThanThreshold
      enum:
      - GreaterThanOrEqualToThreshold
      - GreaterThanThreshold
      - LessThanThreshold
      - LessThanOrEqualToThreshold
      - EqualToThreshold
      - NotEqualToThreshold
    ApiErrorOps:
      type: object
      description: Common error response object for non 2xx responses of internal or ops APIs
      properties:
        code:
          type: string
          description: Status code for the error response
        message:
          type: string
          description: Error message for API response
        resolution:
          type: string
        timestamp:
          type: string
          format: date-time
        contextId:
          type: string
          description: ContextId of API request
        sessionId:
          type: string
          description: SessionId of API request
        tessellErrorCode:
          type: string
          description: Unique error code specific to Tessell
        userView:
          $ref: '#/components/schemas/TessellExceptionUserView'
    AlertAnnotationsCatalog:
      type: array
      items:
        $ref: '#/components/schemas/AlertAnnotation'
    AlertEntityRequest:
      title: AlertEntityRequest
      allOf:
      - $ref: '#/components/schemas/AlertEntityCommonProperties'
      type: object
    AlertProfileCommonProperties:
      title: AlertProfileCommonProperties
      required:
      - name
      - entityType
      - userType
      type: object
      properties:
        name:
          type: string
          description: Name of the Alert profile
        entityType:
          $ref: '#/components/schemas/AlertEntityType'
        rules:
          type: array
          description: List of rules for the Alert profile
          items:
            $ref: '#/components/schemas/AlertProfileRule'
          minItems: 0
          maxItems: 100
        userType:
          $ref: '#/components/schemas/UserType'
        isDefault:
          type: boolean
          description: True if this is the default alert Profile
          default: false
        description:
          type: string
          description: Description of the Alert profile
        annotations:
          type: array
          description: List of annotations for alert customization
          items:
            $ref: '#/components/schemas/AlertProfileAnnotation'
    UserType:
      type: string
      description: User Type
      enum:
      - SRE
      - CUSTOMER
    AlertProfileListResponse:
      title: AlertProfileListResponse
      allOf:
      - $ref: '#/components/schemas/apiResponse'
      type: object
      properties:
        response:
          type: array
          items:
            $ref: '#/components/schemas/AlertProfileDto'
    apiStatus:
      title: apiStatus
      type: object
      properties:
        status:
          type: string
        message:
          type: string
    apiMetadata:
      title: apiMetadata
      type: object
      properties:
        timeZone:
          type: string
        records:
          type: integer
          format: int32
        pagination:
          $ref: '#/components/schemas/apiPaginationInfo'
    AlertPolicyDto:
      title: AlertPolicyDto
      type: object
      allOf:
      - $ref: '#/components/schemas/AlertProfileDto'
      properties:
        associations:
          type: array
          items:
            $ref: '#/components/schemas/AlertEntityDto'
    AlertProfileId:
      type: integer
      format: int64
      description: Id of the Alert profile
    AlertEntityType:
      type: string
      description: Entity Type
      enum:
      - DB
      - NODE
      - DB_SUBSCRIPTION
      - NODE_SUBSCRIPTION
    AlertPolicyUpdateRequest:
      title: AlertPolicyUpdateRequest
      type: object
      allOf:
      - $ref: '#/components/schemas/AlertProfileUpdateRequest'
      - $ref: '#/components/schemas/AlertPolicyCommonProperties'
    AlertProfileAnnotation:
      title: AlertProfileAnnotation
      type: object
      required:
      - displayName
      - value
      properties:
        displayName:
          type: string
          description: User-friendly label shown in UI or configuration
        value:
          type: string
          description: Either a literal value or a templated reference
        category:
          type: string
          description: Category grouping for the annotation
    AlertProfileMetadata:
      type: object
      properties:
        createdBy:
          type: string
          description: User who created the alert profile
          default: Tessell
        lastModifiedBy:
          type: string
          description: User who last modified the alert profile
          default: Tessell
      title: AlertProfileMetadata
    AlertEntityDto:
      title: AlertEntityDto
      allOf:
      - $ref: '#/components/schemas/AlertEntityCommonProperties'
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Id of the Alert profile
        status:
          $ref: '#/components/schemas/AlertEntityStatus'
        metadata:
          description: Alert Entity Metadata information
          $ref: '#/components/schemas/AlertEntityMetadata'
        dateCreated:
          type: string
          description: Timestamp when the entity was created
          format: date-time
        dateModified:
          type: string
          description: Timestamp when the entity was last modified
          format: date-time
    AlertEntityMetadata:
      type: object
      properties:
        activityId:
          type: string
          description: User level activity id for tracking alert policy associations.
        entityName:
          type: string
          default: ''
          description: Name of the entity
      title: AlertEntityMetadata
    NotificationProfileId:
      type: string
      format: uuid
      description: Id of the Notification profile
    AlertProfileStatus:
      type: string
      description: Status of the Alert profile
      enum:
      - ACTIVE
      - INACTIVE
      - CREATING
      - DELETED
      - CREATION_FAILED
    TessellExceptionUserView:
      title: TessellExceptionUserView
      type: object
      properties:
        message:
          type: string
          description: End-user representation of the message
        resolution:
          type: string
          description: End-user representation of resolution
        errorCode:
          $ref: '#/components/schemas/TessellHTTPErrorCode'
          description: User specific code might be different in some cases with internal code (Say some internal entity is not present, so 404 for Tessell while 500 for end-user
    ApiError:
      type: object
      description: Common error response object for non 2xx responses
      properties:
        code:
          type: string
          description: Status code for the error response
        message:
          type: string
         

# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tessell/refs/heads/main/openapi/tessell-alert-controller-api-openapi.yml