Entier, de 1 à 100, 25 par défaut. Hors de cet intervalle ou non entier → 400 invalid_request, jamais ramené en silence dans l’intervalle.
cursor
Chaîne opaque reprise du next_cursor d’une réponse précédente. Absent, vide, ou la chaîne littérale null : c’est la première page. Un curseur illisible → 400 invalid_request.
Un cursor vide demande la première page : la même commande fonctionne donc pour toutes les pages.
Vérifiez toujours has_more avant de suivre next_cursor. Avec la simulation locale, qui renvoie toujours le même exemple figé, une boucle qui ne vérifie pas has_more peut tourner sans fin.
GET /webhooks fait exception : un espace de travail a au plus 20 abonnements actifs, la route les renvoie donc tous d’un coup — y compris les abonnements désactivés, jusqu’à leur suppression — sous la forme { "data": [ ] }.Le curseur est opaque — ne l’analysez pas, ne le conservez pas et ne supposez rien de son format. Sa forme peut changer sans préavis.
{"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":"6aeb1ac41f0e0ab891cce2c4","collectionId":"8e2d1f78-31e3-4a96-b15d-cda38a8496eb","liveDeploymentHistoryId":"6aeb1ac41f0e0ab891cce2c4","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":"guides/pagination","slug":"/guides/pagination","pageMetadata":{"title":"Pagination","description":"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage","href":"/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: \"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage\"\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:[`Toutes les routes de liste paginées (`,_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`}),`) renvoient la même forme :`]}),`\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:`paramètres-de-requête`,children:`Paramètres de requête`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Paramètre`}),_jsx(_components.th,{children:`Remarques`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`limit`})}),_jsxs(_components.td,{children:[`Entier, de 1 à 100, 25 par défaut. Hors de cet intervalle ou non entier → `,_jsx(_components.code,{children:`400 invalid_request`}),`, jamais ramené en silence dans l’intervalle.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cursor`})}),_jsxs(_components.td,{children:[`Chaîne opaque reprise du `,_jsx(_components.code,{children:`next_cursor`}),` d’une réponse précédente. Absent, vide, ou la chaîne littérale `,_jsx(_components.code,{children:`null`}),` : c’est la première page. Un curseur illisible → `,_jsx(_components.code,{children:`400 invalid_request`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`parcourir-toutes-les-pages`,children:`Parcourir toutes les pages`}),`\n`,_jsxs(_components.p,{children:[`Cette boucle utilise `,_jsx(_components.a,{href:`https://jqlang.org`,children:_jsx(_components.code,{children:`jq`})}),` pour lire la réponse :`]}),`\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:` # traiter la 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:[`Un `,_jsx(_components.code,{children:`cursor`}),` vide demande la première page : la même commande fonctionne donc pour toutes les pages.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Vérifiez toujours `,_jsx(_components.code,{children:`has_more`}),` avant de suivre `,_jsx(_components.code,{children:`next_cursor`}),`. Avec la simulation locale, qui renvoie toujours le même exemple figé, une boucle qui ne vérifie pas `,_jsx(_components.code,{children:`has_more`}),` peut tourner sans fin.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET /webhooks`}),` fait exception : un espace de travail a au plus 20 abonnements actifs, la route les renvoie donc tous d’un coup — y compris les abonnements désactivés, jusqu’à leur suppression — sous la forme `,_jsx(_components.code,{children:`{ \"data\": [ ] }`}),`.`]}),`\n`,_jsx(_components.p,{children:`Le curseur est opaque — ne l’analysez pas, ne le conservez pas et ne supposez rien de son format. Sa forme peut changer sans préavis.`})]})}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":"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage","href":"/guides/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Paramètres de requête","slug":"paramètres-de-requête","depth":2,"children":[]},{"title":"Parcourir toutes les pages","slug":"parcourir-toutes-les-pages","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"agentova-2c667f5d","siteName":"Agentova API","title":"Pagination - Agentova API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"fr":{"href":"/guides/pagination","matchLevel":0},"en":{"href":"/en/guides/pagination","matchLevel":1}}},"lastModified":"2026-11-04T12:46:01.152Z","originalFileLocation":"guides/pagination.mdx","locale":"fr"},"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=\"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage\">\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=\"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agentova API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentova.ai/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=Toutes+les+routes+de+liste+se+parcourent+avec+un+curseur+opaque+%E2%80%94+jamais+avec+un+d%C3%A9calage\u0026amp;theme=3bd408b6ad3e057590ca96db\u0026amp;signature=2fbbb6dfb98b2bf0acfe3b7bde7b7845e5492d30e62a9b0667c54856eab2e088\">\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=\"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agentova-2c667f5d.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=Pagination\u0026amp;description=Toutes+les+routes+de+liste+se+parcourent+avec+un+curseur+opaque+%E2%80%94+jamais+avec+un+d%C3%A9calage\u0026amp;theme=3bd408b6ad3e057590ca96db\u0026amp;signature=2fbbb6dfb98b2bf0acfe3b7bde7b7845e5492d30e62a9b0667c54856eab2e088\">\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/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/pagination.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.agentova.ai/guides/pagination\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.agentova.ai/en/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/guides/pagination#webpage\",\"url\":\"https://docs.agentova.ai/guides/pagination\",\"name\":\"Pagination\",\"description\":\"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage\",\"dateModified\":\"2026-11-04T12:46:01.152Z\",\"isPartOf\":{\"@id\":\"https://docs.agentova.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentova.ai/guides/pagination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentova.ai/guides/pagination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.agentova.ai/guides/concepts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pagination\",\"item\":\"https://docs.agentova.ai/guides/pagination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.agentova.ai/guides/pagination#article\",\"headline\":\"Pagination\",\"name\":\"Pagination\",\"description\":\"Toutes les routes de liste se parcourent avec un curseur opaque — jamais avec un décalage\",\"url\":\"https://docs.agentova.ai/guides/pagination\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentova.ai/guides/pagination#webpage\"},\"dateModified\":\"2026-11-04T12:46:01.152Z\",\"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"}},"tabs":[{"tab":"Guides","groups":[{"group":"Bien démarrer","pages":[{"title":"Introduction","href":""},{"title":"Démarrage rapide","href":"/quickstart"}]},{"group":"Guides","pages":[{"title":"Concepts","href":"/guides/concepts"},{"title":"Webhooks et signatures","description":"Abonnez-vous aux événements de l'espace de travail, vérifiez qu'une livraison vient bien d'Agentova et gérez les nouveaux essais","href":"/guides/webhooks-and-signatures"},{"title":"Pagination","href":"/guides/pagination"},{"title":"Erreurs","description":"Toutes les erreurs ont la même forme — orientez votre code sur `code`, jamais sur `message`","href":"/guides/errors"},{"title":"Limites de requêtes","href":"/guides/rate-limits"},{"title":"Sécurité","href":"/security"}]},{"group":"Aide","pages":[{"title":"Dépannage","href":"/troubleshooting"},{"title":"Support","href":"/support"}]},{"group":"Nouveautés","pages":[{"title":"Versions","href":"/versioning"},{"title":"Journal des modifications","href":"/changelog"}]}]},{"tab":"Zapier","pages":[{"title":"Zapier","href":"/zapier/overview"}]},{"tab":"n8n","pages":[{"title":"n8n","href":"/n8n/overview"}]},{"tab":"Référence de l'API","pages":[{"title":"Référence de l'API","href":"/api-reference/list-automations"}]}]},{"language":"en","navbar":{"links":[{"href":"/en/support","label":"Support"}],"primary":{"type":"button","label":"Contact support","href":"mailto:contact@agentova.ai"}},"pages":[{"title":"en","href":"/en/guides/pagination"}]}]},"basePath":"","title":"Pagination - Agentova API","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":[],"chunks":[]}