{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/internal_error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "Internal error",
"suggestion": "Retry; if it keeps failing, report the request_id.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
Optimize
Get optimizer run
Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop’s history.
{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/internal_error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "Internal error",
"suggestion": "Retry; if it keeps failing, report the request_id.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
{
"type": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
Cost: Free.
Works while the extension is offline: this call uses only what Alura stores. See Chrome extension.
Comma-separated dotted paths to return; id, object and as_of always come back.
Response
OK
Option 1
Option 2
Option 3
object
string
required
Allowed value: "workspace.ads_optimize_run"
id
string
required
The run ID: GET /v1/workspace/ads/optimize/runs/{id} reads it while it is kept.
status
string
required
preview: planned only; nothing was changed on Etsy.
Allowed value: "preview"
shop_id
string
required
target
enum<string>
required
Available options:
listings,
search_terms
created_at
string
required
ISO 8601, UTC.
expires_at
string
required
When the preview is dropped: after it, its GET is 410 optimize_run_expired.
basis
enum<string>
required
Where the strategy came from: explicit (overrides.strategy), saved (the optimizer settings), default (Budget Saver, or Keyword Saver for search terms: no settings saved).
Available options:
explicit,
saved,
default
strategy
object
required
The strategy the plan used (the shape of a strategy in the optimizer settings), with the run's period and action cap.
Show child attributes
period
object
required
The days judged, on Etsy's calendar (US Eastern); for search terms, the window their numbers cover (Etsy's rolling last 31 days and today).
Show child attributes
margin_pct
number | null
required
The shop margin the plan used; null when none is saved or given.
break_even_roas
number | null
required
The shop margin's break-even ROAS: below it, ads lose money at this margin. A floor: a listing's own can be higher. null without a margin, when it is unknown, or when no ROAS breaks even at this margin.
actions
object[]
required
The planned changes, highest spend first.
Show child attributes
held_back
object[]
required
What the rules matched but a guardrail held back (codes of kind guardrail, except run_cap: capped_count counts those), highest spend first, at most 20 (the held_back notice counts them all). Nothing here is changed by an apply; a seller who wants them acted on changes the strategy's guardrails.
Show child attributes
capped
boolean
required
true when more listings matched than the action cap: the highest-spend ones were kept.
max_actions_capped
boolean
required
true when the strategy's own action cap (or the default) was above what one apply sends (120 listings, 7 search terms), so this preview planned at most that; send overrides.max_actions to plan more (preview only: an apply sends no more). The saved settings are unchanged.
capped_count
integer
required
Listings (or search terms) that matched beyond the cap (0 when not capped).
projected_monthly_spend_freed
object | null
required
The paused listings' (or turned-off terms') spend over the period, as 30 days: ad spend freed, not guaranteed cash saved (the daily budget is shared, so Etsy may spend it on other listings). Only spend Etsy reported is added: with spend_unknown_count above 0 this is a lower bound (at least this much). In US dollars (Etsy Ads money for every shop); null when it is unknown.
Show child attributes
spend_unknown_count
integer
required
Paused listings whose spend Etsy didn't report: left out of projected_monthly_spend_freed, never added as 0, so above 0 that amount is "at least".
coverage
object
required
Show child attributes
notices
object[]
required
Show child attributes
plan_hash
string
required
The plan's hash (its actions and everything they were decided on). Send it with the apply (plan_hash): the apply is refused, nothing sent, unless it is still this plan.
fetched_at
string | null
required
When Alura read the scan from Etsy; null when nothing was read.
source
string
required
Allowed value: "live"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Alura API","description":"Etsy market research for scripts and AI assistants: products, shops, keywords and saved research.","colors":{"primary":"#155EEF","light":"#528BFF","dark":"#004EEB"},"logo":{"light":"https://mintcdn.com/alura/HySS5CT36sWBL9EL/logo/light.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=6afcc5174d02ee0af4c233126964240a","dark":"https://mintcdn.com/alura/HySS5CT36sWBL9EL/logo/dark.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=0babd9724a17bbf017bb0d29d0943900","href":"https://alura.io"},"favicon":"https://mintcdn.com/alura/HySS5CT36sWBL9EL/favicon.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=4a49d66ca34eb4e2b084d778927ed570","api":{"playground":{"display":"none","proxy":false},"examples":{"languages":["curl","typescript","python"]}},"background":{"color":{"light":"#FFFFFF","dark":"#171717"}},"navbar":{"links":[{"href":"/status","label":"Status"}],"primary":{"type":"button","label":"Get an API key","href":"https://platform.alura.io/settings"}},"footer":{"socials":{"website":"https://alura.io"}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alura","hasAudioNarration":false,"actualSubdomain":"alura","customDomains":["docs.alura.io"],"gitSource":{"type":"github","owner":"pixell-co","repo":"alura-public-api","deployBranch":"main","contentDirectory":"apps/docs/content","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b03642e44961eaca6db4173","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API reference","count":199},{"language":"default","tag":"Your shop","count":89},{"language":"default","tag":"Chrome extension","count":51},{"language":"default","tag":"Research","count":37},{"language":"default","tag":"Documentation","count":36},{"language":"default","tag":"Shop","count":34},{"language":"default","tag":"Knowledge","count":21},{"language":"default","tag":"Etsy Ads","count":20},{"language":"default","tag":"Etsy","count":16},{"language":"default","tag":"MCP","count":15}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"editor-metadata","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"a[href=\"https://platform.alura.io/settings\"]:not(.link){background-color:transparent!important}a[href=\"https://platform.alura.io/settings\"]:not(.link)>span:first-child,html.dark a[href=\"https://platform.alura.io/settings\"]:not(.link)>span:first-child{background-color:#155EEF!important}a[href=\"https://platform.alura.io/settings\"]:not(.link),a[href=\"https://platform.alura.io/settings\"]:not(.link) *{color:#FFFFFF!important}a[href=\"https://platform.alura.io/settings\"]:not(.link):hover>span:first-child{background-color:#004EEB!important}a[href=\"https://platform.alura.io/settings\"][target=\"_blank\"]:not(.link) svg{display:none!important}a[href=\"https://platform.alura.io/settings\"]:not(.link),a[href=\"https://platform.alura.io/settings\"]:not(.link)>span:first-child,button:not([role=\"switch\"]):not([role=\"tab\"]),.sidebar-group a,#search-bar-entry,#search-bar-entry-mobile{border-radius:9999px!important}#page-context-menu-button{border-radius:0.75rem 0 0 0.75rem!important}#page-context-menu-button+button{border-radius:0 0.75rem 0.75rem 0!important}#topbar-cta-button>a{padding:0.375rem 0.875rem!important;font-size:0.8125rem!important}[data-component-part=\"update-tag\"],[data-component-part=\"update-description\"]{font-size:0.75rem;line-height:1.25rem}[data-component-part=\"update-tag-list\"]{flex-direction:column;gap:0.25rem}[data-component-part=\"update-tag\"]{opacity:0.7}[data-component-part=\"update-content\"]>h2:first-child{margin-top:0;font-size:1.5rem;line-height:2rem}[data-component-part=\"update-content\"] h3{font-size:1rem;margin-top:1.75rem}"}]}
{"page":{"pagePath":"api-reference/workspace/ads/optimize/runs/get","slug":"/api-reference/workspace/ads/optimize/runs/get","pageMetadata":{"title":"Get optimizer run","description":"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop's history.","deprecated":null,"version":null,"sidebarTitle":"Get optimizer run","openapi":"/openapi.json get /v1/workspace/ads/optimize/runs/{id}","href":"/api-reference/workspace/ads/optimize/runs/get","autogeneratedByOpenApi":true},"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: \"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop’s history.\"\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`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cost:`}),` Free.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Works while the extension is offline: this call uses only what Alura stores. See `,_jsx(_components.a,{href:`/api-reference/chrome-extension`,children:`Chrome extension`}),`.`]})}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42\"`}),_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:`$ALURA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Needs the `,_jsx(_components.code,{children:`ads:read`}),` scope and the `,_jsx(_components.strong,{children:`Etsy Ads`}),` workspace permission.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-get`,children:`What you get`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`The run is`}),_jsx(_components.th,{children:`The answer holds`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`A preview (`,_jsx(_components.code,{children:`status: preview`}),`)`]}),_jsxs(_components.td,{children:[`The plan, as its preview answered it, for 30 minutes (`,_jsx(_components.code,{children:`expires_at`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`A preview still reading its shop (`,_jsx(_components.code,{children:`status: scanning`}),`)`]}),_jsxs(_components.td,{children:[`Its progress and `,_jsx(_components.code,{children:`continuation`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A run in the shop’s history, applied over this API or on Alura’s Etsy Ads page`}),_jsx(_components.td,{children:`Its actions as recorded, how each ended on Etsy’s read-back, and its undo state`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`read-a-run`,children:`Read a run`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.th,{children:`Means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`applying`})}),_jsxs(_components.td,{children:[`Its writes are in flight, and its actions are `,_jsx(_components.code,{children:`pending`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`applied`})}),_jsx(_components.td,{children:`Every change was sent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`partial`})}),_jsxs(_components.td,{children:[`Some failed or were not sent. A run that stopped mid-apply is `,_jsx(_components.code,{children:`partial`}),` too, with `,_jsx(_components.code,{children:`interrupted_at`}),`.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Each action says how it ended on Etsy’s read-back:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsxs(_components.th,{children:[`Action `,_jsx(_components.code,{children:`status`})]}),_jsx(_components.th,{children:`Means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`Its write is still in flight`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`applied`})}),_jsx(_components.td,{children:`Etsy’s read-back shows it`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unconfirmed`})}),_jsxs(_components.td,{children:[`It may be on Etsy, but nothing proved it. `,_jsx(_components.code,{children:`outcome_unknown`}),` is true when the run lost track of it before Etsy answered.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsx(_components.td,{children:`Refused with nothing written`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`skipped`})}),_jsx(_components.td,{children:`Not sent: its state on Etsy couldn’t be read first, or an earlier write didn’t succeed`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`An `,_jsx(_components.code,{children:`unconfirmed`}),` action is never counted as applied, or in `,_jsx(_components.code,{children:`projected_monthly_spend_freed`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-it-can’t-be-read`,children:`When it can’t be read`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Answer`}),_jsx(_components.th,{children:`Means`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`410`}),` `,_jsx(_components.a,{href:`/errors/optimize_run_expired`,children:_jsx(_components.code,{children:`optimize_run_expired`})})]}),_jsx(_components.td,{children:`A preview expired and was never applied. Preview again.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409`}),` `,_jsx(_components.a,{href:`/errors/runs_unreadable`,children:_jsx(_components.code,{children:`runs_unreadable`})})]}),_jsx(_components.td,{children:`Alura can’t read the stored run`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`This workspace’s shops don’t hold the run`})]})]})]})]})}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":"Get optimizer run","description":"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop's history.","deprecated":null,"version":null,"sidebarTitle":"Get optimizer run","openapi":"/openapi.json get /v1/workspace/ads/optimize/runs/{id}","href":"/api-reference/workspace/ads/optimize/runs/get","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you get","slug":"what-you-get","depth":2,"children":[]},{"title":"Read a run","slug":"read-a-run","depth":2,"children":[]},{"title":"When it can’t be read","slug":"when-it-can’t-be-read","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"workspace.ads.optimize.runs.get","summary":"Get optimizer run","description":"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop's history.","parameters":["838eece7-78de-4327-8763-b4b01dea61c6","c4c3d808-bfc4-4488-b16c-d06f2819467a"],"responses":{"200":"33543164-8c74-4168-b5de-74585556ae04","400":"02c4ed01-b44c-4a4d-bd25-2cf0b0f68f26","401":"3d33c83e-effe-48cc-ae70-ebcccd5f82ea","402":"0435c383-a5bb-462c-8370-b476901fe652","403":"c33d90dc-9294-4162-9561-5ec59e5a4d9f","404":"35dd3bfc-6c9f-4269-81d7-68f91c115193","405":"48a7ee1d-fb6a-4f36-8a7a-2f123d93d8b0","409":"8b816f86-e2e1-40c0-a719-855f8420d947","410":"bf35e2a7-1fe9-4a76-828c-5dda616aa9fb","429":"50296c1b-838c-4060-ae5a-beb937d08760","500":"7513eacb-15c6-481d-bebb-9dd6567ae75c","503":"e3c0d682-6ce1-42c7-b934-ea6726538d6e"},"x-alura-credits":{"credits":0,"unit":"call"},"x-alura-scopes":["ads:read"],"x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl \"https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\""},{"lang":"typescript","label":"TypeScript","source":"const res = await fetch('https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42', {\n headers: {\n Authorization: `Bearer ${process.env.ALURA_API_KEY}`,\n },\n});\nconsole.log(await res.json());"},{"lang":"python","label":"Python","source":"import json\nimport os\nimport urllib.request\n\nrequest = urllib.request.Request(\n \"https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['ALURA_API_KEY']}\",\n },\n)\nwith urllib.request.urlopen(request) as response:\n print(json.load(response))"}],"x-mint":{"href":"/api-reference/workspace/ads/optimize/runs/get","metadata":{"sidebarTitle":"Get optimizer run","description":"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop's history."},"content":"**Cost:** Free.\n\n\u003cNote>\nWorks while the extension is offline: this call uses only what Alura stores. See [Chrome extension](/api-reference/chrome-extension).\n\u003c/Note>\n\n```bash\ncurl \"https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\"\n```\n\nNeeds the `ads:read` scope and the **Etsy Ads** workspace permission.\n\n## What you get\n\n| The run is | The answer holds |\n|---|---|\n| A preview (`status: preview`) | The plan, as its preview answered it, for 30 minutes (`expires_at`) |\n| A preview still reading its shop (`status: scanning`) | Its progress and `continuation` |\n| A run in the shop's history, applied over this API or on Alura's Etsy Ads page | Its actions as recorded, how each ended on Etsy's read-back, and its undo state |\n\n## Read a run\n\n| `status` | Means |\n|---|---|\n| `applying` | Its writes are in flight, and its actions are `pending` |\n| `applied` | Every change was sent |\n| `partial` | Some failed or were not sent. A run that stopped mid-apply is `partial` too, with `interrupted_at`. |\n\nEach action says how it ended on Etsy's read-back:\n\n| Action `status` | Means |\n|---|---|\n| `pending` | Its write is still in flight |\n| `applied` | Etsy's read-back shows it |\n| `unconfirmed` | It may be on Etsy, but nothing proved it. `outcome_unknown` is true when the run lost track of it before Etsy answered. |\n| `failed` | Refused with nothing written |\n| `skipped` | Not sent: its state on Etsy couldn't be read first, or an earlier write didn't succeed |\n\nAn `unconfirmed` action is never counted as applied, or in `projected_monthly_spend_freed`.\n\n## When it can't be read\n\n| Answer | Means |\n|---|---|\n| `410` [`optimize_run_expired`](/errors/optimize_run_expired) | A preview expired and was never applied. Preview again. |\n| `409` [`runs_unreadable`](/errors/runs_unreadable) | Alura can't read the stored run |\n| `404` | This workspace's shops don't hold the run |"},"method":"get","type":"path","servers":["616e7fd8-7d97-4980-bf47-ea03e1349236"],"security":["2aa7a7e0-c8b1-479f-b276-7bae04f815a2"],"path":"/v1/workspace/ads/optimize/runs/{id}","baseUrlOptions":["https://api.alura.io"],"title":"Get optimizer run","codeSamples":[{"label":"cURL","lang":"bash","source":"curl \"https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42\" \\\n -H \"Authorization: Bearer $ALURA_API_KEY\""},{"label":"TypeScript","lang":"typescript","source":"const res = await fetch('https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42', {\n headers: {\n Authorization: `Bearer ${process.env.ALURA_API_KEY}`,\n },\n});\nconsole.log(await res.json());"},{"label":"Python","lang":"python","source":"import json\nimport os\nimport urllib.request\n\nrequest = urllib.request.Request(\n \"https://api.alura.io/v1/workspace/ads/optimize/runs/0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42\",\n headers={\n \"Authorization\": f\"Bearer {os.environ['ALURA_API_KEY']}\",\n },\n)\nwith urllib.request.urlopen(request) as response:\n print(json.load(response))"}],"requestExampleLanguages":["bash","typescript","python"],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"838eece7-78de-4327-8763-b4b01dea61c6":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9_-]{1,80}$","description":"The run ID a preview answered.","example":"0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"c4c3d808-bfc4-4488-b16c-d06f2819467a":{"name":"fields","in":"query","required":false,"description":"Comma-separated dotted paths to return; `id`, `object` and `as_of` always come back.","schema":{"type":"string","isRequired":false,"description":"Comma-separated dotted paths to return; `id`, `object` and `as_of` always come back.","uniqueKey":"","typeLabel":"string"}}},"responses":{"33543164-8c74-4168-b5de-74585556ae04":{"description":"OK","headers":{"Request-Id":{"description":"`req_` + ULID; quote it when reporting a problem.","schema":{"type":"string"}},"Alura-Credits-Cost":{"description":"API credits this call cost.","schema":{"type":"integer"}},"Alura-Credits-Remaining":{"description":"API credits left in the workspace's monthly allowance, counting calls still in flight. Absent when it cannot be read right now.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["object","id","status","shop_id","target","created_at","expires_at","basis","strategy","period","margin_pct","break_even_roas","actions","held_back","capped","max_actions_capped","capped_count","projected_monthly_spend_freed","spend_unknown_count","coverage","notices","plan_hash","fetched_at","source"],"properties":{"object":{"type":"string","const":"workspace.ads_optimize_run","isRequired":true,"uniqueKey":"oneOf.0.object","typeLabel":"string"},"id":{"type":"string","description":"The run ID: `GET /v1/workspace/ads/optimize/runs/{id}` reads it while it is kept.","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string"},"status":{"type":"string","const":"preview","description":"`preview`: planned only; nothing was changed on Etsy.","isRequired":true,"uniqueKey":"oneOf.0.status","typeLabel":"string"},"shop_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.shop_id","typeLabel":"string"},"target":{"type":"string","enum":["listings","search_terms"],"isRequired":true,"uniqueKey":"oneOf.0.target","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","description":"ISO 8601, UTC.","isRequired":true,"uniqueKey":"oneOf.0.created_at","typeLabel":"string"},"expires_at":{"type":"string","description":"When the preview is dropped: after it, its GET is 410 `optimize_run_expired`.","isRequired":true,"uniqueKey":"oneOf.0.expires_at","typeLabel":"string"},"basis":{"type":"string","enum":["explicit","saved","default"],"description":"Where the strategy came from: `explicit` (`overrides.strategy`), `saved` (the optimizer settings), `default` (Budget Saver, or Keyword Saver for search terms: no settings saved).","isRequired":true,"uniqueKey":"oneOf.0.basis","typeLabel":"enum\u003cstring>"},"strategy":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.strategy.additionalProperties","typeLabel":"any"},"description":"The strategy the plan used (the shape of a strategy in the optimizer settings), with the run's period and action cap.","isRequired":true,"uniqueKey":"oneOf.0.strategy","typeLabel":"object"},"period":{"type":"object","properties":{"from":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.period.from","typeLabel":"string"},"to":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.period.to","typeLabel":"string"}},"required":["from","to"],"additionalProperties":false,"description":"The days judged, on Etsy's calendar (US Eastern); for search terms, the window their numbers cover (Etsy's rolling last 31 days and today).","isRequired":true,"uniqueKey":"oneOf.0.period","typeLabel":"object"},"margin_pct":{"oneOf":[{"description":"The shop margin the plan used; null when none is saved or given.","type":"number","isRequired":true,"uniqueKey":"oneOf.0.margin_pct.oneOf.0","typeLabel":"number"},{"description":"The shop margin the plan used; null when none is saved or given.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.margin_pct.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.margin_pct","typeLabel":"number | null"},"break_even_roas":{"oneOf":[{"description":"The shop margin's break-even ROAS: below it, ads lose money at this margin. A floor: a listing's own can be higher. null without a margin, when it is unknown, or when no ROAS breaks even at this margin.","type":"number","isRequired":true,"uniqueKey":"oneOf.0.break_even_roas.oneOf.0","typeLabel":"number"},{"description":"The shop margin's break-even ROAS: below it, ads lose money at this margin. A floor: a listing's own can be higher. null without a margin, when it is unknown, or when no ROAS breaks even at this margin.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.break_even_roas.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.break_even_roas","typeLabel":"number | null"},"actions":{"type":"array","items":{"type":"object","properties":{"listing_id":{"type":"string","description":"The Etsy listing ID, as a string.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].listing_id","typeLabel":"string"},"title":{"type":"string","description":"The listing's title.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].title","typeLabel":"string"},"action":{"type":"string","enum":["pause","lower_click_cost","mark_irrelevant"],"description":"`pause`: stop advertising the listing; `lower_click_cost`: move it to the Lower click cost strategy; `mark_irrelevant`: turn the search term `query` off for this listing.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"query":{"oneOf":[{"description":"The search term a `mark_irrelevant` action turns off (as Etsy names it); null otherwise.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].query.oneOf.0","typeLabel":"string"},{"description":"The search term a `mark_irrelevant` action turns off (as Etsy names it); null otherwise.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].query.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].query","typeLabel":"string | null"},"reason":{"type":"string","description":"Why the rules matched, in words.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].reason","typeLabel":"string"},"override":{"oneOf":[{"description":"The label of the strategy's override whose rules matched; null for the base rules.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].override.oneOf.0","typeLabel":"string"},{"description":"The label of the strategy's override whose rules matched; null for the base rules.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].override.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].override","typeLabel":"string | null"},"prev_strategy":{"oneOf":[{"type":"string","description":"The listing's strategy now (what an undo restores); null when Etsy did not say.","enum":["efficient","lower_click_cost","greater_visibility"],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].prev_strategy.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The listing's strategy now (what an undo restores); null when Etsy did not say.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].prev_strategy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].prev_strategy","typeLabel":"enum\u003cstring> | null"},"metrics":{"type":"object","properties":{"impressions":{"oneOf":[{"type":"integer","description":"Times the ads were shown; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.impressions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Times the ads were shown; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.impressions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.impressions","typeLabel":"integer | null"},"clicks":{"oneOf":[{"type":"integer","description":"Clicks on the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.clicks.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Clicks on the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.clicks.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.clicks","typeLabel":"integer | null"},"click_rate":{"oneOf":[{"description":"Clicks ÷ impressions (0.0162 for 1.62%), from the counts; null when there were no impressions or a count is unknown.","type":"number","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.click_rate.oneOf.0","typeLabel":"number"},{"description":"Clicks ÷ impressions (0.0162 for 1.62%), from the counts; null when there were no impressions or a count is unknown.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.click_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.click_rate","typeLabel":"number | null"},"spend":{"oneOf":[{"type":"object","description":"What the ads cost, in US dollars; null when Etsy did not give it.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.spend.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.spend.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.spend.oneOf.0","typeLabel":"object"},{"type":"null","description":"What the ads cost, in US dollars; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.spend.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.spend","typeLabel":"object | null"},"orders":{"oneOf":[{"type":"integer","description":"Orders Etsy attributes to the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.orders.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Orders Etsy attributes to the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.orders.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.orders","typeLabel":"integer | null"},"revenue":{"oneOf":[{"type":"object","description":"Revenue from those orders, in US dollars; null when Etsy did not give it.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.revenue.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.revenue.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.revenue.oneOf.0","typeLabel":"object"},{"type":"null","description":"Revenue from those orders, in US dollars; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.revenue.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.revenue","typeLabel":"object | null"},"roas":{"oneOf":[{"description":"Return on ad spend: revenue ÷ spend; null when nothing was spent or either is unknown.","type":"number","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.roas.oneOf.0","typeLabel":"number"},{"description":"Return on ad spend: revenue ÷ spend; null when nothing was spent or either is unknown.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.roas.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics.roas","typeLabel":"number | null"}},"required":["impressions","clicks","click_rate","spend","orders","revenue","roas"],"additionalProperties":false,"description":"The listing over the period (for `mark_irrelevant`: the search term on this listing).","isRequired":true,"uniqueKey":"oneOf.0.actions.items.[INDEX].metrics","typeLabel":"object"}},"required":["listing_id","title","action","query","reason","override","prev_strategy","metrics"],"additionalProperties":false,"uniqueKey":"oneOf.0.actions.items.[INDEX]","typeLabel":"object"},"description":"The planned changes, highest spend first.","isRequired":true,"uniqueKey":"oneOf.0.actions","typeLabel":"object[]"},"held_back":{"default":[],"description":"What the rules matched but a guardrail held back (codes of kind `guardrail`, except `run_cap`: `capped_count` counts those), highest spend first, at most 20 (the `held_back` notice counts them all). Nothing here is changed by an apply; a seller who wants them acted on changes the strategy's guardrails.","type":"array","items":{"type":"object","properties":{"listing_id":{"type":"string","description":"The Etsy listing ID, as a string.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].listing_id","typeLabel":"string"},"title":{"type":"string","description":"The listing's title.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].title","typeLabel":"string"},"query":{"oneOf":[{"description":"For `search_terms`: the search term; null for listings.","type":"string","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].query.oneOf.0","typeLabel":"string"},{"description":"For `search_terms`: the search term; null for listings.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].query.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].query","typeLabel":"string | null"},"code":{"type":"string","enum":["min_clicks","rule_of_three","grace_period","run_cap","already_lower_click_cost","query_too_long","metric_unknown","conversion_rate_unknown","protection_unknown","unexpected_data"],"description":"Why it got no action. Guardrails (the rules matched; a guardrail held it back): `min_clicks` (fewer clicks than the strategy's floor), `rule_of_three` (no sale yet, but too few clicks for that to count as evidence at the shop's conversion rate), `grace_period` (newer than the strategy's grace period), `run_cap` (past the run's action cap). Rules (the rules matched; nothing to change): `already_lower_click_cost`, `query_too_long`. Data missing (not judged): `metric_unknown` (Etsy did not report a number the rules need), `conversion_rate_unknown`, `protection_unknown` (price, digital status, section or age could not be checked), `unexpected_data`. New codes may be added.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","description":"Why it was held back, in words.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].reason","typeLabel":"string"},"clicks_needed":{"oneOf":[{"type":"integer","description":"For `rule_of_three`: the clicks with no sale at which the rules would act on it; null otherwise.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].clicks_needed.oneOf.0","typeLabel":"integer"},{"type":"null","description":"For `rule_of_three`: the clicks with no sale at which the rules would act on it; null otherwise.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].clicks_needed.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].clicks_needed","typeLabel":"integer | null"},"metrics":{"type":"object","properties":{"impressions":{"oneOf":[{"type":"integer","description":"Times the ads were shown; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.impressions.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Times the ads were shown; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.impressions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.impressions","typeLabel":"integer | null"},"clicks":{"oneOf":[{"type":"integer","description":"Clicks on the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.clicks.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Clicks on the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.clicks.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.clicks","typeLabel":"integer | null"},"click_rate":{"oneOf":[{"description":"Clicks ÷ impressions (0.0162 for 1.62%), from the counts; null when there were no impressions or a count is unknown.","type":"number","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.click_rate.oneOf.0","typeLabel":"number"},{"description":"Clicks ÷ impressions (0.0162 for 1.62%), from the counts; null when there were no impressions or a count is unknown.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.click_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.click_rate","typeLabel":"number | null"},"spend":{"oneOf":[{"type":"object","description":"What the ads cost, in US dollars; null when Etsy did not give it.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.spend.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.spend.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.spend.oneOf.0","typeLabel":"object"},{"type":"null","description":"What the ads cost, in US dollars; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.spend.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.spend","typeLabel":"object | null"},"orders":{"oneOf":[{"type":"integer","description":"Orders Etsy attributes to the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.orders.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Orders Etsy attributes to the ads; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.orders.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.orders","typeLabel":"integer | null"},"revenue":{"oneOf":[{"type":"object","description":"Revenue from those orders, in US dollars; null when Etsy did not give it.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.revenue.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.revenue.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.revenue.oneOf.0","typeLabel":"object"},{"type":"null","description":"Revenue from those orders, in US dollars; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.revenue.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.revenue","typeLabel":"object | null"},"roas":{"oneOf":[{"description":"Return on ad spend: revenue ÷ spend; null when nothing was spent or either is unknown.","type":"number","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.roas.oneOf.0","typeLabel":"number"},{"description":"Return on ad spend: revenue ÷ spend; null when nothing was spent or either is unknown.","type":"null","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.roas.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics.roas","typeLabel":"number | null"}},"required":["impressions","clicks","click_rate","spend","orders","revenue","roas"],"additionalProperties":false,"description":"The listing over the period (for search terms: the term on this listing).","isRequired":true,"uniqueKey":"oneOf.0.held_back.items.[INDEX].metrics","typeLabel":"object"}},"required":["listing_id","title","query","code","reason","clicks_needed","metrics"],"additionalProperties":false,"uniqueKey":"oneOf.0.held_back.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.held_back","typeLabel":"object[]"},"capped":{"type":"boolean","description":"true when more listings matched than the action cap: the highest-spend ones were kept.","isRequired":true,"uniqueKey":"oneOf.0.capped","typeLabel":"boolean"},"max_actions_capped":{"type":"boolean","description":"true when the strategy's own action cap (or the default) was above what one apply sends (120 listings, 7 search terms), so this preview planned at most that; send `overrides.max_actions` to plan more (preview only: an apply sends no more). The saved settings are unchanged.","isRequired":true,"uniqueKey":"oneOf.0.max_actions_capped","typeLabel":"boolean"},"capped_count":{"type":"integer","description":"Listings (or search terms) that matched beyond the cap (0 when not capped).","isRequired":true,"uniqueKey":"oneOf.0.capped_count","typeLabel":"integer"},"projected_monthly_spend_freed":{"oneOf":[{"type":"object","description":"The paused listings' (or turned-off terms') spend over the period, as 30 days: ad spend freed, not guaranteed cash saved (the daily budget is shared, so Etsy may spend it on other listings). Only spend Etsy reported is added: with `spend_unknown_count` above 0 this is a lower bound (at least this much). In US dollars (Etsy Ads money for every shop); null when it is unknown.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"oneOf.0.projected_monthly_spend_freed.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"oneOf.0.projected_monthly_spend_freed.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.projected_monthly_spend_freed.oneOf.0","typeLabel":"object"},{"type":"null","description":"The paused listings' (or turned-off terms') spend over the period, as 30 days: ad spend freed, not guaranteed cash saved (the daily budget is shared, so Etsy may spend it on other listings). Only spend Etsy reported is added: with `spend_unknown_count` above 0 this is a lower bound (at least this much). In US dollars (Etsy Ads money for every shop); null when it is unknown.","isRequired":true,"uniqueKey":"oneOf.0.projected_monthly_spend_freed.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.projected_monthly_spend_freed","typeLabel":"object | null"},"spend_unknown_count":{"type":"integer","description":"Paused listings whose spend Etsy didn't report: left out of `projected_monthly_spend_freed`, never added as 0, so above 0 that amount is \"at least\".","isRequired":true,"uniqueKey":"oneOf.0.spend_unknown_count","typeLabel":"integer"},"coverage":{"type":"object","properties":{"listings_total":{"oneOf":[{"type":"integer","description":"Etsy's count of the shop's advertised listings; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.coverage.listings_total.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Etsy's count of the shop's advertised listings; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.0.coverage.listings_total.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.coverage.listings_total","typeLabel":"integer | null"},"listings_scanned":{"type":"integer","description":"Listings read and judged (after removing repeats).","isRequired":true,"uniqueKey":"oneOf.0.coverage.listings_scanned","typeLabel":"integer"},"pages_read":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.coverage.pages_read","typeLabel":"integer"},"complete":{"type":"boolean","description":"true when every listing that could match was read; false when the scan stopped at its page cap (notice `scan_truncated`): the plan covers part of the shop.","isRequired":true,"uniqueKey":"oneOf.0.coverage.complete","typeLabel":"boolean"},"stopped_at_spend_floor":{"type":"boolean","description":"true when the scan stopped early because no remaining listing could match any rule (the plan is still whole).","isRequired":true,"uniqueKey":"oneOf.0.coverage.stopped_at_spend_floor","typeLabel":"boolean"},"eligible":{"type":"integer","description":"Scanned listings no exclusion left out.","isRequired":true,"uniqueKey":"oneOf.0.coverage.eligible","typeLabel":"integer"},"excluded":{"type":"array","items":{"type":"object","properties":{"reason":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.coverage.excluded.items.[INDEX].reason","typeLabel":"string"},"count":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.coverage.excluded.items.[INDEX].count","typeLabel":"integer"}},"required":["reason","count"],"additionalProperties":false,"uniqueKey":"oneOf.0.coverage.excluded.items.[INDEX]","typeLabel":"object"},"description":"Listings left out by an exclusion, by reason.","isRequired":true,"uniqueKey":"oneOf.0.coverage.excluded","typeLabel":"object[]"},"skipped":{"type":"integer","description":"Listings (or search terms) the rules matched but did not act on, and those not judged because data was missing: `skipped_by_reason` counts them by code. A listing no rule matches is not skipped.","isRequired":true,"uniqueKey":"oneOf.0.coverage.skipped","typeLabel":"integer"},"skipped_by_reason":{"default":[],"description":"`skipped` by code, most first.","type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["min_clicks","rule_of_three","grace_period","run_cap","already_lower_click_cost","query_too_long","metric_unknown","conversion_rate_unknown","protection_unknown","unexpected_data"],"description":"Why it got no action. Guardrails (the rules matched; a guardrail held it back): `min_clicks` (fewer clicks than the strategy's floor), `rule_of_three` (no sale yet, but too few clicks for that to count as evidence at the shop's conversion rate), `grace_period` (newer than the strategy's grace period), `run_cap` (past the run's action cap). Rules (the rules matched; nothing to change): `already_lower_click_cost`, `query_too_long`. Data missing (not judged): `metric_unknown` (Etsy did not report a number the rules need), `conversion_rate_unknown`, `protection_unknown` (price, digital status, section or age could not be checked), `unexpected_data`. New codes may be added.","isRequired":true,"uniqueKey":"oneOf.0.coverage.skipped_by_reason.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","enum":["guardrail","rule","data_missing"],"description":"`guardrail`: the rules matched and a guardrail held it back; `rule`: the rules matched, nothing to change; `data_missing`: not judged.","isRequired":true,"uniqueKey":"oneOf.0.coverage.skipped_by_reason.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"count":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.0.coverage.skipped_by_reason.items.[INDEX].count","typeLabel":"integer"}},"required":["code","kind","count"],"additionalProperties":false,"uniqueKey":"oneOf.0.coverage.skipped_by_reason.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.coverage.skipped_by_reason","typeLabel":"object[]"},"unjudgeable":{"type":"integer","description":"Listings not judged at all because a number or a protection was unknown (never read as zero).","isRequired":true,"uniqueKey":"oneOf.0.coverage.unjudgeable","typeLabel":"integer"},"unreadable":{"type":"integer","description":"Rows Etsy sent that Alura could not read: never judged.","isRequired":true,"uniqueKey":"oneOf.0.coverage.unreadable","typeLabel":"integer"},"listing_ids_not_scanned":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.coverage.listing_ids_not_scanned.items.[INDEX]","typeLabel":"string"},"description":"Of `listing_ids`, those the scan did not reach (not advertised, unable to match the rules, or past the page cap); for search terms, those whose terms were not read.","isRequired":true,"uniqueKey":"oneOf.0.coverage.listing_ids_not_scanned","typeLabel":"string[]"},"search_terms":{"oneOf":[{"type":"object","description":"For `search_terms`: how the candidate listings and their terms were read; null for `listings`.","required":["candidate_listings","listings_read","failed_reads","below_spend_floor","unjudgeable_listings","terms_judged","already_off","unreadable_terms","too_long"],"properties":{"candidate_listings":{"type":"integer","description":"Listings that could hold a matching term.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.candidate_listings","typeLabel":"integer"},"listings_read":{"type":"integer","description":"Of them, listings whose search terms Etsy served.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.listings_read","typeLabel":"integer"},"failed_reads":{"type":"integer","description":"Of them, listings whose terms Etsy did not serve: never judged (notice `search_terms_unread`).","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.failed_reads","typeLabel":"integer"},"below_spend_floor":{"type":"integer","description":"Listings none of whose terms could match the rules: not read.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.below_spend_floor","typeLabel":"integer"},"unjudgeable_listings":{"type":"integer","description":"Listings not read because a protection (age, digital, section) was unknown.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.unjudgeable_listings","typeLabel":"integer"},"terms_judged":{"type":"integer","description":"Search terms judged (already-off ones excluded).","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.terms_judged","typeLabel":"integer"},"already_off":{"type":"integer","description":"Search terms Etsy already shows off: never judged again.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.already_off","typeLabel":"integer"},"unreadable_terms":{"type":"integer","description":"Search term rows Alura could not read: never judged.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.unreadable_terms","typeLabel":"integer"},"too_long":{"type":"integer","description":"Matching search terms longer than 200 characters, which Etsy's toggle can't take: skipped (notice `terms_too_long`).","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0.too_long","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.0","typeLabel":"object"},{"type":"null","description":"For `search_terms`: how the candidate listings and their terms were read; null for `listings`.","isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.coverage.search_terms","typeLabel":"object | null"}},"required":["listings_total","listings_scanned","pages_read","complete","stopped_at_spend_floor","eligible","excluded","skipped","skipped_by_reason","unjudgeable","unreadable","listing_ids_not_scanned","search_terms"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.coverage","typeLabel":"object"},"notices":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"`held_back` (listings or search terms the rules matched were held back by a guardrail: listed in `held_back`), `scan_truncated` (the scan stopped at its page cap, or, for search terms, more listings could hold a matching term than one preview reads: the plan covers part of the shop), `no_ads_campaign`, `conversion_rate_unknown` (zero-sale listings were left unjudged), `fees_unknown` (break-even is unknown), `sections_unavailable`, `digital_unavailable`, `ages_unavailable` (listings a rule needs them for were skipped), `rows_unreadable`; for search terms `search_terms_unread` (some listings' terms were not served: not judged), `terms_unreadable`, `terms_too_long`, `search_terms_window` (Etsy reports terms for its last 31 days only). New codes may be added.","isRequired":true,"uniqueKey":"oneOf.0.notices.items.[INDEX].code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.notices.items.[INDEX].detail","typeLabel":"string"}},"required":["code","detail"],"additionalProperties":false,"uniqueKey":"oneOf.0.notices.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.notices","typeLabel":"object[]"},"plan_hash":{"type":"string","description":"The plan's hash (its actions and everything they were decided on). Send it with the apply (`plan_hash`): the apply is refused, nothing sent, unless it is still this plan.","isRequired":true,"uniqueKey":"oneOf.0.plan_hash","typeLabel":"string"},"fetched_at":{"oneOf":[{"type":"string","description":"When Alura read the scan from Etsy; null when nothing was read.","isRequired":true,"uniqueKey":"oneOf.0.fetched_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Alura read the scan from Etsy; null when nothing was read.","isRequired":true,"uniqueKey":"oneOf.0.fetched_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.fetched_at","typeLabel":"string | null"},"source":{"type":"string","const":"live","isRequired":true,"uniqueKey":"oneOf.0.source","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["object","id","status","shop_id","target","created_at","expires_at","continuation","scan","fetched_at","source"],"properties":{"object":{"type":"string","const":"workspace.ads_optimize_run","isRequired":true,"uniqueKey":"oneOf.1.object","typeLabel":"string"},"id":{"type":"string","description":"The run ID: the preview it becomes keeps it.","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"status":{"type":"string","const":"scanning","description":"`scanning`: the shop is still being read and nothing is planned yet. Send `continuation` back to read more.","isRequired":true,"uniqueKey":"oneOf.1.status","typeLabel":"string"},"shop_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.shop_id","typeLabel":"string"},"target":{"type":"string","enum":["listings","search_terms"],"isRequired":true,"uniqueKey":"oneOf.1.target","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","description":"ISO 8601, UTC.","isRequired":true,"uniqueKey":"oneOf.1.created_at","typeLabel":"string"},"expires_at":{"type":"string","description":"When the scan is dropped: one not finished by then is 410 `optimize_run_expired` (preview again).","isRequired":true,"uniqueKey":"oneOf.1.expires_at","typeLabel":"string"},"continuation":{"type":"string","description":"Send it back as `continuation` (alone) to read more: each request reads what the shop's minute of live Etsy reads allows.","isRequired":true,"uniqueKey":"oneOf.1.continuation","typeLabel":"string"},"scan":{"type":"object","properties":{"listings_read":{"type":"integer","description":"Advertised listings read so far (after removing repeats).","isRequired":true,"uniqueKey":"oneOf.1.scan.listings_read","typeLabel":"integer"},"listings_total":{"oneOf":[{"type":"integer","description":"Etsy's count of the shop's advertised listings; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.1.scan.listings_total.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Etsy's count of the shop's advertised listings; null when Etsy did not give it.","isRequired":true,"uniqueKey":"oneOf.1.scan.listings_total.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.scan.listings_total","typeLabel":"integer | null"},"pages_read":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.1.scan.pages_read","typeLabel":"integer"},"search_terms":{"oneOf":[{"type":"object","description":"For `search_terms`, once the listings to read the terms of are known; null otherwise.","required":["listings_read","listings_total"],"properties":{"listings_read":{"type":"integer","description":"Listings whose search terms were read so far.","isRequired":true,"uniqueKey":"oneOf.1.scan.search_terms.oneOf.0.listings_read","typeLabel":"integer"},"listings_total":{"type":"integer","description":"Listings whose search terms the preview reads.","isRequired":true,"uniqueKey":"oneOf.1.scan.search_terms.oneOf.0.listings_total","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.scan.search_terms.oneOf.0","typeLabel":"object"},{"type":"null","description":"For `search_terms`, once the listings to read the terms of are known; null otherwise.","isRequired":true,"uniqueKey":"oneOf.1.scan.search_terms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.scan.search_terms","typeLabel":"object | null"},"retry_after_s":{"type":"integer","description":"Seconds to wait before sending `continuation`: the shop's live Etsy reads of the last minute are used up until then. Sent earlier, it is 429 `live_rate_limited` (nothing read, free).","isRequired":true,"uniqueKey":"oneOf.1.scan.retry_after_s","typeLabel":"integer"}},"required":["listings_read","listings_total","pages_read","search_terms","retry_after_s"],"additionalProperties":false,"description":"How far the scan got.","isRequired":true,"uniqueKey":"oneOf.1.scan","typeLabel":"object"},"fetched_at":{"oneOf":[{"type":"string","description":"When Alura first read the scan from Etsy; null when nothing was read.","isRequired":true,"uniqueKey":"oneOf.1.fetched_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When Alura first read the scan from Etsy; null when nothing was read.","isRequired":true,"uniqueKey":"oneOf.1.fetched_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.fetched_at","typeLabel":"string | null"},"source":{"type":"string","const":"live","isRequired":true,"uniqueKey":"oneOf.1.source","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["object","id","readable","status","shop_id","target","source","created_at","strategy_name","period","basis","applied_by","verified","undone","closed_manually","interrupted_at","projected_monthly_spend_freed","spend_unknown_count","action_counts","advertised_before","advertised_after","actions","actions_next_offset"],"properties":{"object":{"type":"string","const":"workspace.ads_optimize_run","isRequired":true,"uniqueKey":"oneOf.2.object","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.id","typeLabel":"string"},"readable":{"type":"boolean","const":true,"isRequired":true,"uniqueKey":"oneOf.2.readable","typeLabel":"boolean"},"status":{"type":"string","enum":["applying","applied","partial"],"description":"`applying`: writes in flight; `applied`: every change sent; `partial`: some failed or were not sent (an interrupted run included, `interrupted_at`).","isRequired":true,"uniqueKey":"oneOf.2.status","typeLabel":"enum\u003cstring>"},"shop_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.shop_id","typeLabel":"string"},"target":{"type":"string","enum":["listings","search_terms"],"isRequired":true,"uniqueKey":"oneOf.2.target","typeLabel":"enum\u003cstring>"},"source":{"type":"string","enum":["api","app","restore"],"description":"Who wrote it: `api`, `app` (Alura's Etsy Ads page) or `restore` (the app's strategy repair).","isRequired":true,"uniqueKey":"oneOf.2.source","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","description":"ISO 8601, UTC.","isRequired":true,"uniqueKey":"oneOf.2.created_at","typeLabel":"string"},"strategy_name":{"type":"string","description":"The name of the strategy the run used.","isRequired":true,"uniqueKey":"oneOf.2.strategy_name","typeLabel":"string"},"period":{"type":"string","description":"The stats period the plan judged: `last_30_days`, `last_3_months`, `last_12_months` or `all_time`.","isRequired":true,"uniqueKey":"oneOf.2.period","typeLabel":"string"},"basis":{"oneOf":[{"type":"string","enum":["saved","explicit","default"],"isRequired":true,"uniqueKey":"oneOf.2.basis.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.basis.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.basis","typeLabel":"enum\u003cstring> | null"},"applied_by":{"oneOf":[{"type":"object","description":"Who applied an API run: the API key or OAuth grant; null for app runs.","required":["type","id","client"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.0.type","typeLabel":"string"},"id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.0.id","typeLabel":"string"},"client":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.0.client.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.0.client.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.0.client","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.0","typeLabel":"object"},{"type":"null","description":"Who applied an API run: the API key or OAuth grant; null for app runs.","isRequired":true,"uniqueKey":"oneOf.2.applied_by.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.applied_by","typeLabel":"object | null"},"verified":{"oneOf":[{"type":"string","description":"`confirmed`: Etsy's read-back answered for the run; `unverified`: writes went out but nothing confirmed them; null: nothing needed confirming (or an older app run).","enum":["confirmed","unverified"],"isRequired":true,"uniqueKey":"oneOf.2.verified.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`confirmed`: Etsy's read-back answered for the run; `unverified`: writes went out but nothing confirmed them; null: nothing needed confirming (or an older app run).","isRequired":true,"uniqueKey":"oneOf.2.verified.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.verified","typeLabel":"enum\u003cstring> | null"},"undone":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.2.undone","typeLabel":"boolean"},"closed_manually":{"type":"boolean","isRequired":true,"uniqueKey":"oneOf.2.closed_manually","typeLabel":"boolean"},"interrupted_at":{"oneOf":[{"type":"string","description":"When a run that stopped mid-apply was finalized; its unanswered writes are `unconfirmed` with `outcome_unknown`.","isRequired":true,"uniqueKey":"oneOf.2.interrupted_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When a run that stopped mid-apply was finalized; its unanswered writes are `unconfirmed` with `outcome_unknown`.","isRequired":true,"uniqueKey":"oneOf.2.interrupted_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.interrupted_at","typeLabel":"string | null"},"projected_monthly_spend_freed":{"oneOf":[{"type":"object","description":"The spend freed the run still claims, as Alura's Etsy Ads page shows it: the paused listings' spend over the period, as 30 days (spend freed, not guaranteed cash saved), for changes Etsy's read-back showed and still standing (none once undone; a restored, resolved or restore-pending change no longer counts), only spend Etsy reported; with `spend_unknown_count` above 0 a lower bound. In US dollars, whatever currency the run recorded (Etsy Ads money is US dollars for every shop); null when it is unknown.","required":["amount","currency"],"properties":{"amount":{"type":"string","description":"Decimal string with the currency's decimals.","isRequired":true,"uniqueKey":"oneOf.2.projected_monthly_spend_freed.oneOf.0.amount","typeLabel":"string"},"currency":{"type":"string","description":"ISO 4217. Etsy Ads money (budget, spend, revenue) is `USD` for every shop, whatever the shop's own currency; a listing's price is in the currency Etsy names for it.","isRequired":true,"uniqueKey":"oneOf.2.projected_monthly_spend_freed.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.projected_monthly_spend_freed.oneOf.0","typeLabel":"object"},{"type":"null","description":"The spend freed the run still claims, as Alura's Etsy Ads page shows it: the paused listings' spend over the period, as 30 days (spend freed, not guaranteed cash saved), for changes Etsy's read-back showed and still standing (none once undone; a restored, resolved or restore-pending change no longer counts), only spend Etsy reported; with `spend_unknown_count` above 0 a lower bound. In US dollars, whatever currency the run recorded (Etsy Ads money is US dollars for every shop); null when it is unknown.","isRequired":true,"uniqueKey":"oneOf.2.projected_monthly_spend_freed.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.projected_monthly_spend_freed","typeLabel":"object | null"},"spend_unknown_count":{"type":"integer","description":"Changes the figure had to leave out because Etsy didn't report their spend: never added as 0.","isRequired":true,"uniqueKey":"oneOf.2.spend_unknown_count","typeLabel":"integer"},"action_counts":{"type":"object","properties":{"applied":{"type":"integer","description":"Actions Etsy's read-back showed.","isRequired":true,"uniqueKey":"oneOf.2.action_counts.applied","typeLabel":"integer"},"unconfirmed":{"type":"integer","description":"Actions that may be on Etsy but nothing proved (never counted as applied or in the spend freed).","isRequired":true,"uniqueKey":"oneOf.2.action_counts.unconfirmed","typeLabel":"integer"},"failed":{"type":"integer","description":"Actions refused with nothing written.","isRequired":true,"uniqueKey":"oneOf.2.action_counts.failed","typeLabel":"integer"},"skipped":{"type":"integer","description":"Actions not sent (unreadable first, or after a write that did not succeed).","isRequired":true,"uniqueKey":"oneOf.2.action_counts.skipped","typeLabel":"integer"},"pending":{"type":"integer","description":"Actions still in flight.","isRequired":true,"uniqueKey":"oneOf.2.action_counts.pending","typeLabel":"integer"},"outcome_unknown":{"type":"integer","description":"Of the unconfirmed, those the run lost track of before Etsy answered.","isRequired":true,"uniqueKey":"oneOf.2.action_counts.outcome_unknown","typeLabel":"integer"}},"required":["applied","unconfirmed","failed","skipped","pending","outcome_unknown"],"additionalProperties":false,"description":"The actions by how they ended: a run `applied` with any unconfirmed action is not proven done.","isRequired":true,"uniqueKey":"oneOf.2.action_counts","typeLabel":"object"},"advertised_before":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"oneOf.2.advertised_before.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.advertised_before.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.advertised_before","typeLabel":"integer | null"},"advertised_after":{"oneOf":[{"type":"integer","description":"Etsy's advertised total read back after the run; null when not read.","isRequired":true,"uniqueKey":"oneOf.2.advertised_after.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Etsy's advertised total read back after the run; null when not read.","isRequired":true,"uniqueKey":"oneOf.2.advertised_after.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.advertised_after","typeLabel":"integer | null"},"actions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The change's key in the run (what `item_keys` of a revert names).","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].key","typeLabel":"string"},"listing_id":{"type":"string","description":"The Etsy listing ID, as a string.","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].listing_id","typeLabel":"string"},"title":{"type":"string","description":"The listing's title (for a `mark_irrelevant` change: the search term).","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].title","typeLabel":"string"},"image_url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].image_url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].image_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].image_url","typeLabel":"string | null"},"action":{"type":"string","enum":["pause","lower_click_cost","mark_irrelevant"],"description":"`pause`: stop advertising; `lower_click_cost`: move to Lower click cost; `mark_irrelevant`: a search term turned off (app runs).","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"query":{"oneOf":[{"description":"The search term of a `mark_irrelevant` change; null otherwise.","type":"string","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].query.oneOf.0","typeLabel":"string"},{"description":"The search term of a `mark_irrelevant` change; null otherwise.","type":"null","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].query.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].query","typeLabel":"string | null"},"reason":{"oneOf":[{"description":"Why the rules matched, in words, as the run recorded it.","type":"string","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"description":"Why the rules matched, in words, as the run recorded it.","type":"null","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].reason","typeLabel":"string | null"},"prev_strategy":{"oneOf":[{"type":"string","description":"The strategy a `lower_click_cost` change replaced, as Etsy showed it just before the write (what an undo restores); null otherwise or when unknown.","enum":["efficient","lower_click_cost","greater_visibility"],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].prev_strategy.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The strategy a `lower_click_cost` change replaced, as Etsy showed it just before the write (what an undo restores); null otherwise or when unknown.","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].prev_strategy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].prev_strategy","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","enum":["pending","applied","unconfirmed","failed","skipped"],"description":"`pending`: its write is still in flight; `applied`: Etsy's read-back shows it; `unconfirmed`: it may be on Etsy but no read-back proved it (or one contradicted it), never counted as applied or in the spend freed; `failed`: refused with nothing written; `skipped`: not sent (its state on Etsy couldn't be read first, or an earlier write of the run did not succeed).","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"outcome_unknown":{"type":"boolean","description":"true when the run lost track of this write before Etsy answered: it may or may not have landed.","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].outcome_unknown","typeLabel":"boolean"},"error":{"oneOf":[{"description":"Why the write did not land, as the run recorded it; null otherwise.","type":"string","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"description":"Why the write did not land, as the run recorded it; null otherwise.","type":"null","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].error","typeLabel":"string | null"},"undo":{"oneOf":[{"type":"string","description":"`restored`: undone and read back; `restore_unconfirmed`: an undo was sent but not read back yet (a revert sends it again after reading Etsy); `resolved`: marked resolved in the app; `changed_since`: changed on Etsy since, left as is; `conflict`: another run changed it too, left for the seller; null: standing.","enum":["restored","restore_unconfirmed","resolved","changed_since","conflict"],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].undo.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"`restored`: undone and read back; `restore_unconfirmed`: an undo was sent but not read back yet (a revert sends it again after reading Etsy); `resolved`: marked resolved in the app; `changed_since`: changed on Etsy since, left as is; `conflict`: another run changed it too, left for the seller; null: standing.","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].undo.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].undo","typeLabel":"enum\u003cstring> | null"},"change":{"oneOf":[{"type":"object","description":"The Etsy write's change (`chn_…`) when this API sent it, readable at `GET /v1/workspace/changes/{id}`; null otherwise.","required":["id"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].change.oneOf.0.id","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].change.oneOf.0","typeLabel":"object"},{"type":"null","description":"The Etsy write's change (`chn_…`) when this API sent it, readable at `GET /v1/workspace/changes/{id}`; null otherwise.","isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].change.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions.items.[INDEX].change","typeLabel":"object | null"}},"required":["key","listing_id","title","image_url","action","query","reason","prev_strategy","status","outcome_unknown","error","undo","change"],"additionalProperties":false,"uniqueKey":"oneOf.2.actions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.2.actions","typeLabel":"object[]"},"actions_next_offset":{"oneOf":[{"type":"integer","description":"Where the run's next actions start when `actions` holds only some of them (MCP's history shows a large run a page at a time: pass it back as `actions_offset`); null when `actions` runs to the run's last. Always null over REST, which answers every action.","isRequired":true,"uniqueKey":"oneOf.2.actions_next_offset.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Where the run's next actions start when `actions` holds only some of them (MCP's history shows a large run a page at a time: pass it back as `actions_offset`); null when `actions` runs to the run's last. Always null over REST, which answers every action.","isRequired":true,"uniqueKey":"oneOf.2.actions_next_offset.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.2.actions_next_offset","typeLabel":"integer | null"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"example":{"object":"workspace.ads_optimize_run","id":"0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42","status":"preview","shop_id":"22841907","target":"listings","created_at":"2026-10-17T12:00:00.000Z","expires_at":"2026-10-17T12:30:00.000Z","basis":"saved","strategy":{"id":"budget-saver","name":"Budget Saver","description":"Pause only listings that spend but never sell. No margin needed.","period":"all_time","action":"pause","rule_groups":[{"id":"budget-saver-1","conditions":[{"factor":"spend","op":"gt","value":10},{"factor":"orders","op":"eq","value":0}]}],"guardrails":{"min_clicks":10,"rule_of_three":true,"max_actions_per_run":50},"model_version":1},"period":{"from":"2024-10-18","to":"2026-10-17"},"margin_pct":null,"break_even_roas":null,"actions":[{"listing_id":"1834720563","title":"Hand-thrown ceramic mug","action":"pause","query":null,"reason":"Spend $42.50 > $10.00 and Orders 0 = 0","override":null,"prev_strategy":"efficient","metrics":{"impressions":2140,"clicks":31,"click_rate":0.0145,"spend":{"amount":"42.50","currency":"USD"},"orders":0,"revenue":{"amount":"0.00","currency":"USD"},"roas":0}}],"held_back":[{"listing_id":"1834720564","title":"Speckled ceramic bowl","query":null,"code":"rule_of_three","reason":"Not enough evidence yet: 18 clicks with no sale.","clicks_needed":143,"metrics":{"impressions":1210,"clicks":18,"click_rate":0.0149,"spend":{"amount":"12.00","currency":"USD"},"orders":0,"revenue":{"amount":"0.00","currency":"USD"},"roas":0}}],"capped":false,"max_actions_capped":false,"capped_count":0,"projected_monthly_spend_freed":{"amount":"1.75","currency":"USD"},"spend_unknown_count":0,"coverage":{"listings_total":3,"listings_scanned":3,"pages_read":1,"complete":true,"stopped_at_spend_floor":false,"eligible":3,"excluded":[{"reason":"Pinned — always advertise","count":1}],"skipped":1,"skipped_by_reason":[{"code":"rule_of_three","kind":"guardrail","count":1}],"unjudgeable":0,"unreadable":0,"listing_ids_not_scanned":[],"search_terms":null},"notices":[{"code":"held_back","detail":"1 listing matched the rules but was held back by a guardrail (rule of three: 1), with $12.00 of ad spend over the period. `held_back` lists it with the reason."}],"plan_hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","fetched_at":"2026-10-17T12:00:00.000Z","source":"live"},"examples":{"Example":{"title":"Example","value":{"object":"workspace.ads_optimize_run","id":"0b9f0e3a-6d2c-4f0e-9a51-3c2d8e7f1a42","status":"preview","shop_id":"22841907","target":"listings","created_at":"2026-10-17T12:00:00.000Z","expires_at":"2026-10-17T12:30:00.000Z","basis":"saved","strategy":{"id":"budget-saver","name":"Budget Saver","description":"Pause only listings that spend but never sell. No margin needed.","period":"all_time","action":"pause","rule_groups":[{"id":"budget-saver-1","conditions":[{"factor":"spend","op":"gt","value":10},{"factor":"orders","op":"eq","value":0}]}],"guardrails":{"min_clicks":10,"rule_of_three":true,"max_actions_per_run":50},"model_version":1},"period":{"from":"2024-10-18","to":"2026-10-17"},"margin_pct":null,"break_even_roas":null,"actions":[{"listing_id":"1834720563","title":"Hand-thrown ceramic mug","action":"pause","query":null,"reason":"Spend $42.50 > $10.00 and Orders 0 = 0","override":null,"prev_strategy":"efficient","metrics":{"impressions":2140,"clicks":31,"click_rate":0.0145,"spend":{"amount":"42.50","currency":"USD"},"orders":0,"revenue":{"amount":"0.00","currency":"USD"},"roas":0}}],"held_back":[{"listing_id":"1834720564","title":"Speckled ceramic bowl","query":null,"code":"rule_of_three","reason":"Not enough evidence yet: 18 clicks with no sale.","clicks_needed":143,"metrics":{"impressions":1210,"clicks":18,"click_rate":0.0149,"spend":{"amount":"12.00","currency":"USD"},"orders":0,"revenue":{"amount":"0.00","currency":"USD"},"roas":0}}],"capped":false,"max_actions_capped":false,"capped_count":0,"projected_monthly_spend_freed":{"amount":"1.75","currency":"USD"},"spend_unknown_count":0,"coverage":{"listings_total":3,"listings_scanned":3,"pages_read":1,"complete":true,"stopped_at_spend_floor":false,"eligible":3,"excluded":[{"reason":"Pinned — always advertise","count":1}],"skipped":1,"skipped_by_reason":[{"code":"rule_of_three","kind":"guardrail","count":1}],"unjudgeable":0,"unreadable":0,"listing_ids_not_scanned":[],"search_terms":null},"notices":[{"code":"held_back","detail":"1 listing matched the rules but was held back by a guardrail (rule of three: 1), with $12.00 of ad spend over the period. `held_back` lists it with the reason."}],"plan_hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","fetched_at":"2026-10-17T12:00:00.000Z","source":"live"}}},"exampleType":"examples"}},"exampleType":"examples"},"02c4ed01-b44c-4a4d-bd25-2cf0b0f68f26":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/invalid_request","title":"Invalid request","status":400,"code":"invalid_request","detail":"Invalid request","suggestion":"Fix the request as the detail says, then send it again.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/invalid_request","title":"Invalid request","status":400,"code":"invalid_request","detail":"Invalid request","suggestion":"Fix the request as the detail says, then send it again.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"3d33c83e-effe-48cc-ae70-ebcccd5f82ea":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/unauthorized","title":"Unauthorized","status":401,"code":"unauthorized","detail":"Unauthorized","suggestion":"Send a valid API key as `Authorization: Bearer alura_sk_...`.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/unauthorized","title":"Unauthorized","status":401,"code":"unauthorized","detail":"Unauthorized","suggestion":"Send a valid API key as `Authorization: Bearer alura_sk_...`.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"0435c383-a5bb-462c-8370-b476901fe652":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/credits_exhausted","title":"API credits exhausted","status":402,"code":"credits_exhausted","detail":"API credits exhausted","suggestion":"Upgrade the plan or wait for the monthly reset.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/credits_exhausted","title":"API credits exhausted","status":402,"code":"credits_exhausted","detail":"API credits exhausted","suggestion":"Upgrade the plan or wait for the monthly reset.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"c33d90dc-9294-4162-9561-5ec59e5a4d9f":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/plan_required","title":"Plan required","status":403,"code":"plan_required","detail":"Plan required","suggestion":"Upgrade the workspace plan to use this operation.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/plan_required","title":"Plan required","status":403,"code":"plan_required","detail":"Plan required","suggestion":"Upgrade the workspace plan to use this operation.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"35dd3bfc-6c9f-4269-81d7-68f91c115193":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/not_found","title":"Not found","status":404,"code":"not_found","detail":"Not found","suggestion":"Check the ID, or search for it first.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/not_found","title":"Not found","status":404,"code":"not_found","detail":"Not found","suggestion":"Check the ID, or search for it first.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"48a7ee1d-fb6a-4f36-8a7a-2f123d93d8b0":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/method_not_allowed","title":"Method not allowed","status":405,"code":"method_not_allowed","detail":"Method not allowed","suggestion":"Use one of the methods in the Allow header.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/method_not_allowed","title":"Method not allowed","status":405,"code":"method_not_allowed","detail":"Method not allowed","suggestion":"Use one of the methods in the Allow header.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"8b816f86-e2e1-40c0-a719-855f8420d947":{"description":"Error. `runs_unreadable` carries `unreadable`.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","required":["type","title","status","code","detail","suggestion","retryable","request_id"],"properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"},"unreadable":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"unreadable.items.[INDEX].id","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"unreadable.items.[INDEX].created_at.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"unreadable.items.[INDEX].created_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"unreadable.items.[INDEX].created_at","typeLabel":"string | null"}},"required":["id","created_at"],"additionalProperties":false,"uniqueKey":"unreadable.items.[INDEX]","typeLabel":"object"},"description":"The stored runs Alura cannot read, by id and date.","uniqueKey":"unreadable","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>","suggestion":"\u003cstring>","retryable":true,"request_id":"\u003cstring>","upgrade_url":"\u003cstring>","credits_needed":123,"credits_remaining":123,"resets_at":"2023-11-07T05:31:56Z","unreadable":[{"id":"\u003cstring>","created_at":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bf35e2a7-1fe9-4a76-828c-5dda616aa9fb":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/listing_removed_on_etsy","title":"Listing removed on Etsy","status":410,"code":"listing_removed_on_etsy","detail":"Listing removed on Etsy","suggestion":"The listing no longer exists on Etsy. Search the shop's listings again.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/listing_removed_on_etsy","title":"Listing removed on Etsy","status":410,"code":"listing_removed_on_etsy","detail":"Listing removed on Etsy","suggestion":"The listing no longer exists on Etsy. Search the shop's listings again.","retryable":false,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"50296c1b-838c-4060-ae5a-beb937d08760":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/rate_limited","title":"Rate limited","status":429,"code":"rate_limited","detail":"Rate limited","suggestion":"Wait for Retry-After, then retry.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/rate_limited","title":"Rate limited","status":429,"code":"rate_limited","detail":"Rate limited","suggestion":"Wait for Retry-After, then retry.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"7513eacb-15c6-481d-bebb-9dd6567ae75c":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/internal_error","title":"Internal error","status":500,"code":"internal_error","detail":"Internal error","suggestion":"Retry; if it keeps failing, report the request_id.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/internal_error","title":"Internal error","status":500,"code":"internal_error","detail":"Internal error","suggestion":"Retry; if it keeps failing, report the request_id.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"},"e3c0d682-6ce1-42c7-b934-ea6726538d6e":{"description":"Error","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 9457 problem details.","properties":{"type":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","description":"A code from the error catalog; new codes may be added.","x-extensible-enum":["invalid_request","unknown_parameter","invalid_cursor","cursor_window_exceeded","invalid_reference","id_type_mismatch","invalid_keyword","shop_id_required","listing_not_publishable","sales_window_not_covered","range_too_long_for_interval","target_not_available","unauthorized","credits_exhausted","plan_required","insufficient_scope","workspace_required","workspace_locked","your_shop_unavailable","writes_suspended","browser_refused","live_data_not_enabled","send_not_enabled","attachments_not_enabled","self_approval","role_required","impersonation_refused","recent_sign_in_required","etsy_scope_required","etsy_partner_required","not_found","not_collected","not_found_on_etsy","shop_opted_out","method_not_allowed","conflict","settings_conflict","settings_unreadable","optimize_settings_required","optimize_plan_changed","optimize_run_applied","optimize_run_applying","optimize_run_too_large","optimize_nothing_to_apply","optimize_nothing_to_revert","optimize_shop_busy","runs_unreadable","run_not_resumable","suggestion_not_pending","draft_sent","draft_dismissed","draft_sending","conversation_changed","key_limit_reached","etsy_not_logged_in","etsy_shop_mismatch","holder_offline","login_expired","never_connected","etsy_refused","extension_update_required","attachment_used","attachment_expired","attachment_unavailable","saved_shops_off","review_already_replied","insights_search_unavailable","reconnect_required","settings_not_fetched","listing_busy","settings_busy","shop_create_busy","idempotency_partial_unverifiable","listing_has_variations","listing_sold_out","changed_since","change_not_revertable","media_changed","text_changed","inventory_changed","base_unverifiable","listing_in_ab_test","activation_skipped","idempotency_processing","confirmation_required","test_shop_active_cap","write_outcome_unknown","margin_required","unprocessable","knowledge_limit_reached","status_required","listing_removed_on_etsy","optimize_run_expired","endpoint_removed","rate_limited","throttled","daily_credit_cap_exceeded","credits_reserved","fetch_limit_reached","write_rate_limited","sync_cooldown","shop_write_budget_exhausted","live_rate_limited","etsy_rate_limited","internal_error","write_misconfigured","etsy_changed","upstream_unavailable","extension_offline","etsy_unavailable","etsy_challenge","live_data_paused","live_data_unavailable","credits_unavailable","service_unavailable","fetch_unavailable","create_lock_unavailable","writes_paused","etsy_capacity","upstream_timeout"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"suggestion":{"type":"string","isRequired":true,"uniqueKey":"suggestion","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"request_id":{"type":"string","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"upgrade_url":{"type":"string","format":"uri","description":"credits_exhausted and plan_required: where to upgrade the plan.","uniqueKey":"upgrade_url","typeLabel":"string\u003curi>"},"credits_needed":{"type":"integer","description":"API credit refusals: what the call needed.","uniqueKey":"credits_needed","typeLabel":"integer"},"credits_remaining":{"type":"integer","description":"API credit refusals: what is left (of the month, or of the day for daily_credit_cap_exceeded).","uniqueKey":"credits_remaining","typeLabel":"integer"},"resets_at":{"type":"string","format":"date-time","description":"credits_exhausted and daily_credit_cap_exceeded: when the limit resets.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"}},"required":["type","title","status","code","detail","suggestion","retryable","request_id"],"uniqueKey":"","typeLabel":"object"},"example":{"type":"https://docs.alura.io/errors/base_unverifiable","title":"Base not verifiable","status":503,"code":"base_unverifiable","detail":"Base not verifiable","suggestion":"Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"},"examples":{"Example":{"title":"Example","value":{"type":"https://docs.alura.io/errors/base_unverifiable","title":"Base not verifiable","status":503,"code":"base_unverifiable","detail":"Base not verifiable","suggestion":"Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.","retryable":true,"request_id":"req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2aa7a7e0-c8b1-479f-b276-7bae04f815a2":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key: `Authorization: Bearer alura_sk_...`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"616e7fd8-7d97-4980-bf47-ea03e1349236":{"url":"https://api.alura.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key: `Authorization: Bearer alura_sk_...`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key: `Authorization: Bearer alura_sk_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"alura","siteName":"Alura API","title":"Get optimizer run - Alura API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-22T21:53:07.699Z","originalFileLocation":"api-reference/workspace/ads/optimize/runs/get.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=\"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop\u0026#x27;s history.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alura API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_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/alura/Zo6rWRwbAxOIKIxc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get optimizer run - Alura API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop\u0026#x27;s history.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alura API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alura.mintlify.site/_mintlify/api/og/v2?division=Optimize\u0026amp;title=Get+optimizer+run\u0026amp;description=Read+one+Etsy+Ads+optimizer+run+by+its+ID%3A+a+preview+while+it+is+kept%2C+a+preview+still+reading+the+shop%2C+or+a+run+in+the+shop%27s+history.\u0026amp;theme=1370fe7ac0b7d5ece8a1136a\u0026amp;signature=1eb6d73bc22f017dd0683d52b8dfb168350ede5139eb121887ccfc1a1c92987a\">\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=\"Get optimizer run - Alura API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop\u0026#x27;s history.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alura.mintlify.site/_mintlify/api/og/v2?division=Optimize\u0026amp;title=Get+optimizer+run\u0026amp;description=Read+one+Etsy+Ads+optimizer+run+by+its+ID%3A+a+preview+while+it+is+kept%2C+a+preview+still+reading+the+shop%2C+or+a+run+in+the+shop%27s+history.\u0026amp;theme=1370fe7ac0b7d5ece8a1136a\u0026amp;signature=1eb6d73bc22f017dd0683d52b8dfb168350ede5139eb121887ccfc1a1c92987a\">\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/alura/Zo6rWRwbAxOIKIxc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alura API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155EEF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workspace/ads/optimize/runs/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.alura.io/#organization\",\"name\":\"Alura API\",\"url\":\"https://docs.alura.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/alura/HySS5CT36sWBL9EL/logo/light.svg?fit=max\u0026auto=format\u0026n=HySS5CT36sWBL9EL\u0026q=85\u0026s=6afcc5174d02ee0af4c233126964240a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.alura.io#website\",\"name\":\"Alura API\",\"url\":\"https://docs.alura.io\",\"publisher\":{\"@id\":\"https://docs.alura.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get#webpage\",\"url\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get\",\"name\":\"Get optimizer run\",\"description\":\"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop's history.\",\"dateModified\":\"2026-11-22T21:53:07.699Z\",\"isPartOf\":{\"@id\":\"https://docs.alura.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Chrome extension\",\"item\":\"https://docs.alura.io/api-reference/chrome-extension\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Etsy Ads\",\"item\":\"https://docs.alura.io/api-reference/workspace/ads/get\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Optimize\",\"item\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/settings/get\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get optimizer run\",\"item\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get#apireference\",\"headline\":\"Get optimizer run\",\"name\":\"Get optimizer run\",\"description\":\"Read one Etsy Ads optimizer run by its ID: a preview while it is kept, a preview still reading the shop, or a run in the shop's history.\",\"url\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.alura.io/api-reference/workspace/ads/optimize/runs/get#webpage\"},\"dateModified\":\"2026-11-22T21:53:07.699Z\",\"publisher\":{\"@id\":\"https://docs.alura.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.alura.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alura API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Alura API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/workspace/ads/optimize/runs/get.md","siteName":"Alura API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"group":"Get started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Credits and limits","href":"/api-reference/credits-and-limits"},{"title":"Errors","href":"/api-reference/errors"}]}]},{"group":"Research","pages":[{"group":"Lookup","pages":[{"title":"Look up URL or shop","deprecated":null,"version":null,"sidebarTitle":"Look up URL or shop","openapi":"/openapi.json get /v1/research/lookup","href":"/api-reference/research/lookup"}]},{"group":"Products","pages":[{"title":"Search products","deprecated":null,"version":null,"sidebarTitle":"Search products","openapi":"/openapi.json get /v1/research/products","href":"/api-reference/research/products/search"},{"title":"Get trending products","deprecated":null,"version":null,"sidebarTitle":"Get trending products","openapi":"/openapi.json get /v1/research/products/trending","href":"/api-reference/research/products/trending"},{"title":"Get product","deprecated":null,"version":null,"sidebarTitle":"Get product","openapi":"/openapi.json get /v1/research/products/{id}","href":"/api-reference/research/products/get"},{"title":"Get products by ID","openapi":"openapi-variants.json GET /v1/research/products","href":"/api-reference/research/products/getMany"},{"title":"Get similar products","deprecated":null,"version":null,"sidebarTitle":"Get similar products","openapi":"/openapi.json get /v1/research/products/{id}/similar","href":"/api-reference/research/products/similar"},{"title":"Get product history","deprecated":null,"version":null,"sidebarTitle":"Get product history","openapi":"/openapi.json get /v1/research/products/{id}/history","href":"/api-reference/research/products/history"},{"title":"Get sales histories","deprecated":null,"version":null,"sidebarTitle":"Get sales histories","openapi":"/openapi.json get /v1/research/history","href":"/api-reference/research/history/getmany"},{"title":"List product reviews","deprecated":null,"version":null,"sidebarTitle":"List product reviews","openapi":"/openapi.json get /v1/research/products/{id}/reviews","href":"/api-reference/research/products/reviews"}]},{"group":"Shops","pages":[{"title":"Search shops","deprecated":null,"version":null,"sidebarTitle":"Search shops","openapi":"/openapi.json get /v1/research/shops","href":"/api-reference/research/shops/search"},{"title":"Get trending shops","deprecated":null,"version":null,"sidebarTitle":"Get trending shops","openapi":"/openapi.json get /v1/research/shops/trending","href":"/api-reference/research/shops/trending"},{"title":"Get shop","deprecated":null,"version":null,"sidebarTitle":"Get shop","openapi":"/openapi.json get /v1/research/shops/{id}","href":"/api-reference/research/shops/get"},{"title":"List shop products","deprecated":null,"version":null,"sidebarTitle":"List shop products","openapi":"/openapi.json get /v1/research/shops/{id}/products","href":"/api-reference/research/shops/products"},{"title":"Get similar shops","deprecated":null,"version":null,"sidebarTitle":"Get similar shops","openapi":"/openapi.json get /v1/research/shops/{id}/similar","href":"/api-reference/research/shops/similar"},{"title":"List shop reviews","deprecated":null,"version":null,"sidebarTitle":"List shop reviews","openapi":"/openapi.json get /v1/research/shops/{id}/reviews","href":"/api-reference/research/shops/reviews"},{"title":"Get shop history","deprecated":null,"version":null,"sidebarTitle":"Get shop history","openapi":"/openapi.json get /v1/research/shops/{id}/history","href":"/api-reference/research/shops/history"}]},{"group":"Keywords","pages":[{"title":"Look up keywords","deprecated":null,"version":null,"sidebarTitle":"Look up keywords","openapi":"/openapi.json get /v1/research/keywords","href":"/api-reference/research/keywords/lookup"},{"title":"Get trending keywords","deprecated":null,"version":null,"sidebarTitle":"Get trending keywords","openapi":"/openapi.json get /v1/research/keywords/trending","href":"/api-reference/research/keywords/trending"},{"title":"Get keyword","deprecated":null,"version":null,"sidebarTitle":"Get keyword","openapi":"/openapi.json get /v1/research/keywords/{id}","href":"/api-reference/research/keywords/get"},{"title":"Get related keywords","deprecated":null,"version":null,"sidebarTitle":"Get related keywords","openapi":"/openapi.json get /v1/research/keywords/{id}/related","href":"/api-reference/research/keywords/related"},{"title":"Get top products","deprecated":null,"version":null,"sidebarTitle":"Get top products","openapi":"/openapi.json get /v1/research/keywords/{id}/products","href":"/api-reference/research/keywords/products"},{"title":"Get top shops","deprecated":null,"version":null,"sidebarTitle":"Get top shops","openapi":"/openapi.json get /v1/research/keywords/{id}/shops","href":"/api-reference/research/keywords/shops"},{"title":"Get keyword history","deprecated":null,"version":null,"sidebarTitle":"Get keyword history","openapi":"/openapi.json get /v1/research/keywords/{id}/history","href":"/api-reference/research/keywords/history"}]},{"group":"Saved","pages":[{"group":"Folders","pages":[{"title":"List saved folders","deprecated":null,"version":null,"sidebarTitle":"List saved folders","openapi":"/openapi.json get /v1/research/saved/folders","href":"/api-reference/research/saved/folders/list"},{"title":"Create saved folder","deprecated":null,"version":null,"sidebarTitle":"Create saved folder","openapi":"/openapi.json post /v1/research/saved/folders","href":"/api-reference/research/saved/folders/create"},{"title":"Get saved folder","deprecated":null,"version":null,"sidebarTitle":"Get saved folder","openapi":"/openapi.json get /v1/research/saved/folders/{id}","href":"/api-reference/research/saved/folders/get"},{"title":"Update saved folder","deprecated":null,"version":null,"sidebarTitle":"Update saved folder","openapi":"/openapi.json patch /v1/research/saved/folders/{id}","href":"/api-reference/research/saved/folders/update"},{"title":"Delete saved folder","deprecated":null,"version":null,"sidebarTitle":"Delete saved folder","openapi":"/openapi.json delete /v1/research/saved/folders/{id}","href":"/api-reference/research/saved/folders/delete"}]},{"group":"Lists","pages":[{"title":"List saved lists","deprecated":null,"version":null,"sidebarTitle":"List saved lists","openapi":"/openapi.json get /v1/research/saved/lists","href":"/api-reference/research/saved/lists/list"},{"title":"Create saved list","deprecated":null,"version":null,"sidebarTitle":"Create saved list","openapi":"/openapi.json post /v1/research/saved/lists","href":"/api-reference/research/saved/lists/create"},{"title":"Get saved list","deprecated":null,"version":null,"sidebarTitle":"Get saved list","openapi":"/openapi.json get /v1/research/saved/lists/{id}","href":"/api-reference/research/saved/lists/get"},{"title":"Update saved list","deprecated":null,"version":null,"sidebarTitle":"Update saved list","openapi":"/openapi.json patch /v1/research/saved/lists/{id}","href":"/api-reference/research/saved/lists/update"},{"title":"Delete saved list","deprecated":null,"version":null,"sidebarTitle":"Delete saved list","openapi":"/openapi.json delete /v1/research/saved/lists/{id}","href":"/api-reference/research/saved/lists/delete"}]},{"group":"Items","pages":[{"title":"List saved items","deprecated":null,"version":null,"sidebarTitle":"List saved items","openapi":"/openapi.json get /v1/research/saved/lists/{id}/items","href":"/api-reference/research/saved/items/list"},{"title":"List all saved items","deprecated":null,"version":null,"sidebarTitle":"List all saved items","openapi":"/openapi.json get /v1/research/saved/items","href":"/api-reference/research/saved/items/search"},{"title":"Add saved items","deprecated":null,"version":null,"sidebarTitle":"Add saved items","openapi":"/openapi.json post /v1/research/saved/lists/{id}/items","href":"/api-reference/research/saved/items/add"},{"title":"Remove saved items","deprecated":null,"version":null,"sidebarTitle":"Remove saved items","openapi":"/openapi.json delete /v1/research/saved/lists/{id}/items","href":"/api-reference/research/saved/items/remove"}]}]}]},{"group":"Your shop","pages":[{"group":"Shop","pages":[{"title":"List shops","deprecated":null,"version":null,"sidebarTitle":"List shops","openapi":"/openapi.json get /v1/workspace/shops","href":"/api-reference/workspace/shops/list"},{"title":"Get shop","deprecated":null,"version":null,"sidebarTitle":"Get shop","openapi":"/openapi.json get /v1/workspace/shops/{shop_id}","href":"/api-reference/workspace/shops/get"},{"title":"Update shop","deprecated":null,"version":null,"sidebarTitle":"Update shop","openapi":"/openapi.json patch /v1/workspace/shops/{shop_id}","href":"/api-reference/workspace/shops/update"},{"group":"Sections","pages":[{"title":"List sections","deprecated":null,"version":null,"sidebarTitle":"List sections","openapi":"/openapi.json get /v1/workspace/sections","href":"/api-reference/workspace/sections/list"},{"title":"Create section","deprecated":null,"version":null,"sidebarTitle":"Create section","openapi":"/openapi.json post /v1/workspace/sections","href":"/api-reference/workspace/sections/create"},{"title":"Update section","deprecated":null,"version":null,"sidebarTitle":"Update section","openapi":"/openapi.json patch /v1/workspace/sections/{id}","href":"/api-reference/workspace/sections/update"},{"title":"Delete section","deprecated":null,"version":null,"sidebarTitle":"Delete section","openapi":"/openapi.json delete /v1/workspace/sections/{id}","href":"/api-reference/workspace/sections/delete"}]},{"group":"Shipping profiles","pages":[{"title":"List shipping profiles","deprecated":null,"version":null,"sidebarTitle":"List shipping profiles","openapi":"/openapi.json get /v1/workspace/shipping-profiles","href":"/api-reference/workspace/shippingprofiles/list"},{"title":"Get shipping profile","deprecated":null,"version":null,"sidebarTitle":"Get shipping profile","openapi":"/openapi.json get /v1/workspace/shipping-profiles/{id}","href":"/api-reference/workspace/shippingprofiles/get"},{"title":"Create shipping profile","deprecated":null,"version":null,"sidebarTitle":"Create shipping profile","openapi":"/openapi.json post /v1/workspace/shipping-profiles","href":"/api-reference/workspace/shippingprofiles/create"},{"title":"Update shipping profile","deprecated":null,"version":null,"sidebarTitle":"Update shipping profile","openapi":"/openapi.json patch /v1/workspace/shipping-profiles/{id}","href":"/api-reference/workspace/shippingprofiles/update"},{"title":"Delete shipping profile","deprecated":null,"version":null,"sidebarTitle":"Delete shipping profile","openapi":"/openapi.json delete /v1/workspace/shipping-profiles/{id}","href":"/api-reference/workspace/shippingprofiles/delete"},{"group":"Destinations","pages":[{"title":"List destinations","deprecated":null,"version":null,"sidebarTitle":"List destinations","openapi":"/openapi.json get /v1/workspace/shipping-profiles/{id}/destinations","href":"/api-reference/workspace/shippingprofiles/destinations"},{"title":"Create destination","deprecated":null,"version":null,"sidebarTitle":"Create destination","openapi":"/openapi.json post /v1/workspace/shipping-profiles/{id}/destinations","href":"/api-reference/workspace/shippingprofiles/destinations/create"},{"title":"Update destination","deprecated":null,"version":null,"sidebarTitle":"Update destination","openapi":"/openapi.json patch /v1/workspace/shipping-profiles/{id}/destinations/{destination_id}","href":"/api-reference/workspace/shippingprofiles/destinations/update"},{"title":"Delete destination","deprecated":null,"version":null,"sidebarTitle":"Delete destination","openapi":"/openapi.json delete /v1/workspace/shipping-profiles/{id}/destinations/{destination_id}","href":"/api-reference/workspace/shippingprofiles/destinations/delete"}]},{"group":"Upgrades","pages":[{"title":"List delivery upgrades","deprecated":null,"version":null,"sidebarTitle":"List delivery upgrades","openapi":"/openapi.json get /v1/workspace/shipping-profiles/{id}/upgrades","href":"/api-reference/workspace/shippingprofiles/deliveryoptions"},{"title":"Create upgrade","deprecated":null,"version":null,"sidebarTitle":"Create upgrade","openapi":"/openapi.json post /v1/workspace/shipping-profiles/{id}/upgrades","href":"/api-reference/workspace/shippingprofiles/deliveryoptions/create"},{"title":"Update upgrade","deprecated":null,"version":null,"sidebarTitle":"Update upgrade","openapi":"/openapi.json patch /v1/workspace/shipping-profiles/{id}/upgrades/{upgrade_id}","href":"/api-reference/workspace/shippingprofiles/deliveryoptions/update"},{"title":"Delete upgrade","deprecated":null,"version":null,"sidebarTitle":"Delete upgrade","openapi":"/openapi.json delete /v1/workspace/shipping-profiles/{id}/upgrades/{upgrade_id}","href":"/api-reference/workspace/shippingprofiles/deliveryoptions/delete"}]}]},{"group":"Return policies","pages":[{"title":"List return policies","deprecated":null,"version":null,"sidebarTitle":"List return policies","openapi":"/openapi.json get /v1/workspace/return-policies","href":"/api-reference/workspace/returnpolicies/list"},{"title":"Get return policy","deprecated":null,"version":null,"sidebarTitle":"Get return policy","openapi":"/openapi.json get /v1/workspace/return-policies/{id}","href":"/api-reference/workspace/returnpolicies/get"},{"title":"Create return policy","deprecated":null,"version":null,"sidebarTitle":"Create return policy","openapi":"/openapi.json post /v1/workspace/return-policies","href":"/api-reference/workspace/returnpolicies/create"},{"title":"Update return policy","deprecated":null,"version":null,"sidebarTitle":"Update return policy","openapi":"/openapi.json patch /v1/workspace/return-policies/{id}","href":"/api-reference/workspace/returnpolicies/update"},{"title":"Delete return policy","deprecated":null,"version":null,"sidebarTitle":"Delete return policy","openapi":"/openapi.json delete /v1/workspace/return-policies/{id}","href":"/api-reference/workspace/returnpolicies/delete"},{"title":"Move policy listings","deprecated":null,"version":null,"sidebarTitle":"Move policy listings","openapi":"/openapi.json post /v1/workspace/return-policies/{id}/move-listings","href":"/api-reference/workspace/returnpolicies/movelistings"}]},{"group":"Processing profiles","pages":[{"title":"List profiles","deprecated":null,"version":null,"sidebarTitle":"List profiles","openapi":"/openapi.json get /v1/workspace/processing-profiles","href":"/api-reference/workspace/processingprofiles/list"},{"title":"Get profile","deprecated":null,"version":null,"sidebarTitle":"Get profile","openapi":"/openapi.json get /v1/workspace/processing-profiles/{id}","href":"/api-reference/workspace/processingprofiles/get"},{"title":"Create profile","deprecated":null,"version":null,"sidebarTitle":"Create profile","openapi":"/openapi.json post /v1/workspace/processing-profiles","href":"/api-reference/workspace/processingprofiles/create"},{"title":"Update profile","deprecated":null,"version":null,"sidebarTitle":"Update profile","openapi":"/openapi.json patch /v1/workspace/processing-profiles/{id}","href":"/api-reference/workspace/processingprofiles/update"},{"title":"Delete profile","deprecated":null,"version":null,"sidebarTitle":"Delete profile","openapi":"/openapi.json delete /v1/workspace/processing-profiles/{id}","href":"/api-reference/workspace/processingprofiles/delete"}]},{"group":"Holiday settings","pages":[{"title":"Get holiday settings","deprecated":null,"version":null,"sidebarTitle":"Get holiday settings","openapi":"/openapi.json get /v1/workspace/holiday-settings","href":"/api-reference/workspace/holidaysettings/list"},{"title":"Update holiday settings","deprecated":null,"version":null,"sidebarTitle":"Update holiday settings","openapi":"/openapi.json patch /v1/workspace/holiday-settings","href":"/api-reference/workspace/holidaysettings/update"}]},{"group":"Production partners","pages":[{"title":"List partners","deprecated":null,"version":null,"sidebarTitle":"List partners","openapi":"/openapi.json get /v1/workspace/production-partners","href":"/api-reference/workspace/productionpartners/list"}]}]},{"group":"Stats","pages":[{"title":"Get shop stats","deprecated":null,"version":null,"sidebarTitle":"Get shop stats","openapi":"/openapi.json get /v1/workspace/stats","href":"/api-reference/workspace/stats/get"},{"title":"Get variation stats","deprecated":null,"version":null,"sidebarTitle":"Get variation stats","openapi":"/openapi.json get /v1/workspace/stats/variations","href":"/api-reference/workspace/stats/variations"},{"title":"List ledger entries","deprecated":null,"version":null,"sidebarTitle":"List ledger entries","openapi":"/openapi.json get /v1/workspace/ledger","href":"/api-reference/workspace/ledger/list"}]},{"group":"Listings","pages":[{"title":"Search listings","deprecated":null,"version":null,"sidebarTitle":"Search listings","openapi":"/openapi.json get /v1/workspace/listings","href":"/api-reference/workspace/listings/search"},{"title":"Get listing","deprecated":null,"version":null,"sidebarTitle":"Get listing","openapi":"/openapi.json get /v1/workspace/listings/{id}","href":"/api-reference/workspace/listings/get"},{"title":"Get listing stats","deprecated":null,"version":null,"sidebarTitle":"Get listing stats","openapi":"/openapi.json get /v1/workspace/listings/{id}/stats","href":"/api-reference/workspace/listings/stats"},{"title":"Update listing","deprecated":null,"version":null,"sidebarTitle":"Update listing","openapi":"/openapi.json patch /v1/workspace/listings/{id}","href":"/api-reference/workspace/listings/update"},{"title":"Create listing","deprecated":null,"version":null,"sidebarTitle":"Create listing","openapi":"/openapi.json post /v1/workspace/listings","href":"/api-reference/workspace/listings/create"},{"title":"Duplicate listing","deprecated":null,"version":null,"sidebarTitle":"Duplicate listing","openapi":"/openapi.json post /v1/workspace/listings/{id}/duplicate","href":"/api-reference/workspace/listings/duplicate"},{"title":"Delete listing","deprecated":null,"version":null,"sidebarTitle":"Delete listing","openapi":"/openapi.json delete /v1/workspace/listings/{id}","href":"/api-reference/workspace/listings/delete"}]},{"group":"Orders","pages":[{"title":"Search orders","deprecated":null,"version":null,"sidebarTitle":"Search orders","openapi":"/openapi.json get /v1/workspace/orders","href":"/api-reference/workspace/orders/search"},{"title":"Get order","deprecated":null,"version":null,"sidebarTitle":"Get order","openapi":"/openapi.json get /v1/workspace/orders/{id}","href":"/api-reference/workspace/orders/get"},{"title":"Add shipment","deprecated":null,"version":null,"sidebarTitle":"Add shipment","openapi":"/openapi.json post /v1/workspace/orders/{id}/shipments","href":"/api-reference/workspace/orders/shipments/create"}]},{"group":"Reviews","pages":[{"title":"Search reviews","deprecated":null,"version":null,"sidebarTitle":"Search reviews","openapi":"/openapi.json get /v1/workspace/reviews","href":"/api-reference/workspace/reviews/search"}]},{"group":"Customers","pages":[{"title":"Search customers","deprecated":null,"version":null,"sidebarTitle":"Search customers","openapi":"/openapi.json get /v1/workspace/customers","href":"/api-reference/workspace/customers/search"},{"title":"Get customer","deprecated":null,"version":null,"sidebarTitle":"Get customer","openapi":"/openapi.json get /v1/workspace/customers/{id}","href":"/api-reference/workspace/customers/get"}]},{"group":"Changes","pages":[{"title":"List changes","deprecated":null,"version":null,"sidebarTitle":"List changes","openapi":"/openapi.json get /v1/workspace/changes","href":"/api-reference/workspace/changes/list"},{"title":"Get change","deprecated":null,"version":null,"sidebarTitle":"Get change","openapi":"/openapi.json get /v1/workspace/changes/{id}","href":"/api-reference/workspace/changes/get"},{"title":"Revert change","deprecated":null,"version":null,"sidebarTitle":"Revert change","openapi":"/openapi.json post /v1/workspace/changes/{id}/revert","href":"/api-reference/workspace/changes/revert"}]},{"group":"Syncs","pages":[{"title":"Start sync","deprecated":null,"version":null,"sidebarTitle":"Start sync","openapi":"/openapi.json post /v1/workspace/syncs","href":"/api-reference/workspace/syncs/start"},{"title":"Get sync","deprecated":null,"version":null,"sidebarTitle":"Get sync","openapi":"/openapi.json get /v1/workspace/syncs/{id}","href":"/api-reference/workspace/syncs/get"},{"title":"List syncs","deprecated":null,"version":null,"sidebarTitle":"List syncs","openapi":"/openapi.json get /v1/workspace/syncs","href":"/api-reference/workspace/syncs/list"}]},{"group":"Customer service","pages":[{"title":"Get customer service","deprecated":null,"version":null,"sidebarTitle":"Get customer service","openapi":"/openapi.json get /v1/workspace/customer-service","href":"/api-reference/workspace/customer_service/get"},{"title":"List service history","deprecated":null,"version":null,"sidebarTitle":"List service history","openapi":"/openapi.json get /v1/workspace/customer-service/history","href":"/api-reference/workspace/customer_service/history"}]},{"group":"API contract","pages":[{"title":"Get API contract","deprecated":null,"version":null,"sidebarTitle":"Get API contract","openapi":"/openapi.json get /v1/workspace/openapi.json","href":"/api-reference/workspace/openapi/get"}]},{"group":"Knowledge","pages":[{"title":"List saved replies","deprecated":null,"version":null,"sidebarTitle":"List saved replies","openapi":"/openapi.json get /v1/workspace/conversations/saved-replies","href":"/api-reference/workspace/conversations/savedreplies"},{"title":"Get voice","deprecated":null,"version":null,"sidebarTitle":"Get voice","openapi":"/openapi.json get /v1/workspace/knowledge/voice","href":"/api-reference/workspace/knowledge/voice/get"},{"title":"Update voice","deprecated":null,"version":null,"sidebarTitle":"Update voice","openapi":"/openapi.json patch /v1/workspace/knowledge/voice","href":"/api-reference/workspace/knowledge/voice/update"},{"title":"Get shop voice","deprecated":null,"version":null,"sidebarTitle":"Get shop voice","openapi":"/openapi.json get /v1/workspace/knowledge/voice/shops/{shop_id}","href":"/api-reference/workspace/knowledge/shopvoice/get"},{"title":"Update shop voice","deprecated":null,"version":null,"sidebarTitle":"Update shop voice","openapi":"/openapi.json patch /v1/workspace/knowledge/voice/shops/{shop_id}","href":"/api-reference/workspace/knowledge/shopvoice/update"},{"title":"List policies","deprecated":null,"version":null,"sidebarTitle":"List policies","openapi":"/openapi.json get /v1/workspace/knowledge/policies","href":"/api-reference/workspace/knowledge/policies/list"},{"title":"List guidance","deprecated":null,"version":null,"sidebarTitle":"List guidance","openapi":"/openapi.json get /v1/workspace/knowledge/guidance","href":"/api-reference/workspace/knowledge/guidance/list"},{"title":"Get guidance","deprecated":null,"version":null,"sidebarTitle":"Get guidance","openapi":"/openapi.json get /v1/workspace/knowledge/guidance/{id}","href":"/api-reference/workspace/knowledge/guidance/get"},{"title":"Create guidance","deprecated":null,"version":null,"sidebarTitle":"Create guidance","openapi":"/openapi.json post /v1/workspace/knowledge/guidance","href":"/api-reference/workspace/knowledge/guidance/create"},{"title":"Update guidance","deprecated":null,"version":null,"sidebarTitle":"Update guidance","openapi":"/openapi.json patch /v1/workspace/knowledge/guidance/{id}","href":"/api-reference/workspace/knowledge/guidance/update"},{"title":"Delete guidance","deprecated":null,"version":null,"sidebarTitle":"Delete guidance","openapi":"/openapi.json delete /v1/workspace/knowledge/guidance/{id}","href":"/api-reference/workspace/knowledge/guidance/delete"},{"title":"List articles","deprecated":null,"version":null,"sidebarTitle":"List articles","openapi":"/openapi.json get /v1/workspace/knowledge/articles","href":"/api-reference/workspace/knowledge/articles/list"},{"title":"Get article","deprecated":null,"version":null,"sidebarTitle":"Get article","openapi":"/openapi.json get /v1/workspace/knowledge/articles/{id}","href":"/api-reference/workspace/knowledge/articles/get"},{"title":"Create article","deprecated":null,"version":null,"sidebarTitle":"Create article","openapi":"/openapi.json post /v1/workspace/knowledge/articles","href":"/api-reference/workspace/knowledge/articles/create"},{"title":"Update article","deprecated":null,"version":null,"sidebarTitle":"Update article","openapi":"/openapi.json patch /v1/workspace/knowledge/articles/{id}","href":"/api-reference/workspace/knowledge/articles/update"},{"title":"Delete article","deprecated":null,"version":null,"sidebarTitle":"Delete article","openapi":"/openapi.json delete /v1/workspace/knowledge/articles/{id}","href":"/api-reference/workspace/knowledge/articles/delete"},{"title":"Approve guidance","deprecated":null,"version":null,"sidebarTitle":"Approve guidance","openapi":"/openapi.json post /v1/workspace/knowledge/guidance/{id}/approve","href":"/api-reference/workspace/knowledge/guidance/approve"},{"title":"Reject guidance","deprecated":null,"version":null,"sidebarTitle":"Reject guidance","openapi":"/openapi.json post /v1/workspace/knowledge/guidance/{id}/reject","href":"/api-reference/workspace/knowledge/guidance/reject"},{"title":"Approve article","deprecated":null,"version":null,"sidebarTitle":"Approve article","openapi":"/openapi.json post /v1/workspace/knowledge/articles/{id}/approve","href":"/api-reference/workspace/knowledge/articles/approve"},{"title":"Reject article","deprecated":null,"version":null,"sidebarTitle":"Reject article","openapi":"/openapi.json post /v1/workspace/knowledge/articles/{id}/reject","href":"/api-reference/workspace/knowledge/articles/reject"},{"title":"Search knowledge","deprecated":null,"version":null,"sidebarTitle":"Search knowledge","openapi":"/openapi.json post /v1/workspace/knowledge/search","href":"/api-reference/workspace/knowledge/search"}]}]},{"group":"Chrome extension","pages":[{"group":"Get started","pages":[{"title":"Using the Chrome extension","sidebarTitle":"Overview","href":"/api-reference/chrome-extension"},{"title":"Get shop live status","deprecated":null,"version":null,"sidebarTitle":"Get shop live status","openapi":"/openapi.json get /v1/workspace/shops/{shop_id}/live","href":"/api-reference/workspace/shops/live/get"},{"title":"Get live status","deprecated":null,"version":null,"sidebarTitle":"Get live status","openapi":"/openapi.json get /v1/workspace/live","href":"/api-reference/workspace/live/get"}]},{"group":"Etsy Ads","pages":[{"title":"Get Etsy Ads","deprecated":null,"version":null,"sidebarTitle":"Get Etsy Ads","openapi":"/openapi.json get /v1/workspace/ads","href":"/api-reference/workspace/ads/get"},{"title":"Get Etsy Ads stats","deprecated":null,"version":null,"sidebarTitle":"Get Etsy Ads stats","openapi":"/openapi.json get /v1/workspace/ads/stats","href":"/api-reference/workspace/ads/stats"},{"title":"Update Etsy Ads","deprecated":null,"version":null,"sidebarTitle":"Update Etsy Ads","openapi":"/openapi.json patch /v1/workspace/ads","href":"/api-reference/workspace/ads/update"},{"title":"Search ad listings","deprecated":null,"version":null,"sidebarTitle":"Search ad listings","openapi":"/openapi.json get /v1/workspace/ads/listings","href":"/api-reference/workspace/ads/listings/search"},{"title":"Get ad listing","deprecated":null,"version":null,"sidebarTitle":"Get ad listing","openapi":"/openapi.json get /v1/workspace/ads/listings/{listing_id}","href":"/api-reference/workspace/ads/listings/get"},{"title":"Update ad listings","deprecated":null,"version":null,"sidebarTitle":"Update ad listings","openapi":"/openapi.json patch /v1/workspace/ads/listings","href":"/api-reference/workspace/ads/listings/update"},{"title":"List ad search terms","deprecated":null,"version":null,"sidebarTitle":"List ad search terms","openapi":"/openapi.json get /v1/workspace/ads/listings/{listing_id}/search-terms","href":"/api-reference/workspace/ads/listings/searchterms"},{"title":"List ad orders","deprecated":null,"version":null,"sidebarTitle":"List ad orders","openapi":"/openapi.json get /v1/workspace/ads/orders","href":"/api-reference/workspace/ads/orders/search"},{"group":"Ad groups","pages":[{"title":"List ad groups","deprecated":null,"version":null,"sidebarTitle":"List ad groups","openapi":"/openapi.json get /v1/workspace/ads/groups","href":"/api-reference/workspace/ads/groups/list"},{"title":"Create ad group","deprecated":null,"version":null,"sidebarTitle":"Create ad group","openapi":"/openapi.json post /v1/workspace/ads/groups","href":"/api-reference/workspace/ads/groups/create"},{"title":"Rename ad group","deprecated":null,"version":null,"sidebarTitle":"Rename ad group","openapi":"/openapi.json patch /v1/workspace/ads/groups/{group_id}","href":"/api-reference/workspace/ads/groups/rename"},{"title":"Delete ad group","deprecated":null,"version":null,"sidebarTitle":"Delete ad group","openapi":"/openapi.json delete /v1/workspace/ads/groups/{group_id}","href":"/api-reference/workspace/ads/groups/delete"},{"title":"Set listings ad group","deprecated":null,"version":null,"sidebarTitle":"Set listings ad group","openapi":"/openapi.json put /v1/workspace/ads/groups/listings","href":"/api-reference/workspace/ads/groups/listings"}]},{"group":"Optimize","pages":[{"title":"Get optimizer settings","deprecated":null,"version":null,"sidebarTitle":"Get optimizer settings","openapi":"/openapi.json get /v1/workspace/ads/optimize/settings","href":"/api-reference/workspace/ads/optimize/settings/get"},{"title":"Save optimizer settings","deprecated":null,"version":null,"sidebarTitle":"Save optimizer settings","openapi":"/openapi.json put /v1/workspace/ads/optimize/settings","href":"/api-reference/workspace/ads/optimize/settings/put"},{"title":"Preview optimizer run","description":"Plan which Etsy Ads listings to pause or move to Lower click cost, or which search terms to turn off, with the same optimizer as Alura's Etsy Ads page. A preview changes nothing on Etsy.","deprecated":null,"version":null,"sidebarTitle":"Preview optimizer run","openapi":"/openapi.json post /v1/workspace/ads/optimize/runs","href":"/api-reference/workspace/ads/optimize/runs/preview"},{"title":"Get optimizer run","deprecated":null,"version":null,"sidebarTitle":"Get optimizer run","openapi":"/openapi.json get /v1/workspace/ads/optimize/runs/{id}","href":"/api-reference/workspace/ads/optimize/runs/get"},{"title":"List optimizer runs","description":"List one shop's Etsy Ads optimizer runs, newest first: what each one changed, how each change ended on Etsy, and whether it can still be undone.","deprecated":null,"version":null,"sidebarTitle":"List optimizer runs","openapi":"/openapi.json get /v1/workspace/ads/optimize/runs","href":"/api-reference/workspace/ads/optimize/runs/list"},{"title":"Apply optimizer run","deprecated":null,"version":null,"sidebarTitle":"Apply optimizer run","openapi":"/openapi.json post /v1/workspace/ads/optimize/runs/{id}/apply","href":"/api-reference/workspace/ads/optimize/runs/apply"},{"title":"Revert optimizer run","deprecated":null,"version":null,"sidebarTitle":"Revert optimizer run","openapi":"/openapi.json post /v1/workspace/ads/optimize/runs/{id}/revert","href":"/api-reference/workspace/ads/optimize/runs/revert"}]}]},{"group":"Etsy Sales","pages":[{"title":"List promotions","deprecated":null,"version":null,"sidebarTitle":"List promotions","openapi":"/openapi.json get /v1/workspace/promotions","href":"/api-reference/workspace/promotions/search"},{"title":"Get promotion","deprecated":null,"version":null,"sidebarTitle":"Get promotion","openapi":"/openapi.json get /v1/workspace/promotions/{id}","href":"/api-reference/workspace/promotions/get"}]},{"group":"Marketplace Insights","pages":[{"title":"Get search insights","deprecated":null,"version":null,"sidebarTitle":"Get search insights","openapi":"/openapi.json get /v1/workspace/marketplace-insights/searches","href":"/api-reference/workspace/marketplaceinsights/searches/get"},{"title":"List related terms","deprecated":null,"version":null,"sidebarTitle":"List related terms","openapi":"/openapi.json get /v1/workspace/marketplace-insights/searches/terms","href":"/api-reference/workspace/marketplaceinsights/searches/terms"}]},{"group":"Traffic and search terms","pages":[{"title":"Get listing traffic","deprecated":null,"version":null,"sidebarTitle":"Get listing traffic","openapi":"/openapi.json get /v1/workspace/listings/{id}/traffic","href":"/api-reference/workspace/listings/traffic"},{"title":"Listing search terms","deprecated":null,"version":null,"sidebarTitle":"Listing search terms","openapi":"/openapi.json get /v1/workspace/listings/{id}/search-terms","href":"/api-reference/workspace/listings/searchterms"},{"title":"Search terms, batch","deprecated":null,"version":null,"sidebarTitle":"Search terms, batch","openapi":"/openapi.json get /v1/workspace/listings/search-terms","href":"/api-reference/workspace/listings/searchterms/batch"},{"title":"List shop search terms","deprecated":null,"version":null,"sidebarTitle":"List shop search terms","openapi":"/openapi.json get /v1/workspace/search-terms","href":"/api-reference/workspace/searchterms/search"}]},{"group":"Messages","pages":[{"title":"List conversations","deprecated":null,"version":null,"sidebarTitle":"List conversations","openapi":"/openapi.json get /v1/workspace/conversations","href":"/api-reference/workspace/conversations/search"},{"title":"Search conversations","deprecated":null,"version":null,"sidebarTitle":"Search conversations","openapi":"/openapi.json post /v1/workspace/conversations/search","href":"/api-reference/workspace/conversations/query"},{"title":"Get conversation","deprecated":null,"version":null,"sidebarTitle":"Get conversation","openapi":"/openapi.json get /v1/workspace/conversations/{id}","href":"/api-reference/workspace/conversations/get"},{"title":"Get order conversation","deprecated":null,"version":null,"sidebarTitle":"Get order conversation","openapi":"/openapi.json get /v1/workspace/orders/{id}/conversation","href":"/api-reference/workspace/orders/conversation/get"},{"title":"List labels","deprecated":null,"version":null,"sidebarTitle":"List labels","openapi":"/openapi.json get /v1/workspace/conversations/labels","href":"/api-reference/workspace/conversations/labels"},{"title":"Update conversation","deprecated":null,"version":null,"sidebarTitle":"Update conversation","openapi":"/openapi.json patch /v1/workspace/conversations/{id}","href":"/api-reference/workspace/conversations/update"},{"title":"Set buyer note","deprecated":null,"version":null,"sidebarTitle":"Set buyer note","openapi":"/openapi.json put /v1/workspace/conversations/{id}/buyer-note","href":"/api-reference/workspace/conversations/buyernote/set"},{"title":"Hand off conversation","deprecated":null,"version":null,"sidebarTitle":"Hand off conversation","openapi":"/openapi.json post /v1/workspace/conversations/{id}/handoff","href":"/api-reference/workspace/conversations/handoff"},{"title":"Send message","deprecated":null,"version":null,"sidebarTitle":"Send message","openapi":"/openapi.json post /v1/workspace/conversations/{id}/messages","href":"/api-reference/workspace/conversations/messages/send"},{"title":"Send order message","deprecated":null,"version":null,"sidebarTitle":"Send order message","openapi":"/openapi.json post /v1/workspace/orders/{id}/messages","href":"/api-reference/workspace/orders/messages/send"},{"title":"Upload attachment","deprecated":null,"version":null,"sidebarTitle":"Upload attachment","openapi":"/openapi.json post /v1/workspace/conversations/attachments","href":"/api-reference/workspace/conversations/attachments/upload"},{"group":"Drafts","pages":[{"title":"List draft replies","deprecated":null,"version":null,"sidebarTitle":"List draft replies","openapi":"/openapi.json get /v1/workspace/conversations/{id}/drafts","href":"/api-reference/workspace/conversations/drafts/list"},{"title":"Create draft reply","deprecated":null,"version":null,"sidebarTitle":"Create draft reply","openapi":"/openapi.json post /v1/workspace/conversations/{id}/drafts","href":"/api-reference/workspace/conversations/drafts/create"},{"title":"Dismiss draft reply","deprecated":null,"version":null,"sidebarTitle":"Dismiss draft reply","openapi":"/openapi.json delete /v1/workspace/conversations/{id}/drafts/{draft_id}","href":"/api-reference/workspace/conversations/drafts/dismiss"}]}]},{"group":"Reviews and orders","pages":[{"title":"Reply to review","deprecated":null,"version":null,"sidebarTitle":"Reply to review","openapi":"/openapi.json post /v1/workspace/reviews/{id}/reply","href":"/api-reference/workspace/reviews/reply"},{"title":"Set order note","deprecated":null,"version":null,"sidebarTitle":"Set order note","openapi":"/openapi.json put /v1/workspace/orders/{id}/note","href":"/api-reference/workspace/orders/note/set"}]}]},{"group":"Etsy","pages":[{"group":"Catalog","pages":[{"title":"Search categories","deprecated":null,"version":null,"sidebarTitle":"Search categories","openapi":"/openapi.json get /v1/etsy/categories","href":"/api-reference/etsy/categories/search"},{"title":"Get category","deprecated":null,"version":null,"sidebarTitle":"Get category","openapi":"/openapi.json get /v1/etsy/categories/{id}","href":"/api-reference/etsy/categories/get"},{"title":"Get category properties","deprecated":null,"version":null,"sidebarTitle":"Get category properties","openapi":"/openapi.json get /v1/etsy/categories/{id}/properties","href":"/api-reference/etsy/categories/properties"},{"title":"List languages","deprecated":null,"version":null,"sidebarTitle":"List languages","openapi":"/openapi.json get /v1/etsy/languages","href":"/api-reference/etsy/languages/list"}]},{"group":"Selling","pages":[{"title":"Get listing rules","deprecated":null,"version":null,"sidebarTitle":"Get listing rules","openapi":"/openapi.json get /v1/etsy/listing-rules","href":"/api-reference/etsy/listingrules/get"},{"title":"Get fees","deprecated":null,"version":null,"sidebarTitle":"Get fees","openapi":"/openapi.json get /v1/etsy/fees","href":"/api-reference/etsy/fees/get"}]},{"group":"Countries \u0026 currencies","pages":[{"title":"List countries","deprecated":null,"version":null,"sidebarTitle":"List countries","openapi":"/openapi.json get /v1/etsy/countries","href":"/api-reference/etsy/countries/list"},{"title":"Get country","deprecated":null,"version":null,"sidebarTitle":"Get country","openapi":"/openapi.json get /v1/etsy/countries/{code}","href":"/api-reference/etsy/countries/get"},{"title":"List currencies","deprecated":null,"version":null,"sidebarTitle":"List currencies","openapi":"/openapi.json get /v1/etsy/currencies","href":"/api-reference/etsy/currencies/list"},{"title":"Get currency","deprecated":null,"version":null,"sidebarTitle":"Get currency","openapi":"/openapi.json get /v1/etsy/currencies/{code}","href":"/api-reference/etsy/currencies/get"}]},{"group":"Shipping","pages":[{"title":"Get shipping carriers","deprecated":null,"version":null,"sidebarTitle":"Get shipping carriers","openapi":"/openapi.json get /v1/etsy/shipping-carriers","href":"/api-reference/etsy/shippingcarriers/get"}]},{"group":"News \u0026 updates","pages":[{"title":"List feed","deprecated":null,"version":null,"sidebarTitle":"List feed","openapi":"/openapi.json get /v1/etsy/feed","href":"/api-reference/etsy/feed/list"},{"title":"List updates","deprecated":null,"version":null,"sidebarTitle":"List updates","openapi":"/openapi.json get /v1/etsy/updates","href":"/api-reference/etsy/updates/list"},{"title":"Get update","deprecated":null,"version":null,"sidebarTitle":"Get update","openapi":"/openapi.json get /v1/etsy/updates/{id}","href":"/api-reference/etsy/updates/get"},{"title":"List news","deprecated":null,"version":null,"sidebarTitle":"List news","openapi":"/openapi.json get /v1/etsy/news","href":"/api-reference/etsy/news/list"},{"title":"Get article","deprecated":null,"version":null,"sidebarTitle":"Get article","openapi":"/openapi.json get /v1/etsy/news/{slug}","href":"/api-reference/etsy/news/get"}]}]},{"group":"Webhooks \u0026 events","pages":[{"group":"Webhook endpoints","pages":[{"title":"Create webhook","deprecated":null,"version":null,"sidebarTitle":"Create webhook","openapi":"/openapi.json post /v1/webhooks","href":"/api-reference/webhooks/endpoints/create"},{"title":"List webhooks","deprecated":null,"version":null,"sidebarTitle":"List webhooks","openapi":"/openapi.json get /v1/webhooks","href":"/api-reference/webhooks/endpoints/list"},{"title":"Get webhook","deprecated":null,"version":null,"sidebarTitle":"Get webhook","openapi":"/openapi.json get /v1/webhooks/{id}","href":"/api-reference/webhooks/endpoints/get"},{"title":"Update webhook","deprecated":null,"version":null,"sidebarTitle":"Update webhook","openapi":"/openapi.json patch /v1/webhooks/{id}","href":"/api-reference/webhooks/endpoints/update"},{"title":"Delete webhook","deprecated":null,"version":null,"sidebarTitle":"Delete webhook","openapi":"/openapi.json delete /v1/webhooks/{id}","href":"/api-reference/webhooks/endpoints/delete"},{"title":"Send test event","deprecated":null,"version":null,"sidebarTitle":"Send test event","openapi":"/openapi.json post /v1/webhooks/{id}/test","href":"/api-reference/webhooks/endpoints/test"},{"title":"Rotate secret","deprecated":null,"version":null,"sidebarTitle":"Rotate secret","openapi":"/openapi.json post /v1/webhooks/{id}/rotate-secret","href":"/api-reference/webhooks/endpoints/rotatesecret"}]},{"group":"Deliveries","pages":[{"title":"List deliveries","deprecated":null,"version":null,"sidebarTitle":"List deliveries","openapi":"/openapi.json get /v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/deliveries/list"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"sidebarTitle":"List events","openapi":"/openapi.json get /v1/events","href":"/api-reference/events/list"},{"title":"Get event","deprecated":null,"version":null,"sidebarTitle":"Get event","openapi":"/openapi.json get /v1/events/{id}","href":"/api-reference/events/get"}]}]},{"group":"Account","pages":[{"group":"Me","pages":[{"title":"Get current user","deprecated":null,"version":null,"sidebarTitle":"Get current user","openapi":"/openapi.json get /v1/me","href":"/api-reference/account/me/get"}]},{"group":"Workspaces","pages":[{"title":"List workspaces","deprecated":null,"version":null,"sidebarTitle":"List workspaces","openapi":"/openapi.json get /v1/me/workspaces","href":"/api-reference/account/workspaces/list"},{"title":"Switch workspace","deprecated":null,"version":null,"sidebarTitle":"Switch workspace","openapi":"/openapi.json post /v1/me/workspace","href":"/api-reference/account/workspace/switch"}]},{"group":"Usage","pages":[{"title":"Get usage","deprecated":null,"version":null,"sidebarTitle":"Get usage","openapi":"/openapi.json get /v1/usage","href":"/api-reference/account/usage/get"},{"title":"Get usage by day","deprecated":null,"version":null,"sidebarTitle":"Get usage by day","openapi":"/openapi.json get /v1/usage/by-day","href":"/api-reference/account/usage/byday"},{"title":"List usage events","deprecated":null,"version":null,"sidebarTitle":"List usage events","openapi":"/openapi.json get /v1/usage/events","href":"/api-reference/account/usage/events"}]}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/connect-ai"}]}]},"basePath":"","title":"Get optimizer run - Alura API","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}