Skip to main content
GET
/
api
/
public
/
v2
/
tables
/
{table_id}
/
sheets
List Sheets
curl --request GET \
  --url https://api.promptlayer.com/api/public/v2/tables/{table_id}/sheets \
  --header 'X-API-KEY: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workspace_id": 123,
      "title": "<string>",
      "index": 123,
      "row_count": 123,
      "version_count": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>",
  "has_more": true
}

Documentation Index

Fetch the complete documentation index at: https://promptlayer-claude-nice-fermi-nop3f.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

List all sheets in a table, ordered by their index (display position).

Authorizations

X-API-KEY
string
header
required

Path Parameters

table_id
string<uuid>
required

Query Parameters

cursor
string
limit
integer
default:20
Required range: 1 <= x <= 100
order
enum<string>
default:asc
Available options:
asc,
desc
prompt_id
integer
prompt_version_id
integer
prompt_label_id
integer

Response

List of sheets

data
object[]
next_cursor
string | null
has_more
boolean