datasets
Get Dataset Rows
get/api/public/v2/datasets/{dataset_id}/rows
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.
Path parameters
dataset_idinteger required
The ID of the dataset to retrieve rows from
Query parameters
workspace_idinteger
Filter by specific workspace ID. Defaults to current user's workspace.
pageinteger
Page number for pagination
per_pageinteger
Number of rows per page (max 100)
qstring
Search query for filtering rows
Response
Paginated dataset rows.
Changes
No recorded changes to this operation across all 3 revisions of this API.