PageSourceSearch

https://geomi.dev/_next/static/chunks/pages/docs/faq-58faad584382d456.js

js geomi.dev collected 2026-10-09 22:43:29 UTC 12,193 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4048],{4964:(e,t,a)=>{"use strict";a.d(t,{R:()=>l});var r=a(48447),n=a(1258),i=a.n(n),o=a(21462);let s={img:e=>(0,o.createElement)("object"==typeof e.src?i():"img",e)},l=e=>({...s,...(0,r.R)(e)})},34707:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>A});var r=a(23798),n=a(64927),i=a(71602),o=a(41008),s=a(59354),l=a(68006),c=a(21462),d=a(12131),u=a(85096),p=a(69016),h=a(21188),m=a(71268),f=a(62459);function A(){let{data:e,isLoading:t,error:a}=h.i.admin.getAnonymousLimitRules.useQuery({body:{_dummy:""}}),l=(0,c.useMemo)(()=>e?e.map(e=>{let t=e.limitUnit,a=(0,p.gD)(t)?(0,p.z3)(e.limit):e.limit.toLocaleString();return{scope:(0,p.Pk)((0,p.j9)(e.scopeType,e.scopeValue)),limit:a,unit:(0,p.zO)(t),window:(0,p.UK)(e.windowSeconds),appliesTo:e.includeOriginInKey?"Per IP + Origin":"Per IP",rawRule:e}}).sort((e,t)=>{let a=e.scope.localeCompare(t.scope);return 0!==a?a:"Per IP"===e.appliesTo?-1:1}):[],[e]);return a?(0,r.jsx)(m.default,{error:a,fallbackMessage:"Unknown error loading anonymous limit rules",heading:"Error loading anonymous limit rules"}):t?(0,r.jsx)(f.default,{}):0===l.length?(0,r.jsx)(n.F,{heading:"No anonymous limit rules found",variant:"default",children:"No anonymous limit rules are currently configured."}):(0,r.jsx)("div",{className:(0,u.t$)({gap:"24"}),children:(0,r.jsxs)(i.X,{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(s.Th,{children:"Scope"}),(0,r.jsx)(s.Th,{children:"Limit"}),(0,r.jsx)(s.Th,{children:"Unit"}),(0,r.jsx)(s.Th,{children:"Window"}),(0,r.jsx)(s.Th,{children:"Applies To"})]})}),(0,r.jsx)("tbody",{children:l.map((e,t)=>(0,r.jsx)(y,{rule:e},t))})]})})}function y(e){let{rule:t}=e;return(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(l.Td,{children:t.scope}),(0,r.jsx)(l.Td,{className:(0,d.AH)({textStyle:"mono.md"}),children:t.limit}),(0,r.jsx)(l.Td,{children:t.unit}),(0,r.jsxs)(l.Td,{className:(0,d.AH)({textStyle:"mono.md"}),children:["per ",t.window]}),(0,r.jsx)(l.Td,{children:t.appliesTo})]})}},35999:(e,t,a)=>{"use strict";a.d(t,{O:()=>r});let r=[{data:{docs:{type:"page",title:"Documentation"}}},{name:"docs",route:"/docs",children:[{data:{introduction:{title:"Introduction"},start:{title:"Getting Started"},"api-keys":{title:"API Keys"},"api-reference":{title:"API Reference"}
1,"no-code-indexing":{title:"No-Code Indexing"},"gas-stations":{title:"Gas Stations"},"aptos-mcp":{title:"Aptos MCP"},admin:{title:"Admin"},faq:{title:"FAQ"},identity:{title:"Identity",href:"https://aptos.dev/en/build/guides/aptos-keyless"}}},{name:"admin",route:"/docs/admin",children:[{data:{billing:{title:"Billing"},"resource-management":{title:"Resource Management"}}},{name:"billing",route:"/docs/admin/billing",frontMatter:{sidebarTitle:"Billing"}},{name:"resource-management",route:"/docs/admin/resource-management",frontMatter:{title:"Resource Management"}}]},{name:"api-keys",route:"/docs/api-keys",children:[{data:{"frontend-keys":{title:"Frontend Keys"}}},{name:"frontend-keys",route:"/docs/api-keys/frontend-keys",frontMatter:{sidebarTitle:"Frontend Keys"}}]},{name:"api-keys",route:"/docs/api-keys",frontMatter:{sidebarTitle:"API Keys"}},{name:"api-reference",route:"/docs/api-reference",frontMatter:{title:"API Reference"}},{name:"aptos-mcp",route:"/docs/aptos-mcp",frontMatter:{title:"Aptos MCP"}},{name:"faq",route:"/docs/faq",frontMatter:{sidebarTitle:"Faq"}},{name:"gas-stations",route:"/docs/gas-stations",children:[{data:{shelby:{title:"Shelby"}}},{name:"shelby",route:"/docs/gas-stations/shelby",frontMatter:{sidebarTitle:"Shelby"}}]},{name:"gas-stations",route:"/docs/gas-stations",frontMatter:{sidebarTitle:"Gas Stations"}},{name:"introduction",route:"/docs/introduction",frontMatter:{sidebarTitle:"Introduction"}},{name:"no-code-indexing",route:"/docs/no-code-indexing",frontMatter:{sidebarTitle:"No Code Indexing"}},{name:"start",route:"/docs/start",children:[{data:{}}]},{name:"start",route:"/docs/start",frontMatter:{sidebarTitle:"Start"}}]}]},60686:(e,t,a)=>{"use strict";a.d(t,{e:()=>c});var r=a(23798),n=a(56694),i=a(29855);let o=(0,a(21462).createContext)({}),s=o.Provider;o.displayName="SSG";var l=a(4964);function c(e,t,a,r){let i=globalThis[n.VZ];return i.route=t,i.pageMap=a.pageMap,i.context[t]={Content:e,pageOpts:a,useTOC:r},d}function d({__nextra_pageMap:e=[],__nextra_dynamic_opts:t,...a}){let o=globalThis[n.VZ],{Layout:l,themeConfig:c}=o,{route:d,locale:p}=(0,i.r)(),h=o.context[d];if(!h)throw Error(`No content found for the "${d}" route. Please report it as a bug.`);let{pageOpts:m,useTOC:f,Content:A}=h;if(d.startsWith("/["))m.pageMap=e;else for(let{route:t,children:a}of e){let e=t.split("/").slice(p?2:1);(function e(t,[a,...r]){for(let n of t)if("children"in n&&a===n.name)return r.length?e(n.children,r):n})(m.pageMap,e).children=a}if(t){let{title:e,frontMatter:a}=t;m={...m,title:e,frontMatter:a}}return(0,r.jsx)(l,{themeConfig:c,pageOpts:m,pageProps:a,children:(0,r.jsx)(s,{value:a,children:(0,r.jsx)(u,{useTOC:f,children:(0,r.jsx)(A,{...a})})})})}function u({children:e,useTOC:t}){let{wrapper:a}=(0,l.R)();return(0,r.jsx)(p,{useTOC:t,wrapper:a,children:e})}function p({children:e,useTOC:t,wrapper:a,...n}){let i=t(n);return a?(0,r.jsx)(a,{toc:i,children:e}):e}},62459:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r=a(23798),n=a(64407);a(21462);var i=a(12131);function o(){return(0,r.jsx)("div",{className:(0,i.AH)({w:"full"}),children:(0,r.jsx)(n.E,{className:(0,i.AH)({height:"[150px]",w:"full",my:"[2px]"})})})}},69016:(e,t,a)=>{"use strict";function r(e){switch(e){case"ComputeUnits":return"Compute Units";case"RequestCount":return"Request Count";case"RequestSize":return"Request Size";case"ResponseSize":return"Response Size";default:return e}}function n(e){return"RequestSize"===e||"ResponseSize"===e}function i(e){let t=["bytes","KiB","MiB","GiB","TiB"],a=0,r=e;for(;r>=1024&&a<t.length-1;)r/=1024,a++;let n=r%1==0?r.toLocaleString():r.toLocaleString(void 0,{maximumFractionDigits:1});return"".concat(n," ").concat(t[a])}function o(e){return i(1024*e*1024)}function s(e){return"AllRequests"===e?"All requests":"UpstreamTypeDefault"===e?"Default per upstream":"NodeOperationIdDefault"===e?"Default per node operation":"GraphqlTableDefault"===e?"Default per GraphQL table":"object"==typeof e&&"UpstreamType"in e?"Upstream: ".concat(e.UpstreamType):"object"==typeof e&&"NodeOperationId"in e?"Node operation: ".concat(e.NodeOperationId):"object"==typeof e&&"GraphqlTable"in e?"GraphQL table: ".concat(e.GraphqlTable):"object"==typeof e&&"DecibelHttpPath"in e?"Decibel HTTP path: ".concat(e.DecibelHttpPath):"Unknown scope"}function l(e){if(e<60)return"".concat(e,"s");if(e<3600){let t=Math.floor(e/60),a=e%60;return a>0?"".concat(t,"m ").concat(a,"s"):"".concat(t,"m")}let t=Math.floor(e/3600),a=Math.floor(e%3600/60),r=e%60,n="".concat(t,"h");return a>0&&(n+=" ".concat(a,"m")),r>0&&(n+=" ".concat(r,"s")),n}function c(e){var t;let{scopeType:a,scopeValue:r}="AllRequests"===(t=e.scope)?{scopeType:"AllRequests",scopeValue:null}:"UpstreamTypeDefault"===t?{scopeType:"UpstreamTypeDefault",scopeValue:null}:"NodeOperationIdDefault"===t?{scopeType:"NodeOperationIdDefault",scopeValue:null}:"GraphqlTableDefault"===t?{scopeType:"GraphqlTableDefault",scopeValue:null}:"object"==typeof t&&"UpstreamType"in t?{scopeType:"UpstreamType",scopeValue:t.UpstreamType}:"object"==typeof t&&"NodeOperationId"in t?{scopeType:"NodeOperationId",scopeValue:t.NodeOperationId}:"object"==typeof t&&"GraphqlTable"in t?{scopeType:"GraphqlTable",scopeValue:t.GraphqlTable}:"object"==typeof t&&"DecibelHttpPath"in t?{scopeType:"DecibelHttpPath",scopeValue:t.DecibelHttpPath}:{scopeType:"AllRequests",scopeValue:null};return"".concat(e.appliesTo,"-").concat(e.limitUnit,"-").concat(e.windowSeconds,"-").concat(a).concat(r?"-".concat(r):"")}function d(e,t){switch(e){case"AllRequests":default:return"AllRequests";case"UpstreamTypeDefault":return"UpstreamTypeDefault";case"UpstreamType":return{UpstreamType:t};case"NodeOperationIdDefault":return"NodeOperationIdDefault";case"NodeOperationId":if(!t)throw Error("Scope value is required for NodeOperationId scope type");return{NodeOperationId:t};case"GraphqlTableDefault":return"GraphqlTableDefault";case"GraphqlTable":if(!t)throw Error("Scope value is required for GraphqlTable scope t
1ype");return{GraphqlTable:t};case"DecibelHttpPath":if(!t)throw Error("Scope value is required for DecibelHttpPath scope type");return{DecibelHttpPath:t}}}a.d(t,{LU:()=>c,Pk:()=>s,UK:()=>l,_C:()=>o,gD:()=>n,j9:()=>d,z3:()=>i,zO:()=>r})},71268:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var r=a(23798),n=a(64927);a(21462);var i=a(75828);function o(e){let{error:t,fallbackMessage:a,heading:o="Error loading data"}=e;return(0,r.jsx)(n.F,{heading:o,variant:"error",children:(0,i.g)(t,a)})}},89836:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>h,useTOC:()=>p});var r=a(23798),n=a(60686),i=a(35999),o=a(4964),s=a(1258),l=a.n(s);let c={src:"/_next/static/media/edit-key-01.ba224328.png",height:216,width:937,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAABlBMVEUUFBUcGhvg8waOAAAACXBIWXMAAAsTAAALEwEAmpwYAAAADUlEQVR4nGNgQAWMjAAAFQAD4FazoAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},d={src:"/_next/static/media/edit-key-02.cca56726.png",height:632,width:628,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAACVBMVEUgHyEoKSsWU0BiPwgYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAG0lEQVR4nGNgZGSAADADxkGIoLJQFcOEGZmYAAKHABXMIkO7AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};var u=a(34707);function p(e){return[{value:"Why am I receiving 429 errors?",id:"why-am-i-receiving-429-errors",depth:3},{value:"What are the anonymous limits?",id:"what-are-the-anonymous-limits",depth:3}]}let h=(0,n.e)(function(e){let{toc:t=p(e)}=e,a={a:"a",code:"code",h3:"h3",p:"p",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.h3,{id:t[0].id,children:t[0].value}),"\n",(0,r.jsx)(a.p,{children:"There are a number of possible reasons you might be seeing this error. If you haven’t already, check the response body for more details, we include a detailed plain text message explaining the reason for the 429."}),"\n",(0,r.jsxs)(a.p,{children:["If you see a message like ",(0,r.jsx)(a.code,{children:"Per anonymous IP rate limit exceeded"}),", it implies that you are not including an API key with your requests. Make sure to include it as a header: ",(0,r.jsx)(a.code,{children:"Authorization: Bearer <your_api_key>"}),". See the snippets on the API key page for more examples of how to set the API key depending on your client."]}),"\n",(0,r.jsxs)(a.p,{children:["If you see something like ",(0,r.jsx)(a.code,{children:"Per application per IP rate limit exceeded. Limit: x compute units per 300 seconds window"}),", it means you are using a client side API key, but your users are hitting the per IP limit you set for that key. You can increase this limit by editing the API key:"]}),"\n",(0,r.jsx)(l(),{src:c,alt:"Edit API key"}),"\n",(0,r.jsx)(l(),{src:d,alt:"Increase per IP limit"}),"\n",(0,r.jsx)(a.p,{children:"This limit exists to help prevent abuse by a single IP address, but you can set the value to whatever you want."}),"\n",(0,r.jsx)(a.h3,{id:t[1].id,children:t[1].value}),"\n",(0,r.jsx)(a.p,{children:"Anonymous limits apply to requests that do not include an API key. Some limits are applied per IP address, while others are applied per IP + origin (to ensure no single site uses up the whole limit):"}),"\n",(0,r.jsx)("br",{}),"\n",(0,r.jsx)(u.default,{}),"\n",(0,r.jsxs)(a.p,{children:["If you want to access higher limits, please create an account on ",(0,r.jsx)(a.a,{href:"https://geomi.dev/",children:"Geomi"})," to generate an API key. You can further increase your free limits by attaching a credit card (you won’t be charged unless you exceed your limits, and can set budgets to help prevent that)."]})]})},"/docs/faq",{filePath:"src/pages/docs/faq.mdx",pageMap:i.O,frontMatter:{},title:"Faq"},"undefined"==typeof RemoteContent?p:RemoteContent.useTOC)},96671:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/faq",function(){return a(89836)}])}},e=>{e.O(0,[1074,636,6593,8792],()=>e(e.s=96671)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.