Skip to content

feat(api): page dataset items by default - #114

Closed
Pijukatel wants to merge 5 commits into
masterfrom
feat/dataset-items-default-page
Closed

Pijukatel wants to merge 5 commits into
masterfrom
feat/dataset-items-default-page

Conversation

@Pijukatel

Copy link
Copy Markdown
Collaborator
  • GET /v2/datasets/:datasetId/items without limit returns the first 250 items instead of the whole dataset, so a bare get-items on a large local dataset stays cheap.
  • offset and limit work as before and reach every item; the x-apify-pagination-* headers describe the page.

Generated by Claude Code

A request to the items endpoint without a limit now returns the first 250 items; offset and limit reach the rest.
ACTOR_RUNTIME_DATASET_PAGE_LIMIT sets how many items the items endpoint serves without a limit; 250 stays the default.
@apify-service-account

Copy link
Copy Markdown
Contributor

Platform parity:

Reviewed commit: a1d9146

No default page: a request without a limit gets every item from the offset on, and x-apify-pagination-limit carries the platform's unlimited value. The page size knob is gone.
@apify-service-account

Copy link
Copy Markdown
Contributor

Platform parity: Aligned.

Reviewed commit: 9672f60

@Pijukatel

Copy link
Copy Markdown
Collaborator Author

Test of CI

@Pijukatel Pijukatel closed this Oct 27, 2026
@Pijukatel
Pijukatel deleted the feat/dataset-items-default-page branch October 27, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants