Rate-limiting is a mechanism used to control the number of requests that can be made to a server within a certain time period. It helps prevent abuse, protect server resources, and ensure fair usage. By implementing rate-limiting, developers can set limits on the number of requests that can be made by a client or user, preventing them from overwhelming the server with excessive requests. This can be particularly useful in scenarios where there is a need to protect sensitive data, prevent unauthorized access, or maintain the overall performance and stability of the server.
Just turn it off on the Workspace and it is applies to all keys.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Oneloop","colors":{"primary":"#000000","light":"#ffffff","dark":"#000000"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/oneloop/QLBbQ34otHR2mIzr/logo/light.svg?fit=max\u0026auto=format\u0026n=QLBbQ34otHR2mIzr\u0026q=85\u0026s=9dfefaa74741ff0e7a5f0cb463d2941a","dark":"https://mintcdn.com/oneloop/QLBbQ34otHR2mIzr/logo/dark.svg?fit=max\u0026auto=format\u0026n=QLBbQ34otHR2mIzr\u0026q=85\u0026s=ed013bcc08238eea78333c901c3022f8"},"navbar":{"links":[{"label":"Support","href":"mailto:support@oneloop.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.oneloop.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/oneloop-hq"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"oneloop","hasAudioNarration":false,"actualSubdomain":"oneloop","customDomains":["docs.oneloop.ai"],"gitSource":{"type":"github","owner":"oneloop-hq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c554cf0492c7637e5b9e","collectionId":"c309162b-670f-4b5c-9249-6043680374c4","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c554cf0492c7637e5b9e:success","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API Reference","count":25},{"language":"default","tag":"Documentation","count":11},{"language":"default","tag":"SDK","count":9},{"language":"default","tag":"API Keys","count":7},{"language":"default","tag":"Usage Metering","count":5},{"language":"default","tag":"Workspace","count":4},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Features","count":4},{"language":"default","tag":"Languages","count":4},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"documentation/features/rate-limit","slug":"/documentation/features/rate-limit","pageMetadata":{"title":"Rate Limit","description":null,"href":"/documentation/features/rate-limit"},"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={p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Rate limiting is applicable on the workspace level currently. For custom needs, reach out to us.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-rate-limiting`,children:`What is rate-limiting?`}),`\n`,_jsx(_components.p,{children:`Rate-limiting is a mechanism used to control the number of requests that can be made to a server within a certain time period. It helps prevent abuse, protect server resources, and ensure fair usage. By implementing rate-limiting, developers can set limits on the number of requests that can be made by a client or user, preventing them from overwhelming the server with excessive requests. This can be particularly useful in scenarios where there is a need to protect sensitive data, prevent unauthorized access, or maintain the overall performance and stability of the server.`}),`\n`,_jsx(Heading,{level:`2`,id:`enabling-rate-limiting`,children:`Enabling rate-limiting`}),`\n`,_jsx(_components.p,{children:`Oneloop provides a built-in rate limiter. Rate limiting can be enabled on a Workspace, and then it applies to each key created under that workspace`}),`\n`,_jsx(Heading,{level:`2`,id:`disabling-rate-limiting`,children:`Disabling rate-limiting`}),`\n`,_jsx(_components.p,{children:`Just turn it off on the Workspace and it is applies to all keys.`})]})}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":"Rate Limit","description":null,"href":"/documentation/features/rate-limit"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is rate-limiting?","slug":"what-is-rate-limiting","depth":2,"children":[]},{"title":"Enabling rate-limiting","slug":"enabling-rate-limiting","depth":2,"children":[]},{"title":"Disabling rate-limiting","slug":"disabling-rate-limiting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"oneloop","siteName":"Oneloop","title":"Rate Limit - Oneloop","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T02:47:35.674Z","originalFileLocation":"documentation/features/rate-limit.mdx"},"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=\"application-name\" content=\"Oneloop\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_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/oneloop/h1PqHdd3eNyidMqW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Rate Limit - Oneloop\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Oneloop\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oneloop.ai/documentation/features/rate-limit\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://oneloop.mintlify.app/_mintlify/api/og/v2?division=Features\u0026amp;title=Rate+Limit\u0026amp;theme=aefb62f125f9d11f37382c6b\u0026amp;signature=cea29985a85e83033566322a6b5130f3957e47e2331b8193820a357c058038a0\">\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=\"Rate Limit - Oneloop\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://oneloop.mintlify.app/_mintlify/api/og/v2?division=Features\u0026amp;title=Rate+Limit\u0026amp;theme=aefb62f125f9d11f37382c6b\u0026amp;signature=cea29985a85e83033566322a6b5130f3957e47e2331b8193820a357c058038a0\">\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/oneloop/h1PqHdd3eNyidMqW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Oneloop\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oneloop.ai/documentation/features/rate-limit\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/features/rate-limit.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oneloop.ai/#organization\",\"name\":\"Oneloop\",\"url\":\"https://docs.oneloop.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/oneloop/QLBbQ34otHR2mIzr/logo/light.svg?fit=max\u0026auto=format\u0026n=QLBbQ34otHR2mIzr\u0026q=85\u0026s=9dfefaa74741ff0e7a5f0cb463d2941a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oneloop.ai#website\",\"name\":\"Oneloop\",\"url\":\"https://docs.oneloop.ai\",\"publisher\":{\"@id\":\"https://docs.oneloop.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oneloop.ai/documentation/features/rate-limit#webpage\",\"url\":\"https://docs.oneloop.ai/documentation/features/rate-limit\",\"name\":\"Rate Limit\",\"dateModified\":\"2026-01-07T02:47:35.674Z\",\"isPartOf\":{\"@id\":\"https://docs.oneloop.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oneloop.ai/documentation/features/rate-limit#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oneloop.ai/documentation/features/rate-limit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Features\",\"item\":\"https://docs.oneloop.ai/documentation/features/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rate Limit\",\"item\":\"https://docs.oneloop.ai/documentation/features/rate-limit\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.oneloop.ai/documentation/features/rate-limit#article\",\"headline\":\"Rate Limit\",\"name\":\"Rate Limit\",\"url\":\"https://docs.oneloop.ai/documentation/features/rate-limit\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oneloop.ai/documentation/features/rate-limit#webpage\"},\"dateModified\":\"2026-01-07T02:47:35.674Z\",\"publisher\":{\"@id\":\"https://docs.oneloop.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oneloop.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Oneloop\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Oneloop","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Get Started","pages":[{"title":"Overview","mode":"wide","href":"/documentation/introduction"},{"title":"Setup your OneLoop account","sidebarTitle":"Set up Oneloop","href":"/documentation/quickstart"},{"title":"Migration","mode":"wide","href":"/documentation/migration"}]},{"group":"Concepts","pages":[{"title":"Workspace","href":"/documentation/concepts/workspace"},{"title":"Scopes","href":"/documentation/concepts/scopes"},{"title":"SDK Keys","href":"/documentation/concepts/sdk-keys"},{"title":"API Keys","href":"/documentation/concepts/api-keys"}]},{"group":"Features","pages":[{"title":"Authentication","href":"/documentation/features/authentication"},{"title":"Permissions","description":null,"href":"/documentation/features/permissions"},{"title":"Rate Limit","href":"/documentation/features/rate-limit"},{"title":"Usage Tracking","description":null,"href":"/documentation/features/usage-limit"}]}]},{"anchor":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"anchor":"SDK","icon":"cube","pages":[{"title":"SDK","href":"/sdk/introduction"}]}]},"title":"Rate Limit - Oneloop","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":[],"chunks":[]}