[{"data":1,"prerenderedAt":1009},["Reactive",2],{"navigation-list":3,"page-/api-reference/api/pagination-navigation-name":460,"page-/api-reference/api/pagination":461},{"api-reference":4,"basics":312,"examples":353,"tree":440},{"asideHeader":5,"sectionList":6,"mainHeader":311},"API reference",[7,29,50,95,120,142,155,188,217,249,270],{"label":8,"navigation":-1,"to":9,"icon":10,"itemList":11},"API","/api-reference/api","medium/products/api",[12,17,21,25],{"label":13,"navigation":14,"to":15,"icon":-1,"itemList":16},"Quick setup guide","api-reference","/api-reference/api/quick-setup-guide",[],{"label":18,"navigation":14,"to":19,"icon":-1,"itemList":20},"Pagination","/api-reference/api/pagination",[],{"label":22,"navigation":14,"to":23,"icon":-1,"itemList":24},"API lifecycle","/api-reference/api/api-lifecycle",[],{"label":26,"navigation":14,"to":27,"icon":-1,"itemList":28},"Beta features","/api-reference/api/beta-features",[],{"label":30,"navigation":-1,"to":31,"icon":32,"itemList":33},"Vehicles","/api-reference/vehicle","medium/products/vehicle",[34,38,42,46],{"label":35,"navigation":14,"to":36,"icon":-1,"itemList":37},"Vehicle introduction","/api-reference/vehicle/introduction",[],{"label":39,"navigation":14,"to":40,"icon":-1,"itemList":41},"Query vehicles","/api-reference/vehicle/query-vehicles",[],{"label":43,"navigation":14,"to":44,"icon":-1,"itemList":45},"Query vehicle details","/api-reference/vehicle/query-vehicle-details",[],{"label":47,"navigation":14,"to":48,"icon":-1,"itemList":49},"Query premium vehicle details","/api-reference/vehicle/query-premium-vehicle-details",[],{"label":51,"navigation":-1,"to":52,"icon":53,"itemList":54},"Stations","/api-reference/stations","medium/products/charge-station",[55,59,63,67,71,75,79,83,87,91],{"label":56,"navigation":14,"to":57,"icon":-1,"itemList":58},"Station introduction","/api-reference/stations/introduction",[],{"label":60,"navigation":14,"to":61,"icon":-1,"itemList":62},"Query station details","/api-reference/stations/query-station-details",[],{"label":64,"navigation":14,"to":65,"icon":-1,"itemList":66},"Query stations around a GeoJSON point","/api-reference/stations/query-stations-around",[],{"label":68,"navigation":14,"to":69,"icon":-1,"itemList":70},"Query station reviews","/api-reference/stations/query-stations-reviews",[],{"label":72,"navigation":14,"to":73,"icon":-1,"itemList":74},"Mutate to create a station review","/api-reference/stations/mutate-station-reviews",[],{"label":76,"navigation":14,"to":77,"icon":-1,"itemList":78},"Query station operators","/api-reference/stations/query-station-operators",[],{"label":80,"navigation":14,"to":81,"icon":-1,"itemList":82},"Query station operator details","/api-reference/stations/query-station-operator-details",[],{"label":84,"navigation":14,"to":85,"icon":-1,"itemList":86},"Query station tariffs","/api-reference/stations/query-station-tariffs",[],{"label":88,"navigation":14,"to":89,"icon":-1,"itemList":90},"Query station tariff details","/api-reference/stations/query-station-tariff-details",[],{"label":92,"navigation":14,"to":93,"icon":-1,"itemList":94},"Query station amenities","/api-reference/stations/query-station-amenities",[],{"label":96,"navigation":-1,"to":97,"icon":98,"itemList":99},"Legacy | Routes","/api-reference/routes-legacy","medium/products/route",[100,104,108,112,116],{"label":101,"navigation":14,"to":102,"icon":-1,"itemList":103},"Route legacy introduction","/api-reference/routes-legacy/introduction",[],{"label":105,"navigation":14,"to":106,"icon":-1,"itemList":107},"Mutate to create a new legacy route","/api-reference/routes-legacy/mutate-route",[],{"label":109,"navigation":14,"to":110,"icon":-1,"itemList":111},"Subscribe to route updates","/api-reference/routes-legacy/subscribe-to-route-updates",[],{"label":113,"navigation":14,"to":114,"icon":-1,"itemList":115},"Query route details","/api-reference/routes-legacy/query-route-details",[],{"label":117,"navigation":14,"to":118,"icon":-1,"itemList":119},"Query route path","/api-reference/routes-legacy/query-route-path",[],{"label":121,"navigation":-1,"to":122,"icon":98,"itemList":123},"Routes","/api-reference/routes",[124,128,132,136,139],{"label":125,"navigation":14,"to":126,"icon":-1,"itemList":127},"Route introduction","/api-reference/routes/introduction",[],{"label":129,"navigation":14,"to":130,"icon":-1,"itemList":131},"Migration from Route Legacy","/api-reference/routes/migration",[],{"label":133,"navigation":14,"to":134,"icon":-1,"itemList":135},"Mutate to create a new route","/api-reference/routes/mutate-route",[],{"label":109,"navigation":14,"to":137,"icon":-1,"itemList":138},"/api-reference/routes/subscribe-to-route-updates",[],{"label":113,"navigation":14,"to":140,"icon":-1,"itemList":141},"/api-reference/routes/query-route-details",[],{"label":143,"navigation":-1,"to":144,"icon":145,"itemList":146},"Emissions","/api-reference/route-emissions","medium/content/leaf",[147,151],{"label":148,"navigation":14,"to":149,"icon":-1,"itemList":150},"Route emissions introduction","/api-reference/route-emissions/introduction",[],{"label":152,"navigation":14,"to":153,"icon":-1,"itemList":154},"Query route emissions","/api-reference/route-emissions/query-route-emissions",[],{"label":156,"navigation":-1,"to":157,"icon":158,"itemList":159},"Navigation","/api-reference/navigation","medium/products/navigation",[160,164,168,172,176,180,184],{"label":161,"navigation":14,"to":162,"icon":-1,"itemList":163},"Navigation introduction","/api-reference/navigation/introduction",[],{"label":165,"navigation":14,"to":166,"icon":-1,"itemList":167},"Mutate to start a new navigation session","/api-reference/navigation/mutate-start-navigation",[],{"label":169,"navigation":14,"to":170,"icon":-1,"itemList":171},"Subscribe to navigation updates","/api-reference/navigation/subscribe-to-navigation-updates",[],{"label":173,"navigation":14,"to":174,"icon":-1,"itemList":175},"Query navigation session","/api-reference/navigation/query-a-navigation-session",[],{"label":177,"navigation":14,"to":178,"icon":-1,"itemList":179},"Mutate to update a navigation session","/api-reference/navigation/mutate-update-navigation",[],{"label":181,"navigation":14,"to":182,"icon":-1,"itemList":183},"Mutate to recalculate navigation","/api-reference/navigation/mutate-recalculate-navigation",[],{"label":185,"navigation":14,"to":186,"icon":-1,"itemList":187},"Mutate to finish navigation","/api-reference/navigation/mutate-to-finish-navigation",[],{"label":189,"navigation":-1,"to":190,"icon":191,"itemList":192},"Legacy | Tile service","/api-reference/tile-service-legacy","medium/products/tile-set",[193,197,201,205,209,213],{"label":194,"navigation":14,"to":195,"icon":-1,"itemList":196},"Legacy | Tile service introduction","/api-reference/tile-service-legacy/introduction",[],{"label":198,"navigation":14,"to":199,"icon":-1,"itemList":200},"Legacy | Mapbox Vector Tile","/api-reference/tile-service-legacy/mvt",[],{"label":202,"navigation":14,"to":203,"icon":-1,"itemList":204},"Legacy | JSON Tile","/api-reference/tile-service-legacy/json",[],{"label":206,"navigation":14,"to":207,"icon":-1,"itemList":208},"Legacy | Filters","/api-reference/tile-service-legacy/filters",[],{"label":210,"navigation":14,"to":211,"icon":-1,"itemList":212},"Legacy | Selectors","/api-reference/tile-service-legacy/selectors",[],{"label":214,"navigation":14,"to":215,"icon":-1,"itemList":216},"Legacy | Integration","/api-reference/tile-service-legacy/integration",[],{"label":218,"navigation":-1,"to":219,"icon":191,"itemList":220},"Tile service","/api-reference/tile-service",[221,225,229,233,237,241,245],{"label":222,"navigation":14,"to":223,"icon":-1,"itemList":224},"Tile service introduction","/api-reference/tile-service/introduction",[],{"label":226,"navigation":14,"to":227,"icon":-1,"itemList":228},"Mapbox Vector Tile","/api-reference/tile-service/mvt",[],{"label":230,"navigation":14,"to":231,"icon":-1,"itemList":232},"JSON Tile","/api-reference/tile-service/json",[],{"label":234,"navigation":14,"to":235,"icon":-1,"itemList":236},"Filters","/api-reference/tile-service/filters",[],{"label":238,"navigation":14,"to":239,"icon":-1,"itemList":240},"Selectors","/api-reference/tile-service/selectors",[],{"label":242,"navigation":14,"to":243,"icon":-1,"itemList":244},"Station count","/api-reference/tile-service/count",[],{"label":246,"navigation":14,"to":247,"icon":-1,"itemList":248},"Integration","/api-reference/tile-service/integration",[],{"label":250,"navigation":-1,"to":251,"icon":252,"itemList":253},"Isolines","/api-reference/isolines","medium/products/isoline",[254,258,262,266],{"label":255,"navigation":14,"to":256,"icon":-1,"itemList":257},"Isoline introduction","/api-reference/isolines/introduction",[],{"label":259,"navigation":14,"to":260,"icon":-1,"itemList":261},"Mutation to create an isoline","/api-reference/isolines/mutate-isoline",[],{"label":263,"navigation":14,"to":264,"icon":-1,"itemList":265},"Subscribe to isoline details","/api-reference/isolines/subscribe-to-isoline",[],{"label":267,"navigation":14,"to":268,"icon":-1,"itemList":269},"Query isoline details","/api-reference/isolines/query-isoline",[],{"label":271,"navigation":-1,"to":272,"icon":273,"itemList":274},"Vehicle connectivity","/api-reference/vehicle-connectivity","medium/products/connectivity",[275,279,283,287,291,295,299,303,307],{"label":276,"navigation":14,"to":277,"icon":-1,"itemList":278},"Introduction","/api-reference/vehicle-connectivity/introduction",[],{"label":280,"navigation":14,"to":281,"icon":-1,"itemList":282},"Mutate to create a new connected vehicle","/api-reference/vehicle-connectivity/mutate-create-connected-vehicle",[],{"label":284,"navigation":14,"to":285,"icon":-1,"itemList":286},"Subscribe to a connected vehicle","/api-reference/vehicle-connectivity/subscribe-connected-vehicle",[],{"label":288,"navigation":14,"to":289,"icon":-1,"itemList":290},"Mutate to authorize a connected vehicle","/api-reference/vehicle-connectivity/mutate-authorize-connected-vehicle",[],{"label":292,"navigation":14,"to":293,"icon":-1,"itemList":294},"Query connected vehicle list","/api-reference/vehicle-connectivity/query-connected-vehicle-list",[],{"label":296,"navigation":14,"to":297,"icon":-1,"itemList":298},"Query data from vehicle","/api-reference/vehicle-connectivity/query-connected-vehicle-data",[],{"label":300,"navigation":14,"to":301,"icon":-1,"itemList":302},"Query connected vehicle","/api-reference/vehicle-connectivity/query-connected-vehicle",[],{"label":304,"navigation":14,"to":305,"icon":-1,"itemList":306},"Mutate to update a connected vehicle","/api-reference/vehicle-connectivity/mutate-update-connected-vehicle",[],{"label":308,"navigation":14,"to":309,"icon":-1,"itemList":310},"Mutate to remove a connected vehicle","/api-reference/vehicle-connectivity/mutate-remove-connected-vehicle",[],"Sections",{"asideHeader":313,"sectionList":314,"mainHeader":311},"Basics",[315,341],{"label":316,"navigation":-1,"to":317,"icon":318,"itemList":319},"API Basics","/basics/api-basics","medium/code/code",[320,325,329,333,337],{"label":321,"navigation":322,"to":323,"icon":-1,"itemList":324},"Getting started","basics","/basics/api-basics/getting-started",[],{"label":326,"navigation":322,"to":327,"icon":-1,"itemList":328},"Authorization","/basics/api-basics/authorization",[],{"label":330,"navigation":322,"to":331,"icon":-1,"itemList":332},"Security","/basics/api-basics/security",[],{"label":334,"navigation":322,"to":335,"icon":-1,"itemList":336},"Status & error codes","/basics/api-basics/status-and-error-codes",[],{"label":338,"navigation":322,"to":339,"icon":-1,"itemList":340},"Subscriptions","/basics/api-basics/subscriptions",[],{"label":342,"navigation":-1,"to":343,"icon":318,"itemList":344},"Learn more","/basics/other-basics",[345,349],{"label":346,"navigation":322,"to":347,"icon":-1,"itemList":348},"GraphQL Basics","/basics/other-basics/graphql-basics",[],{"label":350,"navigation":322,"to":351,"icon":-1,"itemList":352},"EV basics","/basics/other-basics/ev-basics",[],{"asideHeader":354,"sectionList":355,"mainHeader":439},"API Section",[356,369,380,420,432],{"label":30,"navigation":-1,"to":357,"icon":358,"itemList":359},"/examples/vehicles","car",[360,365],{"label":361,"navigation":362,"to":363,"icon":-1,"itemList":364},"Vehicle list","examples","/examples/vehicles/vehicle-list",[],{"label":366,"navigation":362,"to":367,"icon":-1,"itemList":368},"Vehicle details","/examples/vehicles/vehicle-details",[],{"label":51,"navigation":-1,"to":370,"icon":371,"itemList":372},"/examples/stations","charge-stations",[373,376],{"label":51,"navigation":362,"to":374,"icon":-1,"itemList":375},"/examples/stations/station-list",[],{"label":377,"navigation":362,"to":378,"icon":-1,"itemList":379},"Station details","/examples/stations/station-info",[],{"label":121,"navigation":-1,"to":381,"icon":382,"itemList":383},"/examples/routes","route",[384,388,392,396,400,404,408,412,416],{"label":385,"navigation":362,"to":386,"icon":-1,"itemList":387},"Route","/examples/routes/route",[],{"label":389,"navigation":362,"to":390,"icon":-1,"itemList":391},"Route (NEW)","/examples/routes/route-new",[],{"label":393,"navigation":362,"to":394,"icon":-1,"itemList":395},"Alternative routes","/examples/routes/alternative-routes",[],{"label":397,"navigation":362,"to":398,"icon":-1,"itemList":399},"Alternative stations","/examples/routes/stations-along-route",[],{"label":401,"navigation":362,"to":402,"icon":-1,"itemList":403},"Operator preference","/examples/routes/preferred-operator",[],{"label":405,"navigation":362,"to":406,"icon":-1,"itemList":407},"Elevation plot","/examples/routes/elevation-plot",[],{"label":409,"navigation":362,"to":410,"icon":-1,"itemList":411},"Battery capacity","/examples/routes/battery-capacity",[],{"label":413,"navigation":362,"to":414,"icon":-1,"itemList":415},"State of charge","/examples/routes/state-of-charge",[],{"label":417,"navigation":362,"to":418,"icon":-1,"itemList":419},"Toll roads and Ferries","/examples/routes/tolls-and-ferries",[],{"label":218,"navigation":-1,"to":421,"icon":422,"itemList":423},"/examples/tile-service","layers",[424,428],{"label":425,"navigation":362,"to":426,"icon":-1,"itemList":427},"Mapbox Vector Tiles","/examples/tile-service/tile-server",[],{"label":429,"navigation":362,"to":430,"icon":-1,"itemList":431},"GeoJSON tiles","/examples/tile-service/tile-json",[],{"label":250,"navigation":-1,"to":433,"icon":434,"itemList":435},"/examples/isolines","isoline",[436],{"label":250,"navigation":362,"to":437,"icon":-1,"itemList":438},"/examples/isolines/isoline",[],"Examples",[441,445,447,452,457],{"label":313,"navigation":442,"to":443,"icon":444,"itemList":314},"main","/basics","medium/content/bookmark",{"label":5,"navigation":442,"to":446,"icon":318,"itemList":6},"/api-reference",{"label":448,"navigation":442,"to":449,"icon":450,"itemList":451},"Release notes","/release-notes","medium/content/megaphone",[],{"label":453,"navigation":442,"to":454,"icon":455,"itemList":456},"Deprecations","/deprecations","medium/content/shredded",[],{"label":439,"navigation":442,"to":458,"icon":459,"itemList":355},"/examples","code",{"navigation":14},{"_path":19,"_dir":462,"_draft":463,"_partial":463,"_locale":464,"title":18,"description":465,"navigation":14,"body":466,"_type":1004,"_id":1005,"_source":1006,"_file":1007,"_extension":1008},"api",false,"","A quick explanation of how pagination works on list queries.",{"type":467,"children":468,"toc":991},"root",[469],{"type":470,"tag":471,"props":472,"children":473},"element","ct-aside-layout",{},[474,481,487,494,499,525,531,543,550,591,616,633,639,686,688,860,872,878,899,904,927,950,962,967,979],{"type":470,"tag":475,"props":476,"children":478},"h1",{"id":477},"pagination",[479],{"type":480,"value":18},"text",{"type":470,"tag":482,"props":483,"children":484},"p",{},[485],{"type":480,"value":486},"To ensure the Chargetrip API remains performant and responsive, pagination is used to limit the amount of data returned in list queries within a single request.",{"type":470,"tag":488,"props":489,"children":491},"h2",{"id":490},"supported-pagination-types",[492],{"type":480,"value":493},"Supported pagination types",{"type":470,"tag":482,"props":495,"children":496},{},[497],{"type":480,"value":498},"Currently, two pagination types are used across the API:",{"type":470,"tag":500,"props":501,"children":502},"ul",{},[503,515],{"type":470,"tag":504,"props":505,"children":506},"li",{},[507,513],{"type":470,"tag":508,"props":509,"children":510},"strong",{},[511],{"type":480,"value":512},"Cursor-based (New)",{"type":480,"value":514},": Chargetrip's new pagination standard. All newly developed list queries will implement this pagination type.",{"type":470,"tag":504,"props":516,"children":517},{},[518,523],{"type":470,"tag":508,"props":519,"children":520},{},[521],{"type":480,"value":522},"Offset-based (Legacy)",{"type":480,"value":524},": Chargetrip's legacy pagination standard, still used in most existing list queries. These operations will eventually be deprecated and replaced by cursor-based versions.",{"type":470,"tag":488,"props":526,"children":528},{"id":527},"cursor-based-pagination",[529],{"type":480,"value":530},"Cursor-based pagination",{"type":470,"tag":482,"props":532,"children":533},{},[534,536,541],{"type":480,"value":535},"Cursor pagination allows you to define the starting point of each request using a unique identifier - the ",{"type":470,"tag":508,"props":537,"children":538},{},[539],{"type":480,"value":540},"cursor",{"type":480,"value":542}," -  to fetch the next set of results. Moreover, the response format for this method differs from the legacy offset-based approach.",{"type":470,"tag":544,"props":545,"children":547},"h3",{"id":546},"arguments",[548],{"type":480,"value":549},"Arguments",{"type":470,"tag":500,"props":551,"children":552},{},[553,564],{"type":470,"tag":504,"props":554,"children":555},{},[556,562],{"type":470,"tag":459,"props":557,"children":559},{"className":558},[],[560],{"type":480,"value":561},"first",{"type":480,"value":563}," (Integer): The number of items to return.",{"type":470,"tag":504,"props":565,"children":566},{},[567,573,575,581,583,589],{"type":470,"tag":459,"props":568,"children":570},{"className":569},[],[571],{"type":480,"value":572},"after",{"type":480,"value":574}," (String): The starting cursor to fetch the next set of results. For the first page, omit this argument or set it to ",{"type":470,"tag":459,"props":576,"children":578},{"className":577},[],[579],{"type":480,"value":580},"null",{"type":480,"value":582},". For the subsequent pages, use the ",{"type":470,"tag":459,"props":584,"children":586},{"className":585},[],[587],{"type":480,"value":588},"page_info.end_cursor",{"type":480,"value":590}," value returned in the previous request.",{"type":470,"tag":482,"props":592,"children":593},{},[594,599,601,606,608,614],{"type":470,"tag":508,"props":595,"children":596},{},[597],{"type":480,"value":598},"Limits:",{"type":480,"value":600},"  The value of ",{"type":470,"tag":459,"props":602,"children":604},{"className":603},[],[605],{"type":480,"value":561},{"type":480,"value":607}," cannot exceed 100, except for the ",{"type":470,"tag":459,"props":609,"children":611},{"className":610},[],[612],{"type":480,"value":613},"getRouteStationsWithAmenities",{"type":480,"value":615}," query, which is limited to 10. If these limits are exceeded, an error is returned.",{"type":470,"tag":617,"props":618,"children":623},"ct-code-block",{":is-expandable":619,":is-inline":620,"label":621,"language":622},"false","true","Example cursor-based pagination request / vehicleModels query","js",[624],{"type":470,"tag":625,"props":626,"children":628},"pre",{"code":627},"// First request\nvehicleModels(first: 12) {\n        total_count\n        page_info {\n            has_next_page\n            has_previous_page\n            start_cursor\n            end_cursor\n        }\n        nodes {\n            name\n        }\n    }\n\n\n// Following requests\nvehicleModels(first: 12 ,after:\"eyJwYWdlIjoyfQ==\" ) {\n        total_count\n        page_info {\n            has_next_page\n            has_previous_page\n            start_cursor\n            end_cursor\n        }\n        nodes {\n            name\n        }\n    }\n",[629],{"type":470,"tag":459,"props":630,"children":631},{"__ignoreMap":464},[632],{"type":480,"value":627},{"type":470,"tag":544,"props":634,"children":636},{"id":635},"output",[637],{"type":480,"value":638},"Output",{"type":470,"tag":482,"props":640,"children":641},{},[642,644,653,655,661,663,669,671,677,679,684],{"type":480,"value":643},"The cursor-based response format is inspired by Relay's ",{"type":470,"tag":645,"props":646,"children":650},"a",{"href":647,"rel":648},"https://relay.dev/docs/tutorial/connections-pagination/",[649],"nofollow",[651],{"type":480,"value":652},"Connection Pattern",{"type":480,"value":654},", providing both the data (",{"type":470,"tag":459,"props":656,"children":658},{"className":657},[],[659],{"type":480,"value":660},"nodes",{"type":480,"value":662},") and the metadata (",{"type":470,"tag":459,"props":664,"children":666},{"className":665},[],[667],{"type":480,"value":668},"page_info",{"type":480,"value":670},") required for subsequent requests. To improve the developer experience, the ",{"type":470,"tag":459,"props":672,"children":674},{"className":673},[],[675],{"type":480,"value":676},"edges",{"type":480,"value":678}," layer found in the standard Relay pattern is omitted, and the data is returned directly through the ",{"type":470,"tag":459,"props":680,"children":682},{"className":681},[],[683],{"type":480,"value":660},{"type":480,"value":685}," array.",{"type":480,"value":687},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":470,"tag":689,"props":690,"children":691},"table",{},[692,711],{"type":470,"tag":693,"props":694,"children":695},"thead",{},[696],{"type":470,"tag":697,"props":698,"children":699},"tr",{},[700,706],{"type":470,"tag":701,"props":702,"children":703},"th",{},[704],{"type":480,"value":705},"Field",{"type":470,"tag":701,"props":707,"children":708},{},[709],{"type":480,"value":710},"Description",{"type":470,"tag":712,"props":713,"children":714},"tbody",{},[715,737,758,779,799,827],{"type":470,"tag":697,"props":716,"children":717},{},[718,732],{"type":470,"tag":719,"props":720,"children":721},"td",{},[722,726,730],{"type":470,"tag":508,"props":723,"children":724},{},[725],{"type":480,"value":660},{"type":470,"tag":727,"props":728,"children":729},"br",{},[],{"type":480,"value":731},"Array",{"type":470,"tag":719,"props":733,"children":734},{},[735],{"type":480,"value":736},"List of the actual data objects returned for the current page.",{"type":470,"tag":697,"props":738,"children":739},{},[740,753],{"type":470,"tag":719,"props":741,"children":742},{},[743,748,751],{"type":470,"tag":508,"props":744,"children":745},{},[746],{"type":480,"value":747},"total_count",{"type":470,"tag":727,"props":749,"children":750},{},[],{"type":480,"value":752},"Integer",{"type":470,"tag":719,"props":754,"children":755},{},[756],{"type":480,"value":757},"Total number of items available in the entire dataset matching the query.",{"type":470,"tag":697,"props":759,"children":760},{},[761,774],{"type":470,"tag":719,"props":762,"children":763},{},[764,769,772],{"type":470,"tag":508,"props":765,"children":766},{},[767],{"type":480,"value":768},"page_info.has_next_page",{"type":470,"tag":727,"props":770,"children":771},{},[],{"type":480,"value":773},"Boolean",{"type":470,"tag":719,"props":775,"children":776},{},[777],{"type":480,"value":778},"Indicates whether more results are available after the current page.",{"type":470,"tag":697,"props":780,"children":781},{},[782,794],{"type":470,"tag":719,"props":783,"children":784},{},[785,790,793],{"type":470,"tag":508,"props":786,"children":787},{},[788],{"type":480,"value":789},"page_info.has_previous_page",{"type":470,"tag":727,"props":791,"children":792},{},[],{"type":480,"value":773},{"type":470,"tag":719,"props":795,"children":796},{},[797],{"type":480,"value":798},"Indicates whether more results are available before the current page.",{"type":470,"tag":697,"props":800,"children":801},{},[802,815],{"type":470,"tag":719,"props":803,"children":804},{},[805,810,813],{"type":470,"tag":508,"props":806,"children":807},{},[808],{"type":480,"value":809},"page_info.start_cursor",{"type":470,"tag":727,"props":811,"children":812},{},[],{"type":480,"value":814},"String",{"type":470,"tag":719,"props":816,"children":817},{},[818,820,825],{"type":480,"value":819},"The cursor of the first node in the ",{"type":470,"tag":459,"props":821,"children":823},{"className":822},[],[824],{"type":480,"value":660},{"type":480,"value":826}," list.",{"type":470,"tag":697,"props":828,"children":829},{},[830,841],{"type":470,"tag":719,"props":831,"children":832},{},[833,837,840],{"type":470,"tag":508,"props":834,"children":835},{},[836],{"type":480,"value":588},{"type":470,"tag":727,"props":838,"children":839},{},[],{"type":480,"value":814},{"type":470,"tag":719,"props":842,"children":843},{},[844,846,851,853,858],{"type":480,"value":845},"The cursor of the last node in the ",{"type":470,"tag":459,"props":847,"children":849},{"className":848},[],[850],{"type":480,"value":660},{"type":480,"value":852}," list. Set the ",{"type":470,"tag":459,"props":854,"children":856},{"className":855},[],[857],{"type":480,"value":572},{"type":480,"value":859}," argument with this value in your next query.",{"type":470,"tag":617,"props":861,"children":863},{":is-expandable":619,":is-inline":620,"label":862,"language":622},"Example cursor-based pagination response / vehicleModels query",[864],{"type":470,"tag":625,"props":865,"children":867},{"code":866},"//vehicleModels(first: 2 ,after:\"eyJwYWdlIjoxfQ==\" )\n{\n    \"data\": {\n        \"vehicleModels\": {\n            \"total_count\": 510,\n            \"page_info\": {\n                \"has_next_page\": true,\n                \"has_previous_page\": false,\n                \"start_cursor\": \"eyJwYWdlIjoxfQ==\",\n                \"end_cursor\": \"eyJwYWdlIjoyfQ==\"\n            },\n            \"nodes\": [\n                {\n                    \"name\": \"500e\"\n                },\n                {\n                    \"name\": \"600e\"\n                }\n            ]\n        }\n    }\n}\n",[868],{"type":470,"tag":459,"props":869,"children":870},{"__ignoreMap":464},[871],{"type":480,"value":866},{"type":470,"tag":488,"props":873,"children":875},{"id":874},"offset-based-pagination-legacy",[876],{"type":480,"value":877},"Offset-based pagination (Legacy)",{"type":470,"tag":482,"props":879,"children":880},{},[881,883,889,891,897],{"type":480,"value":882},"Offset-based pagination relies on relative positioning to navigate a dataset. It uses the ",{"type":470,"tag":459,"props":884,"children":886},{"className":885},[],[887],{"type":480,"value":888},"page",{"type":480,"value":890}," parameter to skip a set number of records and the ",{"type":470,"tag":459,"props":892,"children":894},{"className":893},[],[895],{"type":480,"value":896},"size",{"type":480,"value":898}," parameter to return a fixed window of results.",{"type":470,"tag":544,"props":900,"children":902},{"id":901},"arguments-1",[903],{"type":480,"value":549},{"type":470,"tag":500,"props":905,"children":906},{},[907,917],{"type":470,"tag":504,"props":908,"children":909},{},[910,915],{"type":470,"tag":459,"props":911,"children":913},{"className":912},[],[914],{"type":480,"value":896},{"type":480,"value":916}," (Integer): The number of items to receive per page.",{"type":470,"tag":504,"props":918,"children":919},{},[920,925],{"type":470,"tag":459,"props":921,"children":923},{"className":922},[],[924],{"type":480,"value":888},{"type":480,"value":926}," (Integer): The page number to fetch. To fetch the first page, omit this argument or set it to 0.",{"type":470,"tag":482,"props":928,"children":929},{},[930,934,936,941,943,948],{"type":470,"tag":508,"props":931,"children":932},{},[933],{"type":480,"value":598},{"type":480,"value":935},"\nThe ",{"type":470,"tag":459,"props":937,"children":939},{"className":938},[],[940],{"type":480,"value":896},{"type":480,"value":942}," is limited to 100. If the ",{"type":470,"tag":459,"props":944,"children":946},{"className":945},[],[947],{"type":480,"value":896},{"type":480,"value":949}," argument exceeds this limit, an error is returned.",{"type":470,"tag":617,"props":951,"children":953},{":is-expandable":619,":is-inline":620,"label":952,"language":622},"Example offset-based pagination request / vehiclesList query",[954],{"type":470,"tag":625,"props":955,"children":957},{"code":956},"vehicleList(size: 2, page: 2) {\n        id\n        region\n        purpose\n        type\n    } \n",[958],{"type":470,"tag":459,"props":959,"children":960},{"__ignoreMap":464},[961],{"type":480,"value":956},{"type":470,"tag":544,"props":963,"children":965},{"id":964},"output-1",[966],{"type":480,"value":638},{"type":470,"tag":482,"props":968,"children":969},{},[970,972,977],{"type":480,"value":971},"The response returns a list of data results directly, limited by the ",{"type":470,"tag":459,"props":973,"children":975},{"className":974},[],[976],{"type":480,"value":896},{"type":480,"value":978}," value.",{"type":470,"tag":617,"props":980,"children":982},{":is-expandable":619,":is-inline":620,"label":981,"language":622},"Example offset-based pagination response / vehiclesList query",[983],{"type":470,"tag":625,"props":984,"children":986},{"code":985},"vehicleList(size: 2, page: 2)\n{\n    \"data\": {\n        \"vehicleList\": [\n            {\n                \"id\": \"6731c0d20e68fb49fcfcfc43\",\n                \"region\": [\n                    \"EU\"\n                ],\n                \"purpose\": \"passenger\",\n                \"type\": \"car\"\n            },\n            {\n                \"id\": \"6707980511eb0435fbf01724\",\n                \"region\": [\n                    \"NA\",\n                    \"AS\"\n                ],\n                \"purpose\": \"passenger\",\n                \"type\": \"car\"\n            }\n        ]\n    }\n}    \n",[987],{"type":470,"tag":459,"props":988,"children":989},{"__ignoreMap":464},[990],{"type":480,"value":985},{"title":464,"searchDepth":992,"depth":992,"links":993},2,[994,995,1000],{"id":490,"depth":992,"text":493},{"id":527,"depth":992,"text":530,"children":996},[997,999],{"id":546,"depth":998,"text":549},3,{"id":635,"depth":998,"text":638},{"id":874,"depth":992,"text":877,"children":1001},[1002,1003],{"id":901,"depth":998,"text":549},{"id":964,"depth":998,"text":638},"markdown","content:2.api-reference:1.api:2.pagination.md","content","2.api-reference/1.api/2.pagination.md","md",1775054244651]