---
title: "List exportable tables and the export schema fence"
method: GET
path: "/v1/spaces/{spaceId}/db/export"
tags: ["Database"]
---

# List exportable tables and the export schema fence

`GET /v1/spaces/{spaceId}/db/export`

## Request

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

Returns the live capsule's sorted table inventory and schema fence. Follow with the per-table export page route; each page is bounded and revalidates the schema.

## 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
    - `spaceId` string, nullable, required
    - `versionId` string, nullable, required
    - `schemaHash` string, required
    - `consistency` 'per_page', required
    - `ordering` object, required
      - `tables` 'name_asc', required
      - `rows` 'created_at_id_asc', required
    - `tables` string[], 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)
