> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wirespeed.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Get integration health summary

> Returns counts by health status (healthy, unhealthy, unstable, unknown) for the attention banner and dashboards



## OpenAPI

````yaml https://api.wirespeed.co/v1/openapi.json get /v1/integration/health/summary
openapi: 3.0.0
info:
  title: Wirespeed API
  description: The public Wirespeed API. v1 is the first stable contract.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.wirespeed.co
security: []
tags: []
paths:
  /v1/integration/health/summary:
    get:
      tags:
        - Integration
      summary: Get integration health summary
      description: >-
        Returns counts by health status (healthy, unhealthy, unstable, unknown)
        for the attention banner and dashboards
      operationId: IntegrationController_getHealthSummary
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationHealthSummaryV2'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
      security:
        - bearer: []
components:
  schemas:
    IntegrationHealthSummaryV2:
      type: object
      properties:
        healthy:
          type: number
          description: Count of integrations with healthy status
        unhealthy:
          type: number
          description: Count of integrations with unhealthy status
        unstable:
          type: number
          description: Count of integrations with unstable status
        unknown:
          type: number
          description: Count of integrations with unknown status
        totalErrors:
          type: number
          description: Total errors across all integrations in the last 30 days
        totalWarnings:
          type: number
          description: Total warnings across all integrations in the last 30 days
        totalInfoLogs:
          type: number
          description: >-
            Total INFO-level log entries (treated as successful events) across
            all integrations in the last 30 days
        integrationsWithErrors:
          type: number
          description: Number of distinct integrations with errors in the last 30 days
        integrationsWithWarnings:
          type: number
          description: Number of distinct integrations with warnings in the last 30 days
        dailyHealth:
          description: Daily error and warning counts for the last 30 days
          type: array
          items:
            $ref: '#/components/schemas/DailyHealthCount'
        errorsByIntegration:
          type: object
          additionalProperties:
            type: number
          description: >-
            Per-integration error counts for the last 30 days. Key is
            integration ID, value is total errors.
        warningsByIntegration:
          type: object
          additionalProperties:
            type: number
          description: >-
            Per-integration warning counts for the last 30 days. Key is
            integration ID, value is total warnings.
        errorsByIntegrationDetail:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/IntegrationLogContribution'
          description: >-
            Per-integration error contributions for the last 30 days, including
            the timestamp of the most recent error. Key is integration ID.
        warningsByIntegrationDetail:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/IntegrationLogContribution'
          description: >-
            Per-integration warning contributions for the last 30 days,
            including the timestamp of the most recent warning. Key is
            integration ID.
      required:
        - healthy
        - unhealthy
        - unstable
        - unknown
        - totalErrors
        - totalWarnings
        - totalInfoLogs
        - integrationsWithErrors
        - integrationsWithWarnings
        - dailyHealth
        - errorsByIntegration
        - warningsByIntegration
        - errorsByIntegrationDetail
        - warningsByIntegrationDetail
    HttpError:
      type: object
      properties:
        message:
          type: string
        statusCode:
          type: number
      required:
        - message
        - statusCode
    DailyHealthCount:
      type: object
      properties:
        date:
          type: string
          description: Date in YYYY-MM-DD format
        errors:
          type: number
          description: Number of errors on this date
        warnings:
          type: number
          description: Number of warnings on this date
        successes:
          type: number
          description: Number of successful (INFO) log entries on this date
      required:
        - date
        - errors
        - warnings
        - successes
    IntegrationLogContribution:
      type: object
      properties:
        count:
          type: number
          description: Total occurrences for this integration over the last 30 days
        lastSeen:
          type: string
          description: >-
            ISO timestamp of the most recent occurrence for this integration, or
            null when unknown
          nullable: true
      required:
        - count
        - lastSeen
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````