---
title: "GET /api/v1/docs-sites/{spaceId}/builds"
method: GET
path: "/api/v1/docs-sites/{spaceId}/builds"
---

# GET /api/v1/docs-sites/{spaceId}/builds

`GET /api/v1/docs-sites/{spaceId}/builds`

## Request

- Base URL: `https://falconer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://falconer.com/api/v1/docs-sites/{spaceId}/builds`
- Auth: none declared

## Path parameters

- `spaceId` integer, required: Space id, from GET /spaces.

## Query parameters

- `limit` integer
- `cursor` string: nextCursor from the previous page.

## Headers

- `x-organization-id` string: Required when using OAuth bearer tokens.

## Response `200`

Release builds, newest first.

- DocsBuildList
  - `data` DocsBuildSummary[], required
    - `id` string, required
    - `buildNumber` integer, nullable, required
    - `status` 'queued' | 'building' | 'succeeded' | 'failed', required
    - `indexStatus` 'pending' | 'indexing' | 'ready' | 'failed', required: Search indexing of the build; meaningful once status is succeeded.
    - `error` string, nullable, required
    - `indexError` string, nullable, required
    - `autoPublish` boolean, required
    - `isPublished` boolean, required: Whether this build is the one the live site serves.
    - `staleSubdomain` boolean, required: Built before the site was renamed, so its canonical URLs and sitemap point at the old host. Publishing it serves stale URLs until a rebuild.
    - `requestedBy` object, nullable, required
      - `id` string, required
      - `name` string, nullable, required
    - `createdAt` string, required
    - `completedAt` string, nullable, required
  - `nextCursor` string

## Other responses

- `400`: Bad request
- `403`: Public docs are not enabled or permission is missing
- `404`: Docs site or build not found

---

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