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

# Get connector health

> Returns health status for connectors configured in the current teamspace.



## OpenAPI

````yaml get /connectors/health
openapi: 3.0.3
info:
  version: 0.1.1
  title: Datagrid API
  description: Datagrid API
servers:
  - url: https://api.datagrid.com/v1
security:
  - BearerAuth: []
paths:
  /connectors/health:
    get:
      tags:
        - Connectors
      summary: Get connector health
      description: >-
        Returns health status for connectors configured in the current
        teamspace.
      operationId: Connectors.getConnectorHealth
      parameters:
        - name: connector_id
          in: query
          required: false
          schema:
            type: string
          description: Filter results to one connector id.
      responses:
        '200':
          description: Connector health status list
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConnectorHealthItem'
        '403':
          description: Connector health endpoint is disabled for this teamspace or user.
        '429':
          description: >-
            Rate limit exceeded. The request has been throttled because the rate
            limit for this endpoint has been reached. Check the `Retry-After`
            response header and retry after the specified number of seconds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitError'
components:
  schemas:
    ConnectorHealthItem:
      type: object
      required:
        - connection_id
        - connection_name
        - application_id
        - healthy
        - status
        - checked_at
        - timed_out
        - rolling_window
      properties:
        connection_id:
          type: string
        connection_name:
          type: string
        application_id:
          type: string
        healthy:
          type: boolean
        status:
          type: string
          enum:
            - healthy
            - degraded
            - unhealthy
        checked_at:
          type: string
        latency_ms:
          type: number
        status_code:
          type: number
        message:
          type: string
        last_error:
          type: string
        timed_out:
          type: boolean
        rolling_window:
          $ref: '#/components/schemas/ConnectorHealthRollingWindow'
    RateLimitError:
      type: object
      description: >-
        Returned when the rate limit is exceeded. Rate limits are enforced per
        teamspace, endpoint path, and HTTP method over a 60-second sliding
        window. Each endpoint may have its own limit — check the
        X-RateLimit-Limit response header for the effective value.
      required:
        - error
        - message
        - retryable
        - status_code
      properties:
        status_code:
          type: integer
          description: The HTTP status code (429).
        statusCode:
          type: integer
          deprecated: true
          description: Deprecated. Use status_code instead.
        error:
          type: string
          enum:
            - rate_limit_exceeded
          description: The error code identifying this as a rate limit error.
        message:
          type: string
          description: A human-readable error message.
        mitigation:
          type: string
          description: Suggested action to resolve the error.
        retryable:
          type: boolean
          description: Whether the request can be retried after a delay.
        details:
          type: object
          properties:
            reason:
              type: string
              description: A detailed explanation of why the rate limit was exceeded.
    ConnectorHealthRollingWindow:
      type: object
      required:
        - sample_size
        - healthy_count
        - success_rate
      properties:
        sample_size:
          type: number
        healthy_count:
          type: number
        success_rate:
          type: number
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````