Lightup Incidents API

The Incidents API from Lightup — 4 operation(s) for incidents.

Operations 7

GET /api/v0/ws/{workspace_id}/incidents/ Get incident list
GET /api/v0/ws/{workspace_id}/incidents/{incident_uuid} Get the detail of an incident
GET /api/v0/ws/{workspace_id}/incidents/{incident_uuid}/comments Get the comments associated with the incident
POST /api/v0/ws/{workspace_id}/incidents/{incident_uuid}/comments Create comment associated with the incident
DELETE /api/v0/ws/{workspace_id}/incidents/{incident_uuid}/comments/{comment_id} Delete the comment associated with the incident
GET /api/v0/ws/{workspace_id}/incidents/{incident_uuid}/comments/{comment_id} Get a specific comment associated with the incident
PUT /api/v0/ws/{workspace_id}/incidents/{incident_uuid}/comments/{comment_id} Update the comment associated with the incident

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/lightup-incidents-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

lightup-incidents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Lightup Metrics API provides CRUD interface to Dashboard objects.
  title: Lightup Dashboard API Credentials Incidents API
  version: 1.0.0
servers:
- description: Enter your Lightup subdomain
  url: https://app.{clusterId}.lightup.ai
  variables:
    clusterId:
      default: demo
tags:
- name: Incidents
paths:
  /api/v0/ws/{workspace_id}/incidents/:
    get:
      description: ''
      parameters:
      - description: UUID of the workspace; visible in the workspace URL.
        explode: true
        in: path
        name: workspace_id
        required: true
        schema:
          description: UUID of the workspace; visible in the workspace URL.
          title: workspace_id
          type: string
      - description: Filter by the data range when the incident was active, this is the start of the range
        explode: false
        in: query
        name: start_ts
        required: false
        schema:
          description: Filter by the data range when the incident was active, this is the start of the range
          title: start_ts
          type: number
      - description: Filter by the data range when the incident was active, this is the end of the range
        explode: false
        in: query
        name: end_ts
        required: false
        schema:
          description: Filter by the data range when the incident was active, this is the end of the range
          title: end_ts
          type: number
      - description: Filter by the data range when the incident was last updated, this is the start of the range
        explode: false
        in: query
        name: start_updated_ts
        required: false
        schema:
          description: Filter by the data range when the incident was last updated, this is the start of the range
          title: start_updated_ts
          type: number
      - description: Filter by the data range when the incident was last updated, this is the end of the range
        explode: false
        in: query
        name: end_updated_ts
        required: false
        schema:
          description: Filter by the data range when the incident was last updated, this is the end of the range
          title: end_updated_ts
          type: number
      - description: 'Filter by status of incident. Available options: UNVIEWED:1 VIEWED:2 REJECTED:3 SUBMITTED:4 CLOSED:5  '
        explode: false
        in: query
        name: status_list
        required: false
        schema:
          description: 'Filter by status of incident. Available options: UNVIEWED:1 VIEWED:2 REJECTED:3 SUBMITTED:4 CLOSED:5  '
          items:
            description: An enumeration.
            enum:
            - 1
            - 2
            - 3
            - 4
            - 5
            title: IncidentStatus
            type: integer
          title: status_list
          type: array
      - description: If set, response does not contain metadata.
        explode: false
        in: query
        name: data_only
        required: false
        schema:
          description: If set, response does not contain metadata.
          title: data_only
          type: boolean
      - description: If set, response contains monitor information or source/table/column information
        explode: false
        in: query
        name: with_ref
        required: false
        schema:
          description: If set, response contains monitor information or source/table/column information
          title: with_ref
          type: boolean
      - description: If set, incidents of monitor preview are also returned.
        explode: false
        in: query
        name: include_preview
        required: false
        schema:
          description: If set, incidents of monitor preview are also returned.
          title: include_preview
          type: boolean
      - description: Filter by Metric UUIDs
        explode: false
        in: query
        name: metric_uuids
        required: false
        schema:
          description: Filter by Metric UUIDs
          items:
            type: string
          title: metric_uuids
          type: array
      - description: Filter by Monitor UUIDs
        explode: false
        in: query
        name: monitor_uuids
        required: false
        schema:
          description: Filter by Monitor UUIDs
          items:
            type: string
          title: monitor_uuids
          type: array
      - description: Filter by Source UUIDs
        explode: false
        in: query
        name: source_uuids
        required: false
        schema:
          description: Filter by Source UUIDs
          items:
            type: string
          title: source_uuids
          type: array
      - description: Filter by Table UUIDs
        explode: false
        in: query
        name: table_uuids
        required: false
        schema:
          description: Filter by Table UUIDs
          items:
            type: string
          title: table_uuids
          type: array
      - description: Filter by Monitor names
        explode: false
        in: query
        name: names
        required: false
        schema:
          description: Filter by Monitor names
          items:
            type: string
          title: names
          type: array
      - description: 'Input ''Bearer _access-token_''. To obtain access token, see API, API Credentials: Get access token.'
        explode: true
        in: header
        name: authorization
        required: true
        schema:
          description: 'Input ''Bearer _access-token_''. To obtain access token, see API, API Credentials: Get access token.'
          title: authorization
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                definitions:
                  IncidentDirection:
                    description: An enumeration.
                    enum:
                    - 0
                    - 1
                    - 2
                    - 3
                    title: IncidentDirection
                    type: integer
                  IncidentListResponseMetadata:
                    additionalProperties: false
                    properties:
                      accepted:
                        description: Number of viewed incidents
                        title: Accepted
                        type: integer
                      total:
                        description: Number of incidents
                        title: Total
                        type: integer
                      unread:
                        description: Number of unviewed incidents
                        title: Unread
                        type: integer
                    required:
                    - total
                    - unread
                    - accepted
                    title: IncidentListResponseMetadata
                    type: object
                  IncidentStatus:
                    description: An enumeration.
                    enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                    title: IncidentStatus
                    type: integer
                  IncidentType:
                    description: An enumeration.
                    enum:
                    - anomalyIncident
                    - eventIncident
                    title: IncidentType
                    type: string
                  IncidentValidation:
                    properties:
                      errorCount:
                        default: 0
                        description: Number of errors in the validation run.
                        title: Errorcount
                        type: integer
                      lastRunTs:
                        description: Last timestamp (epoch) of the validation run.
                        title: Lastrunts
                        type: number
                      runStatusMessage:
                        default: ok
                        description: Status message of the validation run.
                        title: Runstatusmessage
                        type: string
                      status:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/IncidentValidationStatus'
                        default: running
                    title: IncidentValidation
                    type: object
                  IncidentValidationStatus:
                    description: An enumeration.
                    enum:
                    - running
                    - error
                    - resolved
                    - unresolved
                    - canceling
                    title: IncidentValidationStatus
                    type: string
                  LegacyIncident:
                    properties:
                      close_ts:
                        description: Close timestamp (epoch) of incident
                        title: Close Ts
                        type: number
                      creation_ts:
                        description: Timestamp (epoch) when incident was detected by the system
                        title: Creation Ts
                        type: number
                      direction:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/IncidentDirection'
                        description: 'Which direction the metric deviated from expectations. Available options: NULL:0 UP:1 DOWN:2 BOTH:3 '
                      end_ts:
                        description: End timestamp (epoch) of incident
                        title: End Ts
                        type: number
                      filter_uuid:
                        description: This is UUID of the monitor (incident_type = anomalyIncident) or appropriate table, source, column uuid (incident_type = eventIncident) associated with this incident.
                        title: Filter Uuid
                        type: string
                      id:
                        description: User friendly ID of incident.
                        title: Id
                        type: integer
                      impact:
                        description: A number of 1 to 10 indicating the incident severity.
                        title: Impact
                        type: number
                      incident_type:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/IncidentType'
                        description: Indicates whether an anomaly or an event caused the incident.
                      metadata:
                        anyOf:
                        - items:
                            $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/ProfilerEvent'
                          type: array
                        - items:
                            $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/ProfilerColumnEvent'
                          type: array
                        description: List containing metadata about the incident. OPTION 1 is for table event; OPTION 2 is for column event.
                        title: Metadata
                      ongoing:
                        description: True if incident is ongoing
                        title: Ongoing
                        type: boolean
                      reason:
                        description: Internal string
                        title: Reason
                        type: string
                        writeOnly: true
                      send_reminder:
                        default: false
                        description: True if sending recurring notification needed
                        title: Send Reminder
                        type: boolean
                      slice:
                        description: Slice associated with incident
                        title: Slice
                        type: object
                      start_ts:
                        description: Start timestamp (epoch) of incident
                        title: Start Ts
                        type: number
                      status:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/IncidentStatus'
                        default: 1
                        description: 'Status of incident. Available options: UNVIEWED:1 VIEWED:2 REJECTED:3 SUBMITTED:4 CLOSED:5 '
                      updated_ts:
                        description: Last timestamp (epoch) when incident was updated by the system
                        title: Updated Ts
                        type: number
                      uuid:
                        description: UUID of the incident
                        title: Uuid
                        type: string
                      validation:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/IncidentValidation'
                        description: Status of incident validation.
                        title: Validation
                    required:
                    - uuid
                    - incident_type
                    - filter_uuid
                    - slice
                    - start_ts
                    - end_ts
                    - ongoing
                    title: LegacyIncident
                    type: object
                  ProfilerColumnEvent:
                    properties:
                      columnUuid:
                        description: UUID of the column.
                        title: Columnuuid
                        type: string
                      eventDetail:
                        description: This is a dictionary giving more information about the event.
                        title: Eventdetail
                        type: object
                      eventTs:
                        description: Timestamp (epoch) of the event.
                        title: Eventts
                        type: number
                      eventType:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/ProfilerColumnEventType'
                        description: Type of column event.
                      recordedTs:
                        description: Timestamp (epoch) when event was recorded.
                        title: Recordedts
                        type: number
                      sourceUuid:
                        title: Sourceuuid
                        type: string
                      tableUuid:
                        title: Tableuuid
                        type: string
                      type:
                        default: profilerColumnEvent
                        enum:
                        - profilerColumnEvent
                        title: Type
                        type: string
                      uuid:
                        description: UUID of the profiler column event.
                        title: Uuid
                        type: string
                    required:
                    - uuid
                    - eventTs
                    - recordedTs
                    - eventType
                    - eventDetail
                    title: ProfilerColumnEvent
                    type: object
                  ProfilerColumnEventType:
                    description: An enumeration.
                    enum:
                    - columnCardinalityChanged
                    title: ProfilerColumnEventType
                    type: string
                  ProfilerEvent:
                    properties:
                      eventDetail:
                        description: This is a dictionary giving more information about the event.
                        title: Eventdetail
                        type: object
                      eventTs:
                        description: Timestamp (epoch) of the event.
                        title: Eventts
                        type: number
                      eventType:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/ProfilerEventType'
                        description: Type of the profiler event.
                      schemaUuid:
                        description: UUID of the schema.
                        title: Schemauuid
                        type: string
                      sourceUuid:
                        description: UUID of the datasource.
                        title: Sourceuuid
                        type: string
                      tableUuid:
                        description: UUID of the table.
                        title: Tableuuid
                        type: string
                      type:
                        default: profilerEvent
                        enum:
                        - profilerEvent
                        title: Type
                        type: string
                      uuid:
                        description: UUID of the profiler event.
                        title: Uuid
                        type: string
                    required:
                    - uuid
                    - eventTs
                    - sourceUuid
                    - eventType
                    - eventDetail
                    title: ProfilerEvent
                    type: object
                  ProfilerEventType:
                    description: An enumeration.
                    enum:
                    - schemaAdded
                    - schemaDeleted
                    - schemaRecovery
                    - tableAdded
                    - tableUpdated
                    - tableDeleted
                    - tableRecovery
                    - columnAdded
                    - columnUpdated
                    - columnDeleted
                    - columnRecovery
                    title: ProfilerEventType
                    type: string
                properties:
                  data:
                    description: List of incidents
                    items:
                      $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/LegacyIncident'
                    title: Data
                    type: array
                  metadata:
                    allOf:
                    - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1/get/responses/200/content/application~1json/schema/definitions/IncidentListResponseMetadata'
                    description: Metadata associated with incident list
                    title: Metadata
                  ref:
                    description: Contains associated monitor or source/table/column information
                    title: Ref
                    type: object
                required:
                - data
                title: IncidentListResponse
                type: object
          description: ''
      summary: Get incident list
      tags:
      - Incidents
  /api/v0/ws/{workspace_id}/incidents/{incident_uuid}:
    get:
      description: "\n        Return the detail of a single incident.\n        :param request:\n        :param incident_uuid:\n        :return:\n        "
      parameters:
      - description: UUID of the workspace; visible in the workspace URL.
        explode: true
        in: path
        name: workspace_id
        required: true
        schema:
          description: UUID of the workspace; visible in the workspace URL.
          title: workspace_id
          type: string
      - description: UUID of the incident to get.
        explode: true
        in: path
        name: incident_uuid
        required: true
        schema:
          description: UUID of the incident to get.
          title: incident_uuid
          type: string
      - description: 'Input ''Bearer _access-token_''. To obtain access token, see API, API Credentials: Get access token.'
        explode: true
        in: header
        name: authorization
        required: true
        schema:
          description: 'Input ''Bearer _access-token_''. To obtain access token, see API, API Credentials: Get access token.'
          title: authorization
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                definitions:
                  IncidentDirection:
                    description: An enumeration.
                    enum:
                    - 0
                    - 1
                    - 2
                    - 3
                    title: IncidentDirection
                    type: integer
                  IncidentStatus:
                    description: An enumeration.
                    enum:
                    - 1
                    - 2
                    - 3
                    - 4
                    - 5
                    title: IncidentStatus
                    type: integer
                  IncidentType:
                    description: An enumeration.
                    enum:
                    - anomalyIncident
                    - eventIncident
                    title: IncidentType
                    type: string
                  IncidentValidation:
                    properties:
                      errorCount:
                        default: 0
                        description: Number of errors in the validation run.
                        title: Errorcount
                        type: integer
                      lastRunTs:
                        description: Last timestamp (epoch) of the validation run.
                        title: Lastrunts
                        type: number
                      runStatusMessage:
                        default: ok
                        description: Status message of the validation run.
                        title: Runstatusmessage
                        type: string
                      status:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/IncidentValidationStatus'
                        default: running
                    title: IncidentValidation
                    type: object
                  IncidentValidationStatus:
                    description: An enumeration.
                    enum:
                    - running
                    - error
                    - resolved
                    - unresolved
                    - canceling
                    title: IncidentValidationStatus
                    type: string
                  ProfilerColumnEvent:
                    properties:
                      columnUuid:
                        description: UUID of the column.
                        title: Columnuuid
                        type: string
                      eventDetail:
                        description: This is a dictionary giving more information about the event.
                        title: Eventdetail
                        type: object
                      eventTs:
                        description: Timestamp (epoch) of the event.
                        title: Eventts
                        type: number
                      eventType:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/ProfilerColumnEventType'
                        description: Type of column event.
                      recordedTs:
                        description: Timestamp (epoch) when event was recorded.
                        title: Recordedts
                        type: number
                      sourceUuid:
                        title: Sourceuuid
                        type: string
                      tableUuid:
                        title: Tableuuid
                        type: string
                      type:
                        default: profilerColumnEvent
                        enum:
                        - profilerColumnEvent
                        title: Type
                        type: string
                      uuid:
                        description: UUID of the profiler column event.
                        title: Uuid
                        type: string
                    required:
                    - uuid
                    - eventTs
                    - recordedTs
                    - eventType
                    - eventDetail
                    title: ProfilerColumnEvent
                    type: object
                  ProfilerColumnEventType:
                    description: An enumeration.
                    enum:
                    - columnCardinalityChanged
                    title: ProfilerColumnEventType
                    type: string
                  ProfilerEvent:
                    properties:
                      eventDetail:
                        description: This is a dictionary giving more information about the event.
                        title: Eventdetail
                        type: object
                      eventTs:
                        description: Timestamp (epoch) of the event.
                        title: Eventts
                        type: number
                      eventType:
                        allOf:
                        - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/ProfilerEventType'
                        description: Type of the profiler event.
                      schemaUuid:
                        description: UUID of the schema.
                        title: Schemauuid
                        type: string
                      sourceUuid:
                        description: UUID of the datasource.
                        title: Sourceuuid
                        type: string
                      tableUuid:
                        description: UUID of the table.
                        title: Tableuuid
                        type: string
                      type:
                        default: profilerEvent
                        enum:
                        - profilerEvent
                        title: Type
                        type: string
                      uuid:
                        description: UUID of the profiler event.
                        title: Uuid
                        type: string
                    required:
                    - uuid
                    - eventTs
                    - sourceUuid
                    - eventType
                    - eventDetail
                    title: ProfilerEvent
                    type: object
                  ProfilerEventType:
                    description: An enumeration.
                    enum:
                    - schemaAdded
                    - schemaDeleted
                    - schemaRecovery
                    - tableAdded
                    - tableUpdated
                    - tableDeleted
                    - tableRecovery
                    - columnAdded
                    - columnUpdated
                    - columnDeleted
                    - columnRecovery
                    title: ProfilerEventType
                    type: string
                properties:
                  close_ts:
                    description: Close timestamp (epoch) of incident
                    title: Close Ts
                    type: number
                  creation_ts:
                    description: Timestamp (epoch) when incident was detected by the system
                    title: Creation Ts
                    type: number
                  direction:
                    allOf:
                    - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/IncidentDirection'
                    description: 'Which direction the metric deviated from expectations. Available options: NULL:0 UP:1 DOWN:2 BOTH:3 '
                  end_ts:
                    description: End timestamp (epoch) of incident
                    title: End Ts
                    type: number
                  filter_uuid:
                    description: This is UUID of the monitor (incident_type = anomalyIncident) or appropriate table, source, column uuid (incident_type = eventIncident) associated with this incident.
                    title: Filter Uuid
                    type: string
                  id:
                    description: User friendly ID of incident.
                    title: Id
                    type: integer
                  impact:
                    description: A number of 1 to 10 indicating the incident severity.
                    title: Impact
                    type: number
                  incident_type:
                    allOf:
                    - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/IncidentType'
                    description: Indicates whether an anomaly or an event caused the incident.
                  metadata:
                    anyOf:
                    - items:
                        $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/ProfilerEvent'
                      type: array
                    - items:
                        $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/ProfilerColumnEvent'
                      type: array
                    description: List containing metadata about the incident. OPTION 1 is for table event; OPTION 2 is for column event.
                    title: Metadata
                  ongoing:
                    description: True if incident is ongoing
                    title: Ongoing
                    type: boolean
                  reason:
                    description: Internal string
                    title: Reason
                    type: string
                    writeOnly: true
                  send_reminder:
                    default: false
                    description: True if sending recurring notification needed
                    title: Send Reminder
                    type: boolean
                  slice:
                    description: Slice associated with incident
                    title: Slice
                    type: object
                  start_ts:
                    description: Start timestamp (epoch) of incident
                    title: Start Ts
                    type: number
                  status:
                    allOf:
                    - $ref: '#/paths/~1api~1v0~1ws~1%7Bworkspace_id%7D~1incidents~1%7Bincident_uuid%7D/get/responses/200/content/application~1json/schema/definitions/IncidentStatus'
                    default: 1
                    description: 'Status of incident. Available options: UNVIEWED:1 VIEWED:2 REJECTED:3 SUBMITTED:4 CLOSED:5 '
                  updated_ts:
                    description: Last timestamp (epoch) when incident was updated by the system
                    title: Updated Ts
                    type: number
                  uuid:
                    description: UUID of the incident
                    title: Uuid
                    type: string
                  validation:
                    allOf:
            

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lightup/refs/heads/main/openapi/lightup-incidents-api-openapi.yml