---
title: "Get a space's diagnostics"
method: GET
path: "/v1/spaces/{spaceId}/diagnostics"
tags: ["Activity"]
---

# Get a space's diagnostics

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

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/spaces/{spaceId}/diagnostics`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns current publish, runtime, routing, and domain diagnostics.

## Path parameters

- `spaceId` string, required

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object[], required
    - `code` string, required: Stable snake_case diagnostic code naming the public contract that produced it.
    - `severity` 'info' | 'warning' | 'error', required: How actionable the diagnostic is.
    - `message` string, required: Human-readable explanation with enough detail to act on.
    - `path` string, nullable: Artifact path the diagnostic points at, for example "_headers:12", when one exists.
    - `provider` 'infra' | 'dns' | 'registrar' | 'runtime', nullable: Upstream system the diagnostic originated from, when not Spacefast itself.
    - `details` object, nullable: Machine-readable context for the diagnostic code.
    - `fix` string, nullable: Concrete, agent-actionable remediation hint, when one can be derived.
    - `retryable` boolean, nullable: Whether retrying the same operation can resolve this diagnostic without the caller changing anything.
    - `id` string, required: Stable diagnostic record id.
    - `versionId` string, required: Version the diagnostic was recorded against.
    - `createdAt` string, date-time, required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
