---
raw: true
search:
  tags:
    - Database
    - GET
seo:
  description: >-
    Returns the live capsule's sorted table inventory and schema fence.…
    Reference for the GET /v1/spaces/{spaceId}/db/export endpoint in the
    Spacefast API.
sidebar:
  label: List exportable tables and the export schema fence
  badge: GET
title: List exportable tables and the export schema fence
type: openapi-operation
---
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.

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

**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": {
    "spaceId": "string",
    "versionId": "string",
    "schemaHash": "string",
    "consistency": "per_page",
    "ordering": {
      "tables": "name_asc",
      "rows": "created_at_id_asc"
    },
    "tables": [
      "string"
    ]
  }
}
```
