Replaces the study’s quota configuration. Modes are mutually exclusive: send the full configuration for the mode you want, and any previous configuration is discarded. Question quotas are not affected.
Required in url_param mode, not allowed otherwise. Letters, digits, underscores, and hyphens only; up to 64 characters. textColor, primaryColor and backgroundColor return a 422: embeds use those parameters for colors.
Required in url_param mode, not allowed otherwise. One { value, limit } per link value, up to 50, with unique values. Matching is exact and case-sensitive. A limit of 0 closes that value.
To check what a given link would do before sharing it, POST /studies/{id}/quotas/evaluate with { "entry_params": { "group": "1" } } returns { allowed, reason, bucket } without recording anything.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Versive","description":"Documentation for Versive — the AI-powered user research and testing platform","colors":{"primary":"#00786F","light":"#2BB3A8","dark":"#00786F"},"logo":{"light":"https://mintcdn.com/versive/Og7M_uVBtd7MTGJK/logo/light.svg?fit=max\u0026auto=format\u0026n=Og7M_uVBtd7MTGJK\u0026q=85\u0026s=3de4d6717f3a65645f417a61cc68828d","dark":"https://mintcdn.com/versive/Og7M_uVBtd7MTGJK/logo/dark.svg?fit=max\u0026auto=format\u0026n=Og7M_uVBtd7MTGJK\u0026q=85\u0026s=dd51cb606f5301040c8219b572a717fc","href":"https://getversive.com"},"favicon":"https://mintcdn.com/versive/-C2_T5LPeZ5Csg69/favicon.ico?fit=max\u0026auto=format\u0026n=-C2_T5LPeZ5Csg69\u0026q=85\u0026s=ec8e3723f4e24346fcea7c20b5e480ce","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.getversive.com/api/v1"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Open Versive","href":"https://getversive.com/login"}},"footer":{"socials":{"website":"https://getversive.com","linkedin":"https://www.linkedin.com/company/versivehq"}},"icons":{"library":"tabler"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"versive","hasAudioNarration":false,"actualSubdomain":"versive","customDomains":["docs.getversive.com"],"gitSource":{"type":"github","owner":"trymirio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ae2be08adee452fd896bfff","collectionId":"bce51b21-05ca-4454-8ea8-5cbb928d597d","liveDeploymentHistoryId":"6ae2be08adee452fd896bfff","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aed18186feadfe9ca0b707f","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"API reference","count":47},{"language":"default","tag":"Documentation","count":27},{"language":"default","tag":"Studies","count":27},{"language":"default","tag":"AI tests","count":7},{"language":"default","tag":"Interviews","count":5},{"language":"default","tag":"Getting started","count":5},{"language":"default","tag":"Quotas","count":5},{"language":"default","tag":"Question logic","count":4},{"language":"default","tag":"Questions","count":4},{"language":"default","tag":"Randomizers","count":4}]},"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},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/quotas/update-study-quotas","slug":"/api-reference/quotas/update-study-quotas","pageMetadata":{"title":"Update study quotas","api":"PUT /studies/{id}/quotas","description":"Replace the study-level quota configuration","href":"/api-reference/quotas/update-study-quotas"},"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: \"Replace the study-level quota configuration\"\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`,..._provideComponents(),...props.components},{Heading,ParamField,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Replaces the study’s quota configuration. Modes are mutually exclusive: send the full configuration for the mode you want, and any previous configuration is discarded. Question quotas are not affected.`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:`The study ID.`}),`\n`,_jsxs(ParamField,{body:`mode`,type:`string`,required:true,id:`param-mode`,children:[_jsx(_components.code,{children:`off`}),`, `,_jsx(_components.code,{children:`fixed`}),`, or `,_jsx(_components.code,{children:`url_param`}),`.`]}),`\n`,_jsx(ParamField,{body:`fixed_limit`,type:`integer`,id:`param-fixed-limit`,children:_jsxs(_components.p,{children:[`Required in `,_jsx(_components.code,{children:`fixed`}),` mode, not allowed otherwise. `,_jsx(_components.code,{children:`0`}),` closes the study to new participants.`]})}),`\n`,_jsx(ParamField,{body:`param_name`,type:`string`,id:`param-param-name`,children:_jsxs(_components.p,{children:[`Required in `,_jsx(_components.code,{children:`url_param`}),` mode, not allowed otherwise. Letters, digits, underscores, and hyphens only; up to 64 characters. `,_jsx(_components.code,{children:`textColor`}),`, `,_jsx(_components.code,{children:`primaryColor`}),` and `,_jsx(_components.code,{children:`backgroundColor`}),` return a `,_jsx(_components.code,{children:`422`}),`: `,_jsx(_components.a,{href:`/sdk/reference#colors`,children:`embeds`}),` use those parameters for colors.`]})}),`\n`,_jsx(ParamField,{body:`buckets`,type:`array`,id:`param-buckets`,children:_jsxs(_components.p,{children:[`Required in `,_jsx(_components.code,{children:`url_param`}),` mode, not allowed otherwise. One `,_jsx(_components.code,{children:`{ value, limit }`}),` per link value, up to 50, with unique values. Matching is exact and case-sensitive. A `,_jsx(_components.code,{children:`limit`}),` of `,_jsx(_components.code,{children:`0`}),` closes that value.`]})}),`\n`,_jsx(ParamField,{body:`unmatched_param_policy`,type:`string`,default:`allow`,id:`param-unmatched-param-policy`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`allow`}),` lets in participants whose link has no matching value (they don’t count toward any bucket); `,_jsx(_components.code,{children:`reject`}),` turns them away.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The saved configuration, same shape as `,_jsx(_components.a,{href:`/api-reference/quotas/get-study-quotas`,children:`Get study quotas`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To check what a given link would do before sharing it, `,_jsx(_components.code,{children:`POST /studies/{id}/quotas/evaluate`}),` with `,_jsx(_components.code,{children:`{ \"entry_params\": { \"group\": \"1\" } }`}),` returns `,_jsx(_components.code,{children:`{ allowed, reason, bucket }`}),` without recording anything.`]})})]})}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":"Update study quotas","api":"PUT /studies/{id}/quotas","description":"Replace the study-level quota configuration","href":"/api-reference/quotas/update-study-quotas"}}},"mdxSourceWithNoJs":{"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`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,RequestExample,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Replaces the study’s quota configuration. Modes are mutually exclusive: send the full configuration for the mode you want, and any previous configuration is discarded. Question quotas are not affected.`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:`The study ID.`}),`\n`,_jsxs(ParamField,{body:`mode`,type:`string`,required:true,id:`param-mode`,children:[_jsx(_components.code,{children:`off`}),`, `,_jsx(_components.code,{children:`fixed`}),`, or `,_jsx(_components.code,{children:`url_param`}),`.`]}),`\n`,_jsx(ParamField,{body:`fixed_limit`,type:`integer`,id:`param-fixed-limit`,children:_jsxs(_components.p,{children:[`Required in `,_jsx(_components.code,{children:`fixed`}),` mode, not allowed otherwise. `,_jsx(_components.code,{children:`0`}),` closes the study to new participants.`]})}),`\n`,_jsx(ParamField,{body:`param_name`,type:`string`,id:`param-param-name`,children:_jsxs(_components.p,{children:[`Required in `,_jsx(_components.code,{children:`url_param`}),` mode, not allowed otherwise. Letters, digits, underscores, and hyphens only; up to 64 characters. `,_jsx(_components.code,{children:`textColor`}),`, `,_jsx(_components.code,{children:`primaryColor`}),` and `,_jsx(_components.code,{children:`backgroundColor`}),` return a `,_jsx(_components.code,{children:`422`}),`: `,_jsx(_components.a,{href:`/sdk/reference#colors`,children:`embeds`}),` use those parameters for colors.`]})}),`\n`,_jsx(ParamField,{body:`buckets`,type:`array`,id:`param-buckets`,children:_jsxs(_components.p,{children:[`Required in `,_jsx(_components.code,{children:`url_param`}),` mode, not allowed otherwise. One `,_jsx(_components.code,{children:`{ value, limit }`}),` per link value, up to 50, with unique values. Matching is exact and case-sensitive. A `,_jsx(_components.code,{children:`limit`}),` of `,_jsx(_components.code,{children:`0`}),` closes that value.`]})}),`\n`,_jsx(ParamField,{body:`unmatched_param_policy`,type:`string`,default:`allow`,id:`param-unmatched-param-policy`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`allow`}),` lets in participants whose link has no matching value (they don’t count toward any bucket); `,_jsx(_components.code,{children:`reject`}),` turns them away.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`The saved configuration, same shape as `,_jsx(_components.a,{href:`/api-reference/quotas/get-study-quotas`,children:`Get study quotas`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To check what a given link would do before sharing it, `,_jsx(_components.code,{children:`POST /studies/{id}/quotas/evaluate`}),` with `,_jsx(_components.code,{children:`{ \"entry_params\": { \"group\": \"1\" } }`}),` returns `,_jsx(_components.code,{children:`{ allowed, reason, bucket }`}),` without recording anything.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,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:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.getversive.com/api/v1/studies/9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b/quotas`}),_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 `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$VERSIVE_API_KEY`}),_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:` \"Content-Type: application/json\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"url_param\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"param_name\": \"group\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buckets\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"value\": \"1\", \"limit\": 50 },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"value\": \"2\", \"limit\": 50 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"unmatched_param_policy\": \"reject\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})})]})}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":"Update study quotas","api":"PUT /studies/{id}/quotas","description":"Replace the study-level quota configuration","href":"/api-reference/quotas/update-study-quotas"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.getversive.com/api/v1/studies/9b2f7c1e-4a4b-4f6e-9a1d-1c2d3e4f5a6b/quotas\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$VERSIVE_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"mode\": \"url_param\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"param_name\": \"group\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"buckets\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> { \"value\": \"1\", \"limit\": 50 },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> { \"value\": \"2\", \"limit\": 50 }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"unmatched_param_policy\": \"reject\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update study quotas","path":"/studies/{id}/quotas","servers":[{"url":"https://api.getversive.com/api/v1"}],"method":"put","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The study ID.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"mode":[{"type":"string","description":"`off` , `fixed` , or `url_param` .","required":true}],"fixed_limit":[{"type":"integer","description":"Required in `fixed` mode, not allowed otherwise. `0` closes the study to new participants."}],"param_name":[{"type":"string","description":"Required in `url_param` mode, not allowed otherwise. Letters, digits, underscores, and hyphens only; up to 64 characters. `textColor` , `primaryColor` and `backgroundColor` return a `422` : embeds use those parameters for colors."}],"buckets":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Required in `url_param` mode, not allowed otherwise. One `{ value, limit }` per link value, up to 50, with unique values. Matching is exact and case-sensitive. A `limit` of `0` closes that value."}],"unmatched_param_policy":[{"type":"string","description":"`allow` lets in participants whose link has no matching value (they don’t count toward any bucket); `reject` turns them away."}]}}],"examples":{"example":{"value":{"mode":"\u003cstring>","fixed_limit":123,"param_name":"\u003cstring>","buckets":[{}],"unmatched_param_policy":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"versive","siteName":"Versive","title":"Update study quotas - Versive","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T23:58:20.647Z","originalFileLocation":"api-reference/quotas/update-study-quotas.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=\"description\" content=\"Replace the study-level quota configuration\">\u003cmeta data-mint-head name=\"application-name\" content=\"Versive\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://mintcdn.com/versive/-C2_T5LPeZ5Csg69/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=-C2_T5LPeZ5Csg69\u0026amp;q=85\u0026amp;s=ec8e3723f4e24346fcea7c20b5e480ce\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://mintcdn.com/versive/-C2_T5LPeZ5Csg69/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=-C2_T5LPeZ5Csg69\u0026amp;q=85\u0026amp;s=ec8e3723f4e24346fcea7c20b5e480ce\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://mintcdn.com/versive/-C2_T5LPeZ5Csg69/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=-C2_T5LPeZ5Csg69\u0026amp;q=85\u0026amp;s=ec8e3723f4e24346fcea7c20b5e480ce\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintcdn.com/versive/-C2_T5LPeZ5Csg69/favicon.ico?fit=max\u0026amp;auto=format\u0026amp;n=-C2_T5LPeZ5Csg69\u0026amp;q=85\u0026amp;s=ec8e3723f4e24346fcea7c20b5e480ce\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update study quotas - Versive\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replace the study-level quota configuration\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Versive\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getversive.com/api-reference/quotas/update-study-quotas\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://versive.mintlify.app/_mintlify/api/og/v2?division=Quotas\u0026amp;title=Update+study+quotas\u0026amp;description=Replace+the+study-level+quota+configuration\u0026amp;theme=7a6183d9c031df2d112bbb96\u0026amp;signature=0152bf2226104fdca461414464224f037b9de4705853769cb700592310cdab04\">\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=\"Update study quotas - Versive\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replace the study-level quota configuration\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://versive.mintlify.app/_mintlify/api/og/v2?division=Quotas\u0026amp;title=Update+study+quotas\u0026amp;description=Replace+the+study-level+quota+configuration\u0026amp;theme=7a6183d9c031df2d112bbb96\u0026amp;signature=0152bf2226104fdca461414464224f037b9de4705853769cb700592310cdab04\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/versive/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Versive\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00786F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getversive.com/api-reference/quotas/update-study-quotas\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/quotas/update-study-quotas.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getversive.com/#organization\",\"name\":\"Versive\",\"url\":\"https://docs.getversive.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/versive/Og7M_uVBtd7MTGJK/logo/light.svg?fit=max\u0026auto=format\u0026n=Og7M_uVBtd7MTGJK\u0026q=85\u0026s=3de4d6717f3a65645f417a61cc68828d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getversive.com#website\",\"name\":\"Versive\",\"url\":\"https://docs.getversive.com\",\"publisher\":{\"@id\":\"https://docs.getversive.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas#webpage\",\"url\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas\",\"name\":\"Update study quotas\",\"description\":\"Replace the study-level quota configuration\",\"dateModified\":\"2026-11-05T23:58:20.647Z\",\"isPartOf\":{\"@id\":\"https://docs.getversive.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Quotas\",\"item\":\"https://docs.getversive.com/api-reference/quotas/get-study-quotas\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update study quotas\",\"item\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas#apireference\",\"headline\":\"Update study quotas\",\"name\":\"Update study quotas\",\"description\":\"Replace the study-level quota configuration\",\"url\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getversive.com/api-reference/quotas/update-study-quotas#webpage\"},\"dateModified\":\"2026-11-05T23:58:20.647Z\",\"publisher\":{\"@id\":\"https://docs.getversive.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getversive.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Versive\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Versive","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Getting started","pages":[{"title":"API introduction","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Versioning and compatibility","sidebarTitle":"Versioning","href":"/api-reference/versioning"},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/api-reference/webhooks"}]},{"group":"Studies","pages":[{"title":"Create study","api":"POST /studies","href":"/api-reference/studies/create-study"},{"title":"List studies","api":"GET /studies","href":"/api-reference/studies/list-studies"},{"title":"Get study","api":"GET /studies/{id}","href":"/api-reference/studies/get-study"},{"title":"Update study","api":"PUT /studies/{id}","href":"/api-reference/studies/update-study"},{"title":"Get study metrics","api":"GET /studies/{id}/metrics","href":"/api-reference/studies/get-study-metrics"},{"title":"Review study","api":"GET /studies/{id}/review","href":"/api-reference/studies/review-study"},{"title":"Estimate study length","api":"POST /studies/length-estimate","href":"/api-reference/studies/estimate-study-length"},{"title":"Translate study","api":"POST /studies/{id}/translate","href":"/api-reference/studies/translate-study"},{"title":"List study translations","api":"GET /studies/{id}/translations","href":"/api-reference/studies/list-study-translations"},{"title":"Edit study with AI agent","api":"POST /studies/{study_id}/agent","href":"/api-reference/studies/agent-edit"},{"title":"Apply agent mutations","api":"POST /studies/{study_id}/agent/apply","href":"/api-reference/studies/agent-apply"},{"title":"AI edit questions (stateless)","api":"POST /studies/{study_id}/ai-edit","href":"/api-reference/studies/ai-edit"},{"title":"List available references","api":"GET /studies/{study_id}/available-references","href":"/api-reference/studies/available-references"}]},{"group":"Quotas","pages":[{"title":"Get study quotas","api":"GET /studies/{id}/quotas","description":"The study-level quota configuration","href":"/api-reference/quotas/get-study-quotas"},{"title":"Update study quotas","api":"PUT /studies/{id}/quotas","href":"/api-reference/quotas/update-study-quotas"},{"title":"Get quota progress","api":"GET /studies/{id}/quotas/progress","description":"Completes versus limit for every quota bucket","href":"/api-reference/quotas/get-quota-progress"},{"title":"List question quotas","api":"GET /studies/{id}/question-quotas","href":"/api-reference/quotas/list-question-quotas"},{"title":"Update question quotas","api":"PUT /studies/{id}/questions/{question_id}/quotas","href":"/api-reference/quotas/update-question-quotas"}]},{"group":"Randomizers","pages":[{"title":"List randomizers","api":"GET /randomizers","href":"/api-reference/randomizers/list-randomizers"},{"title":"Create randomizer","api":"POST /randomizers","href":"/api-reference/randomizers/create-randomizer"},{"title":"Update randomizer","api":"PUT /randomizers/{id}","href":"/api-reference/randomizers/update-randomizer"},{"title":"Remove randomizer","api":"POST /randomizers/{id}/remove","href":"/api-reference/randomizers/remove-randomizer"}]},{"group":"Questions","pages":[{"title":"List questions","api":"GET /questions","href":"/api-reference/questions/list-questions"},{"title":"Batch create/update questions","api":"POST /questions/batch","href":"/api-reference/questions/batch-questions"},{"title":"Update question","api":"PUT /questions/{question_id}","href":"/api-reference/questions/update-question"},{"title":"Delete question","api":"DELETE /questions/{question_id}","href":"/api-reference/questions/delete-question"}]},{"group":"Asset uploads","pages":[{"title":"Create asset upload","api":"POST /asset-uploads","href":"/api-reference/asset-uploads/create-asset-upload"},{"title":"Complete asset upload","api":"POST /asset-uploads/{upload_id}/complete","href":"/api-reference/asset-uploads/complete-asset-upload"}]},{"group":"Question logic","pages":[{"title":"List question logic","api":"GET /question-logic","href":"/api-reference/question-logic/list-question-logic"},{"title":"Create question logic","api":"POST /question-logic","href":"/api-reference/question-logic/create-question-logic"},{"title":"Update question logic","api":"PUT /question-logic/{logic_id}","href":"/api-reference/question-logic/update-question-logic"},{"title":"Delete question logic","api":"DELETE /question-logic/{logic_id}","href":"/api-reference/question-logic/delete-question-logic"}]},{"group":"Interviews","pages":[{"title":"Create interview","api":"POST /interviews","href":"/api-reference/interviews/create-interview"},{"title":"Get interview","api":"GET /interviews/{id}","href":"/api-reference/interviews/get-interview"},{"title":"Get interview by link token","api":"GET /interviews","href":"/api-reference/interviews/get-interview-by-vid"},{"title":"Get interview media","api":"GET /interviews/{id}/media","href":"/api-reference/interviews/get-interview-media"},{"title":"Update interview","api":"PUT /interviews/{id}","href":"/api-reference/interviews/update-interview"}]},{"group":"Insights","pages":[{"title":"Get interview insights","api":"GET /insights","href":"/api-reference/insights/get-insights"}]},{"group":"Translated questions","pages":[{"title":"List translated questions","api":"GET /translated-questions","href":"/api-reference/translated-questions/list-translated-questions"},{"title":"Get translated question","api":"GET /translated-questions/{translated_question_id}","href":"/api-reference/translated-questions/get-translated-question"},{"title":"Update translated question","api":"PUT /translated-questions/{translated_question_id}","href":"/api-reference/translated-questions/update-translated-question"}]},{"group":"Folders","pages":[{"title":"Create folder","api":"POST /folders","href":"/api-reference/folders/create-folder"},{"title":"List folders","api":"GET /folders","href":"/api-reference/folders/list-folders"},{"title":"Update folder","api":"PATCH /folders/{id}","href":"/api-reference/folders/update-folder"}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/overview"}]}]},"basePath":"","title":"Update study quotas - Versive","buildId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","deploymentId":"dpl_GZsjphRpnhWkstV12jxWNcMHFyox","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B5zPa4Vr.js","utils-CVjrr8Yd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DTgURWzl.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DxTHtkdZ.js","snippetPresets-Cx47o5Vx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-4Fr6y9N_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dq2ElbEk.js","shallow-BfYl9r69.js","getApiPlaygroundDisplay-Ch3xc7i1.js","CodeSnippet-BsBxuJ1v.js","CodeSnippets-CetzeDL8.js","Page-CYZot51e.js","getPastedJson-BxPKFSJx.js","icon-o0J1Ochb.js","MethodPill-Du3usO5m.js","DuplicateIcon-DJypyMzl.js","createIcon-YMA6N8KJ.js","DynamicMarkdown-CWvhfcZc.js","SectionHeading-BdLVaXCd.js","axios-vUo_bRtp.js"]}