---
title: "List Sheets"
method: GET
path: "/api/public/v2/tables/{table_id}/sheets"
tags: ["smart-tables"]
---

# List Sheets

`GET /api/public/v2/tables/{table_id}/sheets`

List all sheets in a table, ordered by their index. Requests are scoped to the workspace associated with the API key; table, sheet, column, cell, operation, and version IDs must belong to that workspace.

## Path parameters

- `table_id` string, uuid, required

## Query parameters

- `cursor` string
- `limit` integer
- `order` 'asc' | 'desc'
- `prompt_id` integer
- `prompt_version_id` integer
- `prompt_label_id` integer

## Response `200`

List of sheets

- object
  - `data` Sheet[]
    - `id` string, uuid
    - `table_id` string, uuid
    - `workspace_id` integer — Workspace that owns this resource; determined by the authenticated request scope.
    - `title` string
    - `index` integer — Display order of the sheet within the table (0-based).
    - `row_count` integer
    - `version_count` integer — Current sheet version number. It increments when sheet data, layout, score configuration, imports, or execution output changes.
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `next_cursor` string, nullable
  - `has_more` boolean

## Other responses

- `401` — Unauthorized - missing or invalid API key.
- `404` — Table not found
- `422` — Validation error - request parameters or body are invalid.

---

[API](https://skmtc.dev/promptlayer/apis/promptlayer-api.md) · [All operations](https://skmtc.dev/promptlayer/apis/promptlayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/promptlayer/promptlayer-api/revisions/a23093a0a506/schema)
