---
raw: true
search:
  tags:
    - Domains
    - GET
seo:
  description: >-
    Return DNS observations, provider setup… Reference for the GET
    /v1/spaces/{spaceId}/domains/{domainId}/diagnostics endpoint in the
    Spacefast Partner API.
sidebar:
  label: Get Space domain diagnostics
  badge: GET
title: Get Space domain diagnostics
type: openapi-operation
---
Return DNS observations, provider setup records, and SSL status.

`GET /v1/spaces/{spaceId}/domains/{domainId}/diagnostics`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "domainId": "string",
    "hostname": "string",
    "diagnostics": [
      {
        "code": "string",
        "severity": "info",
        "message": "string",
        "path": "string",
        "provider": "infra",
        "details": {
          "property1": null,
          "property2": null
        },
        "fix": "string",
        "retryable": true
      }
    ],
    "hostnameDiagnostics": [
      {
        "hostname": "string",
        "purpose": "apex",
        "isConfiguredHostname": true,
        "providerIps": [],
        "verificationCode": "string",
        "dnsInstructions": [],
        "dns": {
          "observedAt": "2019-08-24T14:15:22Z",
          "expectedTxtValue": "string",
          "pointsToProvider": true,
          "proxyDetected": true,
          "txtVerified": true,
          "hasAaaaRecords": true,
          "hasCaaRecords": true,
          "records": {
            "a": [],
            "aaaa": [],
            "caa": [],
            "cname": [],
            "txt": []
          },
          "byResolver": []
        },
        "ssl": {
          "status": "missing",
          "canRetry": true,
          "certificateId": "string",
          "validationExpiration": "string",
          "authzUri": "string",
          "brokenRecord": {
            "reason": "string",
            "lastError": "string",
            "retryDate": "string",
            "failCount": -9007199254740991
          }
        }
      }
    ]
  }
}
```
