smart-tables
List Tables
Changed onList Tables in the workspace. Supports cursor-based pagination and optional filtering by folder or prompt column. Requests are scoped to the workspace associated with the API key; table, sheet, column, cell, operation, and version IDs must belong to that workspace.
get/api/public/v2/tables
Request
- Base URLhttps://docs.promptlayer.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
folder_idinteger
Filter by folder ID.
namestring
Filter by title (case-insensitive contains match).
cursorstring
Pagination cursor from a previous response.
limitinteger
order'asc' | 'desc'
prompt_idinteger
Filter to tables containing a column referencing this prompt.
prompt_version_idinteger
prompt_label_idinteger
Response
List of tables
Changes
- info
endpoint added
- info