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

# Get domain health

> Read per-domain sending status and provider bounce/complaint reputation samples. Missing or stale data is not evidence of good health; these are lagging indicators, not inbox placement predictions.

Required permission: `domains:read`.



## OpenAPI

````yaml /openapi.json get /domains/{id}/health
openapi: 3.1.0
info:
  title: Moonemail API
  version: 0.1.0
  description: >-
    Generated request, response and authorization contract. Covers authenticated
    product endpoints, not public discovery, dashboard assets or Stripe inbound
    webhooks. Go handlers enforce state-dependent and cross-field business
    validation.
servers:
  - url: https://api.moonemail.co
security: []
paths:
  /domains/{id}/health:
    get:
      tags:
        - Domains
      summary: Get domain health
      description: >-
        Read per-domain sending status and provider bounce/complaint reputation
        samples. Missing or stale data is not evidence of good health; these are
        lagging indicators, not inbox placement predictions.


        Required permission: `domains:read`.
      operationId: get_domain_health
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
            pattern: ^[A-Za-z0-9_-]+$
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  checked_at:
                    type: string
                  sending_enabled:
                    type:
                      - boolean
                      - 'null'
                  metrics_enabled:
                    type: boolean
                  sending_suspended:
                    type: boolean
                  bounce:
                    type: object
                    properties:
                      rate:
                        anyOf:
                          - type: number
                            minimum: 0
                            maximum: 1
                          - type: 'null'
                        description: Fraction, not percentage. Null means no usable sample.
                      observed_at:
                        type:
                          - string
                          - 'null'
                      state:
                        type: string
                        enum:
                          - no_data
                          - unavailable
                          - below_threshold
                          - stale
                          - review
                      review_threshold:
                        type: number
                    required:
                      - rate
                      - observed_at
                      - state
                      - review_threshold
                    additionalProperties: true
                  complaint:
                    type: object
                    properties:
                      rate:
                        anyOf:
                          - type: number
                            minimum: 0
                            maximum: 1
                          - type: 'null'
                        description: Fraction, not percentage. Null means no usable sample.
                      observed_at:
                        type:
                          - string
                          - 'null'
                      state:
                        type: string
                        enum:
                          - no_data
                          - unavailable
                          - below_threshold
                          - stale
                          - review
                      review_threshold:
                        type: number
                    required:
                      - rate
                      - observed_at
                      - state
                      - review_threshold
                    additionalProperties: true
                required:
                  - checked_at
                  - sending_enabled
                  - metrics_enabled
                  - sending_suspended
                  - bounce
                  - complaint
                additionalProperties: true
        default:
          description: API error
          content:
            application/json:
              schema:
                type: object
                required:
                  - statusCode
                  - name
                  - message
                properties:
                  statusCode:
                    type: integer
                  name:
                    type: string
                  message:
                    type: string
      security:
        - bearerKey: []
components:
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: Moonemail API key; x-required-scope applies.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.