---
title: "Read a complete database export page"
method: GET
path: "/v1/spaces/{spaceId}/db/export/{table}"
tags: ["Database"]
---

# Read a complete database export page

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

## Request

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

Returns one bounded keyset page of rows from a declared table in createdAt/id order. The schema hash and opaque cursor prevent pages from being mixed across exports.

## Path parameters

- `spaceId` string, required
- `table` string, required

## Query parameters

- `schemaHash` string, required: Schema fence from `GET /v1/spaces/{spaceId}/db/export`. A page whose table has changed shape since is rejected rather than mixed into the export.
- `cursor` string: Opaque cursor from the previous page's `pagination.nextCursor`.
- `limit` integer: Maximum rows to return in this page.

## 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
  - `pagination` object, required
    - `nextCursor` string, nullable, required: Opaque cursor for the next page; null when there are no more results.
    - `hasMore` boolean, required: Whether another page exists after this one.

## 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)
