Keep a Select’s options current from your own system
An Option Set is a named list your onboarding flows can point at. Editing it reaches devices
without republishing any flow, so a list that changes on your side — locations, plans, inventory —
stays current without anyone editing a flow.Two endpoints matter: one your system calls to push the list, and one the SDK calls to read
it. You only need the first.
Authenticate with the existing key pair from Console → Settings → SDK. The public key
identifies the app and the secret proves it; both live and sandbox pairs work, so you can stage
against sandbox and repoint the same code at production.
Adds and updates the items you send. Anything you omit is left alone.
replace
A full sync. Anything you omit is archived.
replace is the right mode for a nightly full export, but it acts on exactly what you send. If a
bug truncates your payload, a short list archives most of the set. merge is the default for that
reason — its worst case is “some items not updated”.
Never deletes. An item you stop sending is archived: hidden from users, kept so answers that
reference it still resolve. Send it again and it comes back.
Never rewrites a locked value.value is the analytics key. Once an answer has recorded it,
a row that would change it is refused on its own — the rest of the file still lands. Labels
and presentation can still change.
Bumps the set version, so devices pick the change up on next launch.
Alert on these rather than diffing yourself — "archived": 400 out of 420 is the shape of a
truncated export, and it is visible here before anyone notices on a device.
GET /api/v1/sdk/option-sets/{setId}?cursor=&q=x-api-key: pk_live_…
The SDKs call this themselves; it is documented because it is what makes an unbounded list
possible. A published flow carries only the first page, and the SDK pages and searches from here.
Search is server-side and accent-insensitive, so malaga finds Málaga Estate.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"AppDNA","colors":{"primary":"#F97316","light":"#FB923C","dark":"#EA580C"},"favicon":"https://mintcdn.com/appdnaaiinc/SRjb7juM1DiiLpZQ/favicon.ico?fit=max\u0026auto=format\u0026n=SRjb7juM1DiiLpZQ\u0026q=85\u0026s=9c57f9db44fc8bcf6be9ffe6ff4c7cbc","logo":{"light":"https://mintcdn.com/appdnaaiinc/SRjb7juM1DiiLpZQ/logo.png?fit=max\u0026auto=format\u0026n=SRjb7juM1DiiLpZQ\u0026q=85\u0026s=6ff753dde523427028fd13f35e78fe45","dark":"https://mintcdn.com/appdnaaiinc/SRjb7juM1DiiLpZQ/appdna.ai-logo.png?fit=max\u0026auto=format\u0026n=SRjb7juM1DiiLpZQ\u0026q=85\u0026s=98f572cd1f123ea99c17c94c1c6c058f"},"navbar":{"links":[{"label":"Console","href":"https://console.appdna.ai"}],"primary":{"type":"button","label":"Get Started","href":"https://console.appdna.ai"}},"footer":{"socials":{"github":"https://github.com/appdna-ai-inc","linkedin":"https://linkedin.com/company/appdna-ai"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/appdna-ai-inc","icon":"github"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"appdnaaiinc","hasAudioNarration":false,"actualSubdomain":"appdnaaiinc","customDomains":["docs.appdna.ai"],"gitSource":{"type":"github","owner":"appdna-ai-inc","repo":"appdna-ai","deployBranch":"develop","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aea7dcffddeb1a2ff652323","collectionId":"74cb1c38-fe55-4565-992a-6a01b89049e8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aea7dcffddeb1a2ff652323"},"entitlements":{},"buildId":"6aea7dcffddeb1a2ff652323","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"SDKs","count":140},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Android","count":17},{"language":"default","tag":"Flutter","count":17},{"language":"default","tag":"iOS","count":17},{"language":"default","tag":"React Native","count":17},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"API Reference","count":14},{"language":"default","tag":"Paid UA Integrations","count":9},{"language":"default","tag":"Getting Started","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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/option-sets","slug":"/api-reference/option-sets","pageMetadata":{"title":"Option Sets API","description":"Keep a Select's options current from your own system","href":"/api-reference/option-sets"},"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: \"Keep a Select’s options current from your own system\"\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={code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`An `,_jsx(_components.strong,{children:`Option Set`}),` is a named list your onboarding flows can point at. Editing it reaches devices\nwithout republishing any flow, so a list that changes on your side — locations, plans, inventory —\nstays current without anyone editing a flow.`]}),`\n`,_jsxs(_components.p,{children:[`Two endpoints matter: one your `,_jsx(_components.strong,{children:`system`}),` calls to push the list, and one the `,_jsx(_components.strong,{children:`SDK`}),` calls to read\nit. You only need the first.`]}),`\n`,_jsx(Heading,{level:`2`,id:`push-your-list`,children:`Push your list`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://api.appdna.ai/api/v1/sdk/option-sets/{setId}/sync`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pk_live_…`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sk_live_…`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"replace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sunrise\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sunrise Estate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"sort_order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"value\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"southridge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Southridge\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"option_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"subtitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Lakeside\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Authenticate with the `,_jsx(_components.strong,{children:`existing key pair`}),` from Console → Settings → SDK. The public key\nidentifies the app and the secret proves it; both live and sandbox pairs work, so you can stage\nagainst sandbox and repoint the same code at production.`]}),`\n`,_jsx(Heading,{level:`3`,id:`modes`,children:`Modes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Behaviour`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`merge`}),` `,_jsx(_components.em,{children:`(default)`})]}),_jsx(_components.td,{children:`Adds and updates the items you send. Anything you omit is left alone.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`replace`})}),_jsxs(_components.td,{children:[`A full sync. Anything you omit is `,_jsx(_components.strong,{children:`archived`}),`.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`replace`}),` is the right mode for a nightly full export, but it acts on exactly what you send. If a\nbug truncates your payload, a short list archives most of the set. `,_jsx(_components.code,{children:`merge`}),` is the default for that\nreason — its worst case is “some items not updated”.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`what-it-does-and-does-not-do`,children:`What it does and does not do`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Never deletes.`}),` An item you stop sending is archived: hidden from users, kept so answers that\nreference it still resolve. Send it again and it comes back.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Never rewrites a locked value.`}),` `,_jsx(_components.code,{children:`value`}),` is the analytics key. Once an answer has recorded it,\na row that would change it is refused `,_jsx(_components.strong,{children:`on its own`}),` — the rest of the file still lands. Labels\nand presentation can still change.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Bumps the set version`}),`, so devices pick the change up on next launch.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"set_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"replace\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"updated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`141`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"archived\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"rejected\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Alert on these rather than diffing yourself — `,_jsx(_components.code,{children:`\"archived\": 400`}),` out of 420 is the shape of a\ntruncated export, and it is visible here before anyone notices on a device.`]}),`\n`,_jsx(Heading,{level:`3`,id:`limits`,children:`Limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Items per request`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`5,000`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rate limit`}),_jsx(_components.td,{children:`20 requests/minute per key`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`A set can hold far more than 5,000 items — send them across several `,_jsx(_components.code,{children:`merge`}),` calls, then a final\n`,_jsx(_components.code,{children:`replace`}),` if you need omissions archived.`]}),`\n`,_jsx(Heading,{level:`2`,id:`read-the-list-sdk`,children:`Read the list (SDK)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/v1/sdk/option-sets/{setId}?cursor=\u0026q=`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`x-api-key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pk_live_…`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The SDKs call this themselves; it is documented because it is what makes an unbounded list\npossible. A published flow carries only the first page, and the SDK pages and searches from here.\nSearch is server-side and accent-insensitive, so `,_jsx(_components.code,{children:`malaga`}),` finds `,_jsx(_components.code,{children:`Málaga Estate`}),`.`]})]})}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":"Option Sets API","description":"Keep a Select's options current from your own system","href":"/api-reference/option-sets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Push your list","slug":"push-your-list","depth":2,"children":[{"title":"Modes","slug":"modes","depth":3,"children":[]},{"title":"What it does and does not do","slug":"what-it-does-and-does-not-do","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Limits","slug":"limits","depth":3,"children":[]}]},{"title":"Read the list (SDK)","slug":"read-the-list-sdk","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"appdnaaiinc","siteName":"AppDNA","title":"Option Sets API - AppDNA","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-28T19:18:22.722Z","originalFileLocation":"api-reference/option-sets.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=\"Keep a Select\u0026#x27;s options current from your own system\">\u003cmeta data-mint-head name=\"application-name\" content=\"AppDNA\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Option Sets API - AppDNA\">\u003cmeta data-mint-head property=\"og:description\" content=\"Keep a Select\u0026#x27;s options current from your own system\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AppDNA\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.appdna.ai/api-reference/option-sets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://appdnaaiinc.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Option+Sets+API\u0026amp;description=Keep+a+Select%27s+options+current+from+your+own+system\u0026amp;theme=f66080096b2c870dfffc113a\u0026amp;signature=9e2646d69e4d50c8c46b8e1bebce2c857034a66780ec20ea29e7374ec783e065\">\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=\"Option Sets API - AppDNA\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Keep a Select\u0026#x27;s options current from your own system\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://appdnaaiinc.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Option+Sets+API\u0026amp;description=Keep+a+Select%27s+options+current+from+your+own+system\u0026amp;theme=f66080096b2c870dfffc113a\u0026amp;signature=9e2646d69e4d50c8c46b8e1bebce2c857034a66780ec20ea29e7374ec783e065\">\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/appdnaaiinc/5e1Nlj5j_KYfgc3O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AppDNA\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F97316\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.appdna.ai/api-reference/option-sets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/option-sets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.appdna.ai/#organization\",\"name\":\"AppDNA\",\"url\":\"https://docs.appdna.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/appdnaaiinc/SRjb7juM1DiiLpZQ/logo.png?fit=max\u0026auto=format\u0026n=SRjb7juM1DiiLpZQ\u0026q=85\u0026s=6ff753dde523427028fd13f35e78fe45\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.appdna.ai#website\",\"name\":\"AppDNA\",\"url\":\"https://docs.appdna.ai\",\"publisher\":{\"@id\":\"https://docs.appdna.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.appdna.ai/api-reference/option-sets#webpage\",\"url\":\"https://docs.appdna.ai/api-reference/option-sets\",\"name\":\"Option Sets API\",\"description\":\"Keep a Select's options current from your own system\",\"dateModified\":\"2026-08-28T19:18:22.722Z\",\"isPartOf\":{\"@id\":\"https://docs.appdna.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.appdna.ai/api-reference/option-sets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.appdna.ai/api-reference/option-sets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.appdna.ai/api-reference/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Option Sets API\",\"item\":\"https://docs.appdna.ai/api-reference/option-sets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.appdna.ai/api-reference/option-sets#article\",\"headline\":\"Option Sets API\",\"name\":\"Option Sets API\",\"description\":\"Keep a Select's options current from your own system\",\"url\":\"https://docs.appdna.ai/api-reference/option-sets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.appdna.ai/api-reference/option-sets#webpage\"},\"dateModified\":\"2026-08-28T19:18:22.722Z\",\"publisher\":{\"@id\":\"https://docs.appdna.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.appdna.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AppDNA\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AppDNA","nav":{"global":{"anchors":[{"anchor":"GitHub","href":"https://github.com/appdna-ai-inc","icon":"github"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Event Ingestion","href":"/api-reference/events"},{"title":"Auto-Tracked Events","href":"/api-reference/auto-tracked-events"},{"title":"Config Bundle","description":"Versioned configuration bundles for SDK caching","href":"/api-reference/config-bundle"},{"title":"Option Sets API","href":"/api-reference/option-sets"},{"title":"Analytics \u0026 Export","description":"Read dashboard analytics and export raw SDK events","href":"/api-reference/analytics-export"},{"title":"Webhooks","href":"/api-reference/webhooks"}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/onboarding-to-premium"}]}]},"basePath":"","title":"Option Sets API - AppDNA","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":[],"chunks":[]}