Integer, 1–100, defaults to 25. Out of range or not an integer → 400 invalid_request, never silently clamped.
cursor
Opaque string from a previous response’s next_cursor. Absent, empty, or the literal string null means the first page. An unreadable cursor → 400 invalid_request.
An empty cursor asks for the first page, so the same command works for every page.
Always check has_more before following next_cursor. Against the local mock, which always answers the same static example, looping without checking has_more can spin forever.
GET /webhooks is the exception: a workspace has at most 20 active subscriptions, so it returns them all at once — the disabled ones included, until they’re deleted — as { "data": [ ] }.The cursor is opaque — don’t parse it, store it, or assume anything about its format. It can change shape without notice.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Agentova API","colors":{"primary":"#26D8FF","light":"#26D8FF","dark":"#020308"},"logo":{"light":"https://mintcdn.com/agentova-2c667f5d/Xl6jEAYNYyd4kO2m/brand/logo/logo-ink.svg?fit=max\u0026auto=format\u0026n=Xl6jEAYNYyd4kO2m\u0026q=85\u0026s=cd9afebdaa853d2794ed37edbe695f3b","dark":"https://mintcdn.com/agentova-2c667f5d/Xl6jEAYNYyd4kO2m/brand/logo/logo-white.svg?fit=max\u0026auto=format\u0026n=Xl6jEAYNYyd4kO2m\u0026q=85\u0026s=50622e182c43b32e6e51d92ccc849a4f","href":"https://agentova.ai"},"favicon":"https://mintcdn.com/agentova-2c667f5d/Xl6jEAYNYyd4kO2m/brand/dark/favicon-48.png?fit=max\u0026auto=format\u0026n=Xl6jEAYNYyd4kO2m\u0026q=85\u0026s=82b67249e01e25cd96d3bf6884e514dd","api":{"playground":{"display":"interactive","proxy":true}},"footer":{"socials":{"github":"https://github.com/Agentova-ai-Company"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"fr","navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Contacter le support","href":"mailto:contact@agentova.ai"}},"href":""},{"language":"en","navbar":{"links":[{"href":"/en/support","label":"Support"}],"primary":{"type":"button","label":"Contact support","href":"mailto:contact@agentova.ai"}},"href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agentova-2c667f5d","hasAudioNarration":false,"actualSubdomain":"agentova-2c667f5d","customDomains":["docs.agentova.ai"],"gitSource":{"type":"github","owner":"agentova-ai-company","repo":"api-docs-agentova-ai","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6aeb29011c0770128d3242a7","collectionId":"1dd8dc47-c446-446b-aa0c-391160f166ac","liveDeploymentHistoryId":"6aeb29011c0770128d3242a7","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aeb29011c0770128d3242a7","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"fr","tag":"Guides","count":18},{"language":"en","tag":"Guides","count":18},{"language":"en","tag":"API Reference","count":18},{"language":"fr","tag":"Référence de l'API","count":9},{"language":"fr","tag":"API Reference","count":9},{"language":"fr","tag":"Bien démarrer","count":7},{"language":"fr","tag":"n8n","count":7},{"language":"en","tag":"n8n","count":7},{"language":"fr","tag":"Zapier","count":6},{"language":"en","tag":"Zapier","count":6},{"language":"en","tag":"Get started","count":5},{"language":"fr","tag":"Aide","count":4},{"language":"en","tag":"Help","count":4},{"language":"fr","tag":"Nœuds","count":3},{"language":"fr","tag":"Utiliser l'app","count":3},{"language":"en","tag":"Nodes","count":3},{"language":"en","tag":"Using the app","count":3},{"language":"fr","tag":"Nouveautés","count":2},{"language":"en","tag":"Updates","count":2},{"language":"en","tag":"Getting Started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/guides/pagination","slug":"/en/guides/pagination","pageMetadata":{"title":"Pagination","description":"Every list endpoint pages through an opaque cursor — never an offset","href":"/en/guides/pagination"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every list endpoint pages through an opaque cursor — never an offset\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every paginated list endpoint (`,_jsx(_components.code,{children:`GET /automations`}),`, `,_jsx(_components.code,{children:`GET /runs`}),`, `,_jsx(_components.code,{children:`GET /automations/{id}/runs`}),`, `,_jsx(_components.code,{children:`GET /leads`}),`) returns the same shape:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ ],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"has_more\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_cursor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque-cursor-string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Notes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limit`})}),_jsxs(_components.td,{children:[`Integer, 1–100, defaults to 25. Out of range or not an integer → `,_jsx(_components.code,{children:`400 invalid_request`}),`, never silently clamped.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cursor`})}),_jsxs(_components.td,{children:[`Opaque string from a previous response’s `,_jsx(_components.code,{children:`next_cursor`}),`. Absent, empty, or the literal string `,_jsx(_components.code,{children:`null`}),` means the first page. An unreadable cursor → `,_jsx(_components.code,{children:`400 invalid_request`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`walking-every-page`,children:`Walking every page`}),`\n`,_jsxs(_components.p,{children:[`This loop uses `,_jsx(_components.a,{href:`https://jqlang.org`,children:_jsx(_components.code,{children:`jq`})}),` to read the response:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`cursor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`while`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` :`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`do`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -s`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://core-api.agentova.ai/v1/automations\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"limit=100\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cursor=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$cursor`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer agk_live_your_key_here\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` printf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '%s'`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.data[] | \"\\\\(.id) \\\\(.name)\"'`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # process the page`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` has_more`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`printf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '%s'`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.has_more'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$has_more`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`||`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` break`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cursor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`printf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '%s'`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.next_cursor'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`done`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`An empty `,_jsx(_components.code,{children:`cursor`}),` asks for the first page, so the same command works for every page.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Always check `,_jsx(_components.code,{children:`has_more`}),` before following `,_jsx(_components.code,{children:`next_cursor`}),`. Against the local mock, which always answers the same static example, looping without checking `,_jsx(_components.code,{children:`has_more`}),` can spin forever.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /webhooks`}),` is the exception: a workspace has at most 20 active subscriptions, so it returns them all at once — the disabled ones included, until they’re deleted — as `,_jsx(_components.code,{children:`{ \"data\": [ ] }`}),`.`]}),`\n`,_jsx(_components.p,{children:`The cursor is opaque — don’t parse it, store it, or assume anything about its format. It can change shape without notice.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Pagination","description":"Every list endpoint pages through an opaque cursor — never an offset","href":"/en/guides/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Walking every page","slug":"walking-every-page","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"agentova-2c667f5d","siteName":"Agentova API","title":"Pagination - Agentova API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"fr":{"href":"/guides/pagination","matchLevel":1},"en":{"href":"/en/guides/pagination","matchLevel":0}}},"lastModified":"2026-11-04T12:46:01.157Z","originalFileLocation":"en/guides/pagination.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every list endpoint pages through an opaque cursor — never an offset\">\u003cmeta data-mint-head name=\"application-name\" content=\"Agentova API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pagination - Agentova API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every list endpoint pages through an opaque cursor — never an offset\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agentova API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentova.ai/en/guides/pagination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agentova-2c667f5d.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Pagination\u0026amp;description=Every+list+endpoint+pages+through+an+opaque+cursor+%E2%80%94+never+an+offset\u0026amp;theme=3bd408b6ad3e057590ca96db\u0026amp;signature=5b34286e7eaa9bfaf9ff1546244b5ba1ef3de51177629a03c77b30f75a437311\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pagination - Agentova API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every list endpoint pages through an opaque cursor — never an offset\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agentova-2c667f5d.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Pagination\u0026amp;description=Every+list+endpoint+pages+through+an+opaque+cursor+%E2%80%94+never+an+offset\u0026amp;theme=3bd408b6ad3e057590ca96db\u0026amp;signature=5b34286e7eaa9bfaf9ff1546244b5ba1ef3de51177629a03c77b30f75a437311\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/agentova-2c667f5d/cOZ9di9FMDzG0OX5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agentova API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#26D8FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentova.ai/en/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/guides/pagination.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.agentova.ai/en/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.agentova.ai/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.agentova.ai/guides/pagination\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentova.ai/#organization\",\"name\":\"Agentova API\",\"url\":\"https://docs.agentova.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agentova-2c667f5d/Xl6jEAYNYyd4kO2m/brand/logo/logo-ink.svg?fit=max\u0026auto=format\u0026n=Xl6jEAYNYyd4kO2m\u0026q=85\u0026s=cd9afebdaa853d2794ed37edbe695f3b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentova.ai#website\",\"name\":\"Agentova API\",\"url\":\"https://docs.agentova.ai\",\"publisher\":{\"@id\":\"https://docs.agentova.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentova.ai/en/guides/pagination#webpage\",\"url\":\"https://docs.agentova.ai/en/guides/pagination\",\"name\":\"Pagination\",\"description\":\"Every list endpoint pages through an opaque cursor — never an offset\",\"dateModified\":\"2026-11-04T12:46:01.157Z\",\"isPartOf\":{\"@id\":\"https://docs.agentova.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentova.ai/en/guides/pagination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentova.ai/en/guides/pagination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.agentova.ai/en/guides/concepts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pagination\",\"item\":\"https://docs.agentova.ai/en/guides/pagination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.agentova.ai/en/guides/pagination#article\",\"headline\":\"Pagination\",\"name\":\"Pagination\",\"description\":\"Every list endpoint pages through an opaque cursor — never an offset\",\"url\":\"https://docs.agentova.ai/en/guides/pagination\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentova.ai/en/guides/pagination#webpage\"},\"dateModified\":\"2026-11-04T12:46:01.157Z\",\"publisher\":{\"@id\":\"https://docs.agentova.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentova.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agentova API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Agentova API","nav":{"global":null,"languages":[{"language":"fr","navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Contacter le support","href":"mailto:contact@agentova.ai"}},"pages":[{"title":"fr","href":"/guides/pagination"}]},{"language":"en","navbar":{"links":[{"href":"/en/support","label":"Support"}],"primary":{"type":"button","label":"Contact support","href":"mailto:contact@agentova.ai"}},"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/en"},{"title":"Quickstart","href":"/en/quickstart"}]},{"group":"Guides","pages":[{"title":"Concepts","href":"/en/guides/concepts"},{"title":"Webhooks \u0026 signatures","description":"Subscribe to workspace events, verify that a delivery really came from Agentova, and handle retries","href":"/en/guides/webhooks-and-signatures"},{"title":"Pagination","href":"/en/guides/pagination"},{"title":"Errors","description":"Every error follows the same shape — branch your code on `code`, never on `message`","href":"/en/guides/errors"},{"title":"Rate limits","href":"/en/guides/rate-limits"},{"title":"Security","href":"/en/security"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/en/troubleshooting"},{"title":"Support","href":"/en/support"}]},{"group":"Updates","pages":[{"title":"Versioning","href":"/en/versioning"},{"title":"Changelog","href":"/en/changelog"}]}]},{"tab":"Zapier","pages":[{"title":"Zapier","href":"/en/zapier/overview"}]},{"tab":"n8n","pages":[{"title":"n8n","href":"/en/n8n/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/en/api-reference/list-automations"}]}]}]},"basePath":"","title":"Pagination - Agentova API","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":[],"chunks":[]}