# PaginationCursor

Follow a cursor until the response says there is no more.

Type: object

Fields typed as another model are documented on that model's page; fetch it before filling the field.

| Field | Type | Required | Description | Allowed values / default / constraints |
| --- | --- | --- | --- | --- |
| `limit` | integer, nullable | no | Stop once this many items have been collected. Omit (or 0) to keep going until the endpoint runs out. | min: 0.0 |
| `rate_limit` | string, nullable | no | Pause between requests. Either "N/seconds" — e.g. "100/10" for 100 requests per 10 seconds — or a plain number of seconds, e.g. "0.5". |  |
| `scope` | string | no | Where the paging parameters are placed: the query string or the JSON body. | one of: `"query"`, `"body"`; default: `"query"` |
| `type` | string | yes | Selects **cursor** pagination: the response carries an opaque cursor that is sent back to fetch the next page. | const: `"cursor"` |
| `cursor_param` | string | no | Request parameter carrying the cursor. | default: `"cursor"` |
| `has_more_key` | string | no | Response key holding the more-pages flag. | default: `"has_more"` |
| `next_cursor_key` | string | no | Response key holding the next cursor. | default: `"next_cursor"` |

## Used by

- [GET /rest/beta/automations/](https://dev-api.sheetgo.com/rest/reference/automations.md#get-rest-beta-automations)
- [GET /rest/beta/automations/{id}](https://dev-api.sheetgo.com/rest/reference/automations.md#get-rest-beta-automations-id)
- [GET /rest/beta/workflows/](https://dev-api.sheetgo.com/rest/reference/workflows.md#get-rest-beta-workflows)
- [GET /rest/beta/workflows/{id}](https://dev-api.sheetgo.com/rest/reference/workflows.md#get-rest-beta-workflows-id)
- [PATCH /rest/beta/automations/{id}](https://dev-api.sheetgo.com/rest/reference/automations.md#patch-rest-beta-automations-id)
- [PATCH /rest/beta/workflows/{id}](https://dev-api.sheetgo.com/rest/reference/workflows.md#patch-rest-beta-workflows-id)
- [POST /rest/beta/automations/](https://dev-api.sheetgo.com/rest/reference/automations.md#post-rest-beta-automations)
- [POST /rest/beta/workflows/](https://dev-api.sheetgo.com/rest/reference/workflows.md#post-rest-beta-workflows)
- [PUT /rest/beta/automations/{id}](https://dev-api.sheetgo.com/rest/reference/automations.md#put-rest-beta-automations-id)
- [SourceAPI](https://dev-api.sheetgo.com/rest/reference/models/SourceAPI.md)

---

More: start page https://dev-api.sheetgo.com/rest/reference.md, everything in one file https://dev-api.sheetgo.com/rest/llms-full.txt, OpenAPI https://dev-api.sheetgo.com/rest/openapi.json.
