analytics — billing truth lives in the metering pipeline.Required scope:read
Response
RecentDecisionsResponse
boolean
True when more records exist beyond this page, so a caller knows to keep going rather than guessing from a short page.
integer
required
The effective limit applied to this page.
integer
The offset this page started at.
DecisionRecord[]
required
Show DecisionRecord
boolean
required
True when the decision came through /v1/decisions/batch.
boolean
required
string[]
required
Rule ids cited in the proof chain.
number (double)
The confidence the decision reported, in [0, 1]. Stored so calibration can bucket decisions by what they claimed and compare against what actually happened (see outcome).
integer (int64)
required
string
required
approved | denied | refused.
string
The decision_id returned in the API response and carried by the outcome.produced webhook — the correlation key for audits.
string[]
Org rules that fired during hydration but were dropped from the proof as unrelated — the audit record of standing-rule noise per decision.
string
Optional client-supplied correlation key (their order id, case id, claim number…). This is what closes the outcome loop from REAL events: a chargeback or override webhook knows the order id, not our decision_id, so POST /v1/decisions/outcome-by-ref records the outcome by this key. None when the caller didn’t supply one.
integer (int64)
required
string[]
Deduped predicate names from a refused decision’s refusal.missing_facts — the KB coverage gaps that blocked it. Empty for approvals/denials and safety-gated refusals (which carry none).
string
The real-world outcome, recorded AFTER the fact via POST /v1/decisions/{id}/outcome: honored (the decision held up), reversed (e.g. an approved refund was charged back), overridden (a human changed it), or escalated. None until reported. This is the ground truth that turns confidence from a heuristic into a calibrated, measurable number.
string
required
The decision query, truncated to 200 chars for memory hygiene.
object
Show request
string
object
number (double)
RecursiveChatFactInput[]
boolean
integer
string
string
required
RecursiveChatRuleInput[]
string
sha256:<hex> over the request-scoped policy the decision was evaluated against (see DecisionProof::request_policy_hash) — lets an audit confirm a replay uses the same policy inputs.
string (date-time)
required
Status codes
Code
Meaning
200
Recent decision records
401
Unauthorized — missing or invalid credentials
403
Forbidden — the key/token lacks the required scope
429
Rate limited — see Retry-After / X-RateLimit-Reset
curl --request GET \ --url 'https://api.nsr.stateset.com/v1/decisions/recent' \ --header "X-API-Key: $STATESET_NSR_API_KEY"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StateSet","colors":{"primary":"#1854D8","light":"#9ABBFF","dark":"#1854D8"},"logo":{"light":"https://mintcdn.com/stateset/4wTHkssFeA2M0XSV/logo/stateset28.svg?fit=max\u0026auto=format\u0026n=4wTHkssFeA2M0XSV\u0026q=85\u0026s=24804c100796a1bf65ec331da17e6d35","dark":"https://mintcdn.com/stateset/JA8nckTOtvEhuHo_/logo/stateset-dark.svg?fit=max\u0026auto=format\u0026n=JA8nckTOtvEhuHo_\u0026q=85\u0026s=65eb9e8c70dcd90948e7767e33664716","href":"https://docs.stateset.com"},"favicon":"https://mintcdn.com/stateset/-A-d_TFUEdlnuegX/logo/favicon.png?fit=max\u0026auto=format\u0026n=-A-d_TFUEdlnuegX\u0026q=85\u0026s=0104c780f4ff026e880a05450e1156b0","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.stateset.com"}},"background":{"color":{"light":"#FFFFFF","dark":"#101827"}},"navbar":{"links":[{"href":"https://stateset.com/contact-us","label":"Talk to us"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.stateset.com"}},"footer":{"socials":{"x":"https://x.com/stateset","github":"https://github.com/stateset","linkedin":"https://www.linkedin.com/company/stateset"},"links":[{"header":"Explore","items":[{"label":"Sandbox","href":"https://sandbox.stateset.com"},{"label":"ResponseCX","href":"https://response.cx"},{"label":"Console","href":"https://console.stateset.com"}]},{"header":"Resources","items":[{"label":"Customers","href":"https://stateset.com/customers"},{"label":"Blog","href":"https://stateset.com/blog"},{"label":"Pricing","href":"https://stateset.com/pricing"},{"label":"Contact support","href":"https://stateset.com/support"},{"label":"Glossary","href":"https://www.stateset.com/glossary/icommerce/glossary"},{"label":"Status","href":"https://stateset.com/status"}]},{"header":"Company","items":[{"label":"Careers","href":"https://stateset.com/careers"},{"label":"FAQs","href":"https://stateset.com/faqs"},{"label":"Community","href":"https://discord.gg/VfcaqgZywq"},{"label":"Newsletter","href":"https://stateofmind.beehiiv.com/"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://stateset.com/privacy"},{"label":"Terms of Service","href":"https://stateset.com/terms"},{"label":"Trust Center","href":"https://trust.stateset.com"}]}]},"search":{"prompt":"Search guides, APIs, and MCP tools…"},"seo":{"metatags":{"og:type":"website","og:site_name":"StateSet API Docs","og:title":"StateSet API Docs","og:description":"Documentation for the StateSet iCommerce Engine — the execution layer for AI commerce. APIs, SDKs, MCP servers and skills for every service.","twitter:card":"summary_large_image","twitter:site":"@stateset"},"indexing":"all"},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"errors":{"404":{"redirect":false,"title":"This page does not exist","description":"It may have been retired — 376 old URLs redirect automatically, but you found one that doesn't. Try the [API router](/api-reference/introduction) to find the right surface, [host status](/api-reference/hosts) if a service seems missing, or [Getting Help](/support)."}},"contextual":{"options":["copy","chatgpt","claude","cursor"],"display":"header"},"thumbnails":{"appearance":"dark"},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/stateset"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stateset","hasAudioNarration":false,"actualSubdomain":"stateset","customDomains":["docs.stateset.com"],"gitSource":{"type":"github","owner":"stateset","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af760fef96917bc1916b111","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1570},{"language":"default","tag":"iCommerce","count":482},{"language":"default","tag":"Platform docs","count":317},{"language":"default","tag":"NSR","count":264},{"language":"default","tag":"Learn \u0026 build","count":238},{"language":"default","tag":"EDI","count":204},{"language":"default","tag":"Temporal Engine","count":182},{"language":"default","tag":"Financials","count":97},{"language":"default","tag":"Computer Use","count":92},{"language":"default","tag":"Orders \u0026 Customers","count":88}],"searchSettings":{"maxResults":8}},"assistantConfig":{},"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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":"style.css","content":":root{--ss-page: #ffffff;--ss-ink: #15243b;--ss-muted: #4e6078;--ss-line: #dce4ef;--ss-surface: #f5f8fd;--ss-accent: #1854d8}.dark{--ss-page: #101827;--ss-ink: #edf3ff;--ss-muted: #b0bfd4;--ss-line: #304057;--ss-surface: #182337;--ss-accent: #9abbff}html,body{background-color:var(--ss-page)}#navbar{border-bottom-color:var(--ss-line)}#search-bar-entry{border-color:var(--ss-line);border-radius:12px}#sidebar a{transition:background-color 140ms ease, color 140ms ease}#content-area h1{letter-spacing:-0.035em;text-wrap:balance}#content-area h2{letter-spacing:-0.025em}#content-area h3{letter-spacing:-0.015em}#content-area :is(a,button,[role=\"link\"]):focus-visible,#sidebar :is(a,button):focus-visible,#navbar :is(a,button):focus-visible,#footer :is(a,button):focus-visible{outline:3px solid var(--ss-accent);outline-offset:4px}#content-area .card{border-color:var(--ss-line);border-radius:16px;box-shadow:0 2px 5px rgb(15 35 65 / 3%);transition:border-color 160ms ease, box-shadow 160ms ease}#content-area .card:hover{border-color:var(--ss-accent);box-shadow:0 6px 20px rgb(15 35 65 / 7%)}#content-area th{background:var(--ss-surface)}#content-area :is(th,td){border-bottom-color:var(--ss-line)}.ss-home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.75rem 1.5rem;margin:0 0 1.75rem}.ss-eyebrow{display:block;font-size:0.75rem;font-weight:700;letter-spacing:0.08em;color:var(--ss-accent)}#content-area .ss-primary-link,#content-area .ss-secondary-link{display:inline-flex;align-items:center;gap:0.75rem;font-size:0.875rem;font-weight:600;text-decoration:none;border-bottom:0}#content-area .ss-primary-link{padding:0.7rem 1rem;border-radius:10px;background:#1854d8;color:#fff}#content-area .ss-primary-link:hover{background:#1244b7}#content-area .ss-secondary-link{color:var(--ss-accent)}#content-area .ss-secondary-link:hover{text-decoration:underline;text-underline-offset:4px}.ss-reference-strip{display:flex;flex-wrap:wrap;gap:0.5rem 1rem;margin:1.25rem 0 2rem;padding:1rem 1.25rem;background:var(--ss-surface);border:1px solid var(--ss-line);border-radius:12px;font-size:0.875rem}.ss-reference-strip>span{flex-basis:100%;font-weight:600;color:var(--ss-muted)}.ss-operation-map{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));margin:1.5rem 0 2.5rem;border:1px solid var(--ss-line);border-radius:16px;background:var(--ss-surface)}.ss-operation-map>div{padding:1.25rem}.ss-operation-map>div+div{border-left:1px solid var(--ss-line)}.ss-operation-map strong{display:block;margin-top:0.65rem;font-size:0.95rem;color:var(--ss-ink)}#content-area .ss-operation-map p{margin:0.5rem 0 0;font-size:0.875rem;line-height:1.6;color:var(--ss-muted)}.ss-guide-summary{display:grid;grid-template-columns:1fr 1.3fr 1.3fr;gap:1.25rem;padding:1.25rem;margin:0 0 1.75rem;border:1px solid var(--ss-line);border-radius:14px;background:var(--ss-surface)}.ss-guide-summary strong{display:block;margin-top:0.5rem;color:var(--ss-ink);font-size:0.9rem}#content-area .ss-guide-summary p{margin:0.5rem 0 0;font-size:0.875rem;line-height:1.6;color:var(--ss-muted)}.ss-checkpoint{border-left:3px solid var(--ss-accent);border-radius:0 10px 10px 0;background:var(--ss-surface);padding:0.85rem 1.1rem;margin:1.5rem 0}#content-area .ss-checkpoint p{margin:0}#content-area th{padding:0.7rem 0.75rem}#content-area td{padding:0.8rem 0.75rem;vertical-align:top;line-height:1.6}#content-area :is(h2,h3){scroll-margin-top:8rem}#content-area :is(a,button,[role=\"tab\"]),#navbar button{-webkit-tap-highlight-color:transparent}#content-area .ss-primary-link,#content-area .ss-secondary-link{min-height:44px}#content-area [data-component-part=\"card-icon\"]{padding:0.5rem;box-sizing:content-box;background:var(--ss-surface);border-radius:10px}@media (max-width: 640px){.ss-home-actions{gap:0.5rem 1rem}.ss-operation-map,.ss-guide-summary{grid-template-columns:1fr}.ss-operation-map>div+div{border-left:0;border-top:1px solid var(--ss-line)}.ss-guide-summary{gap:1rem}.ss-guide-summary>div{display:grid;grid-template-columns:6.5rem 1fr;gap:0.5rem;align-items:baseline}#content-area .ss-guide-summary :is(p,strong){margin-top:0}}@media (prefers-reduced-motion: reduce){#sidebar a,#content-area .card{transition:none}}@media (forced-colors: active){.ss-checkpoint,.ss-guide-summary,.ss-operation-map,.ss-reference-strip{border:1px solid CanvasText}#content-area .ss-primary-link{border:1px solid ButtonText}}@media (max-width: 400px){#footer .nav-logo{max-width:140px}#footer div:has(>a .nav-logo){flex-wrap:wrap;gap:1rem}}#footer :is(a,span){color:var(--ss-muted)}#footer a:hover{color:var(--ss-accent)}.ss-test-sequence{display:grid;gap:1rem;margin:1.5rem 0}.ss-test-sequence .ss-test-case{border:1px solid var(--ss-line);border-radius:14px;padding:1.25rem}#content-area .ss-test-sequence h3{margin:0.5rem 0 0.75rem;font-size:1.1rem}#content-area .ss-test-sequence .ss-test-question{margin:0;padding:0.75rem 1rem;background:var(--ss-surface);border-left:3px solid var(--ss-accent);font-style:normal;color:var(--ss-ink)}#content-area .ss-test-sequence p{margin:0.85rem 0 0;font-size:0.9rem;line-height:1.7}"}]}
{"page":{"pagePath":"api-reference/nsr/verified-decisions/v1-decisions-recent-list","slug":"/api-reference/nsr/verified-decisions/v1-decisions-recent-list","pageMetadata":{"title":"Most recent decisions for the org, newest first. Ephemeral in-memory","api":"GET https://api.nsr.stateset.com/v1/decisions/recent","description":"analytics — billing truth lives in the metering pipeline. **Required scope:** read","href":"/api-reference/nsr/verified-decisions/v1-decisions-recent-list"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"analytics — billing truth lives in the metering pipeline. \", _jsx(_components.strong, {\n children: \"Required scope:\"\n }), \" read\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`analytics — billing truth lives in the metering pipeline.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`read`})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`RecentDecisionsResponse`})}),`\n`,_jsx(ResponseField,{name:`has_more`,type:`boolean`,id:`param-has-more`,children:_jsx(_components.p,{children:`True when more records exist beyond this page, so a caller knows to keep going rather than guessing from a short page.`})}),`\n`,_jsx(ResponseField,{name:`limit`,type:`integer`,required:true,id:`param-limit`,children:_jsx(_components.p,{children:`The effective limit applied to this page.`})}),`\n`,_jsx(ResponseField,{name:`offset`,type:`integer`,id:`param-offset`,children:_jsx(_components.p,{children:`The offset this page started at.`})}),`\n`,_jsx(ResponseField,{name:`records`,type:`DecisionRecord[]`,required:true,id:`param-records`,children:_jsxs(Expandable,{title:`DecisionRecord`,children:[_jsx(ResponseField,{name:`batch`,type:`boolean`,required:true,id:`param-batch`,children:_jsxs(_components.p,{children:[`True when the decision came through `,_jsx(_components.code,{children:`/v1/decisions/batch`}),`.`]})}),_jsx(ResponseField,{name:`billable`,type:`boolean`,required:true,id:`param-billable`}),_jsx(ResponseField,{name:`cited_rules`,type:`string[]`,required:true,id:`param-cited-rules`,children:_jsx(_components.p,{children:`Rule ids cited in the proof chain.`})}),_jsx(ResponseField,{name:`confidence`,type:`number (double)`,id:`param-confidence`,children:_jsxs(_components.p,{children:[`The confidence the decision reported, in [0, 1]. Stored so calibration can bucket decisions by what they claimed and compare against what actually happened (see `,_jsx(_components.code,{children:`outcome`}),`).`]})}),_jsx(ResponseField,{name:`cost_micros`,type:`integer (int64)`,required:true,id:`param-cost-micros`}),_jsx(ResponseField,{name:`decision`,type:`string`,required:true,id:`param-decision`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`approved | denied | refused`}),`.`]})}),_jsx(ResponseField,{name:`decision_id`,type:`string`,id:`param-decision-id`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`decision_id`}),` returned in the API response and carried by the `,_jsx(_components.code,{children:`outcome.produced`}),` webhook — the correlation key for audits.`]})}),_jsx(ResponseField,{name:`dropped_citations`,type:`string[]`,id:`param-dropped-citations`,children:_jsx(_components.p,{children:`Org rules that fired during hydration but were dropped from the proof as unrelated — the audit record of standing-rule noise per decision.`})}),_jsx(ResponseField,{name:`external_ref`,type:`string`,id:`param-external-ref`,children:_jsxs(_components.p,{children:[`Optional client-supplied correlation key (their order id, case id, claim number…). This is what closes the outcome loop from REAL events: a chargeback or override webhook knows the order id, not our `,_jsx(_components.code,{children:`decision_id`}),`, so `,_jsx(_components.code,{children:`POST /v1/decisions/outcome-by-ref`}),` records the outcome by this key. `,_jsx(_components.code,{children:`None`}),` when the caller didn’t supply one.`]})}),_jsx(ResponseField,{name:`latency_ms`,type:`integer (int64)`,required:true,id:`param-latency-ms`}),_jsx(ResponseField,{name:`missing_predicates`,type:`string[]`,id:`param-missing-predicates`,children:_jsxs(_components.p,{children:[`Deduped predicate names from a refused decision’s `,_jsx(_components.code,{children:`refusal.missing_facts`}),` — the KB coverage gaps that blocked it. Empty for approvals/denials and safety-gated refusals (which carry none).`]})}),_jsx(ResponseField,{name:`outcome`,type:`string`,id:`param-outcome`,children:_jsxs(_components.p,{children:[`The real-world outcome, recorded AFTER the fact via `,_jsx(_components.code,{children:`POST /v1/decisions/\u0026#123;id\u0026#125;/outcome`}),`: `,_jsx(_components.code,{children:`honored`}),` (the decision held up), `,_jsx(_components.code,{children:`reversed`}),` (e.g. an approved refund was charged back), `,_jsx(_components.code,{children:`overridden`}),` (a human changed it), or `,_jsx(_components.code,{children:`escalated`}),`. `,_jsx(_components.code,{children:`None`}),` until reported. This is the ground truth that turns confidence from a heuristic into a calibrated, measurable number.`]})}),_jsx(ResponseField,{name:`query`,type:`string`,required:true,id:`param-query`,children:_jsx(_components.p,{children:`The decision query, truncated to 200 chars for memory hygiene.`})}),_jsx(ResponseField,{name:`request`,type:`object`,id:`param-request`,children:_jsxs(Expandable,{title:`request`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action`}),_jsx(ResponseField,{name:`authorization_goal`,type:`object`,id:`param-authorization-goal`}),_jsx(ResponseField,{name:`confidence_threshold`,type:`number (double)`,id:`param-confidence-threshold`}),_jsx(ResponseField,{name:`facts`,type:`RecursiveChatFactInput[]`,id:`param-facts`}),_jsx(ResponseField,{name:`hydrate_org_context`,type:`boolean`,id:`param-hydrate-org-context`}),_jsx(ResponseField,{name:`max_depth`,type:`integer`,id:`param-max-depth`}),_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode`}),_jsx(ResponseField,{name:`query`,type:`string`,required:true,id:`param-query-1`}),_jsx(ResponseField,{name:`rules`,type:`RecursiveChatRuleInput[]`,id:`param-rules`})]})}),_jsx(ResponseField,{name:`request_policy_hash`,type:`string`,id:`param-request-policy-hash`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sha256:\u0026lt;hex>`}),` over the request-scoped policy the decision was evaluated against (see `,_jsx(_components.code,{children:`DecisionProof::request_policy_hash`}),`) — lets an audit confirm a replay uses the same policy inputs.`]})}),_jsx(ResponseField,{name:`timestamp`,type:`string (date-time)`,required:true,id:`param-timestamp`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Recent decision records`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Unauthorized — missing or invalid credentials`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Forbidden — the key/token lacks the required scope`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Rate limited — see Retry-After / X-RateLimit-Reset`})]})]})]})]})}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":"Most recent decisions for the org, newest first. Ephemeral in-memory","api":"GET https://api.nsr.stateset.com/v1/decisions/recent","description":"analytics — billing truth lives in the metering pipeline. **Required scope:** read","href":"/api-reference/nsr/verified-decisions/v1-decisions-recent-list"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`analytics — billing truth lives in the metering pipeline.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`read`})]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`RecentDecisionsResponse`})}),`\n`,_jsx(ResponseField,{name:`has_more`,type:`boolean`,id:`param-has-more`,children:_jsx(_components.p,{children:`True when more records exist beyond this page, so a caller knows to keep going rather than guessing from a short page.`})}),`\n`,_jsx(ResponseField,{name:`limit`,type:`integer`,required:true,id:`param-limit`,children:_jsx(_components.p,{children:`The effective limit applied to this page.`})}),`\n`,_jsx(ResponseField,{name:`offset`,type:`integer`,id:`param-offset`,children:_jsx(_components.p,{children:`The offset this page started at.`})}),`\n`,_jsx(ResponseField,{name:`records`,type:`DecisionRecord[]`,required:true,id:`param-records`,children:_jsxs(Expandable,{title:`DecisionRecord`,children:[_jsx(ResponseField,{name:`batch`,type:`boolean`,required:true,id:`param-batch`,children:_jsxs(_components.p,{children:[`True when the decision came through `,_jsx(_components.code,{children:`/v1/decisions/batch`}),`.`]})}),_jsx(ResponseField,{name:`billable`,type:`boolean`,required:true,id:`param-billable`}),_jsx(ResponseField,{name:`cited_rules`,type:`string[]`,required:true,id:`param-cited-rules`,children:_jsx(_components.p,{children:`Rule ids cited in the proof chain.`})}),_jsx(ResponseField,{name:`confidence`,type:`number (double)`,id:`param-confidence`,children:_jsxs(_components.p,{children:[`The confidence the decision reported, in [0, 1]. Stored so calibration can bucket decisions by what they claimed and compare against what actually happened (see `,_jsx(_components.code,{children:`outcome`}),`).`]})}),_jsx(ResponseField,{name:`cost_micros`,type:`integer (int64)`,required:true,id:`param-cost-micros`}),_jsx(ResponseField,{name:`decision`,type:`string`,required:true,id:`param-decision`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`approved | denied | refused`}),`.`]})}),_jsx(ResponseField,{name:`decision_id`,type:`string`,id:`param-decision-id`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`decision_id`}),` returned in the API response and carried by the `,_jsx(_components.code,{children:`outcome.produced`}),` webhook — the correlation key for audits.`]})}),_jsx(ResponseField,{name:`dropped_citations`,type:`string[]`,id:`param-dropped-citations`,children:_jsx(_components.p,{children:`Org rules that fired during hydration but were dropped from the proof as unrelated — the audit record of standing-rule noise per decision.`})}),_jsx(ResponseField,{name:`external_ref`,type:`string`,id:`param-external-ref`,children:_jsxs(_components.p,{children:[`Optional client-supplied correlation key (their order id, case id, claim number…). This is what closes the outcome loop from REAL events: a chargeback or override webhook knows the order id, not our `,_jsx(_components.code,{children:`decision_id`}),`, so `,_jsx(_components.code,{children:`POST /v1/decisions/outcome-by-ref`}),` records the outcome by this key. `,_jsx(_components.code,{children:`None`}),` when the caller didn’t supply one.`]})}),_jsx(ResponseField,{name:`latency_ms`,type:`integer (int64)`,required:true,id:`param-latency-ms`}),_jsx(ResponseField,{name:`missing_predicates`,type:`string[]`,id:`param-missing-predicates`,children:_jsxs(_components.p,{children:[`Deduped predicate names from a refused decision’s `,_jsx(_components.code,{children:`refusal.missing_facts`}),` — the KB coverage gaps that blocked it. Empty for approvals/denials and safety-gated refusals (which carry none).`]})}),_jsx(ResponseField,{name:`outcome`,type:`string`,id:`param-outcome`,children:_jsxs(_components.p,{children:[`The real-world outcome, recorded AFTER the fact via `,_jsx(_components.code,{children:`POST /v1/decisions/\u0026#123;id\u0026#125;/outcome`}),`: `,_jsx(_components.code,{children:`honored`}),` (the decision held up), `,_jsx(_components.code,{children:`reversed`}),` (e.g. an approved refund was charged back), `,_jsx(_components.code,{children:`overridden`}),` (a human changed it), or `,_jsx(_components.code,{children:`escalated`}),`. `,_jsx(_components.code,{children:`None`}),` until reported. This is the ground truth that turns confidence from a heuristic into a calibrated, measurable number.`]})}),_jsx(ResponseField,{name:`query`,type:`string`,required:true,id:`param-query`,children:_jsx(_components.p,{children:`The decision query, truncated to 200 chars for memory hygiene.`})}),_jsx(ResponseField,{name:`request`,type:`object`,id:`param-request`,children:_jsxs(Expandable,{title:`request`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action`}),_jsx(ResponseField,{name:`authorization_goal`,type:`object`,id:`param-authorization-goal`}),_jsx(ResponseField,{name:`confidence_threshold`,type:`number (double)`,id:`param-confidence-threshold`}),_jsx(ResponseField,{name:`facts`,type:`RecursiveChatFactInput[]`,id:`param-facts`}),_jsx(ResponseField,{name:`hydrate_org_context`,type:`boolean`,id:`param-hydrate-org-context`}),_jsx(ResponseField,{name:`max_depth`,type:`integer`,id:`param-max-depth`}),_jsx(ResponseField,{name:`mode`,type:`string`,id:`param-mode`}),_jsx(ResponseField,{name:`query`,type:`string`,required:true,id:`param-query-1`}),_jsx(ResponseField,{name:`rules`,type:`RecursiveChatRuleInput[]`,id:`param-rules`})]})}),_jsx(ResponseField,{name:`request_policy_hash`,type:`string`,id:`param-request-policy-hash`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sha256:\u0026lt;hex>`}),` over the request-scoped policy the decision was evaluated against (see `,_jsx(_components.code,{children:`DecisionProof::request_policy_hash`}),`) — lets an audit confirm a replay uses the same policy inputs.`]})}),_jsx(ResponseField,{name:`timestamp`,type:`string (date-time)`,required:true,id:`param-timestamp`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Recent decision records`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Unauthorized — missing or invalid credentials`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Forbidden — the key/token lacks the required scope`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Rate limited — see Retry-After / X-RateLimit-Reset`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.nsr.stateset.com/v1/decisions/recent'`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$STATESET_NSR_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`35`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`35`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"has_more\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"offset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"records\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"batch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cited_rules\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cost_micros\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decision\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"decision_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dropped_citations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"external_ref\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latency_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`250`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"missing_predicates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"outcome\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorization_goal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"confidence_threshold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"facts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hydrate_org_context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"max_depth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rules\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_policy_hash\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-08-31T14:22:05Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Most recent decisions for the org, newest first. Ephemeral in-memory","api":"GET https://api.nsr.stateset.com/v1/decisions/recent","description":"analytics — billing truth lives in the metering pipeline. **Required scope:** read","href":"/api-reference/nsr/verified-decisions/v1-decisions-recent-list"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Status codes","slug":"status-codes","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.nsr.stateset.com/v1/decisions/recent'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-Key: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$STATESET_NSR_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"35\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"has_more\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">20\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"offset\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"records\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"batch\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billable\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cited_rules\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"confidence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7.5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cost_micros\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"decision\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"decision_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dropped_citations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"external_ref\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"latency_ms\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">250\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"missing_predicates\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"outcome\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"query\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"authorization_goal\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"confidence_threshold\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"facts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"hydrate_org_context\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"max_depth\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"query\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rules\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_policy_hash\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"string\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-08-31T14:22:05Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Most recent decisions for the org, newest first. Ephemeral in-memory","path":"/v1/decisions/recent","servers":[{"url":"https://api.nsr.stateset.com"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"has_more":[{"type":"boolean","description":"True when more records exist beyond this page, so a caller knows to keep going rather than guessing from a short page."}],"limit":[{"type":"integer","description":"The effective limit applied to this page.","required":true}],"offset":[{"type":"integer","description":"The offset this page started at."}],"records":[{"type":"array","items":[{"type":"object","properties":{"batch":[{"type":"boolean","description":"True when the decision came through `/v1/decisions/batch` .","required":true}],"billable":[{"type":"boolean","required":true}],"cited_rules":[{"type":"array","items":[{"type":"string"}],"description":"Rule ids cited in the proof chain.","required":true}],"confidence":[{"type":"object","properties":{},"description":"The confidence the decision reported, in [0, 1]. Stored so calibration can bucket decisions by what they claimed and compare against what actually happened (see `outcome` )."}],"cost_micros":[{"type":"object","properties":{},"required":true}],"decision":[{"type":"string","description":"`approved | denied | refused` .","required":true}],"decision_id":[{"type":"string","description":"The `decision_id` returned in the API response and carried by the `outcome.produced` webhook — the correlation key for audits."}],"dropped_citations":[{"type":"array","items":[{"type":"string"}],"description":"Org rules that fired during hydration but were dropped from the proof as unrelated — the audit record of standing-rule noise per decision."}],"external_ref":[{"type":"string","description":"Optional client-supplied correlation key (their order id, case id, claim number…). This is what closes the outcome loop from REAL events: a chargeback or override webhook knows the order id, not our `decision_id` , so `POST /v1/decisions/outcome-by-ref` records the outcome by this key. `None` when the caller didn’t supply one."}],"latency_ms":[{"type":"object","properties":{},"required":true}],"missing_predicates":[{"type":"array","items":[{"type":"string"}],"description":"Deduped predicate names from a refused decision’s `refusal.missing_facts` — the KB coverage gaps that blocked it. Empty for approvals/denials and safety-gated refusals (which carry none)."}],"outcome":[{"type":"string","description":"The real-world outcome, recorded AFTER the fact via `POST /v1/decisions/\u0026#123;id\u0026#125;/outcome` : `honored` (the decision held up), `reversed` (e.g. an approved refund was charged back), `overridden` (a human changed it), or `escalated` . `None` until reported. This is the ground truth that turns confidence from a heuristic into a calibrated, measurable number."}],"query":[{"type":"string","description":"The decision query, truncated to 200 chars for memory hygiene.","required":true}],"request":[{"type":"object","properties":{"action":[{"type":"string"}],"authorization_goal":[{"type":"object","properties":{}}],"confidence_threshold":[{"type":"object","properties":{}}],"facts":[{"type":"array","items":[{"type":"object","properties":{}}]}],"hydrate_org_context":[{"type":"boolean"}],"max_depth":[{"type":"integer"}],"mode":[{"type":"string"}],"query":[{"type":"string","required":true}],"rules":[{"type":"array","items":[{"type":"object","properties":{}}]}]}}],"request_policy_hash":[{"type":"string","description":"`sha256:\u0026lt;hex>` over the request-scoped policy the decision was evaluated against (see `DecisionProof::request_policy_hash` ) — lets an audit confirm a replay uses the same policy inputs."}],"timestamp":[{"type":"object","properties":{},"required":true}]}}],"required":true}]}}],"examples":{"example":{"value":{"has_more":true,"limit":123,"offset":123,"records":[{"batch":true,"billable":true,"cited_rules":["\u003cstring>"],"confidence":{},"cost_micros":{},"decision":"\u003cstring>","decision_id":"\u003cstring>","dropped_citations":["\u003cstring>"],"external_ref":"\u003cstring>","latency_ms":{},"missing_predicates":["\u003cstring>"],"outcome":"\u003cstring>","query":"\u003cstring>","request":{"action":"\u003cstring>","authorization_goal":{},"confidence_threshold":{},"facts":[{}],"hydrate_org_context":true,"max_depth":123,"mode":"\u003cstring>","query":"\u003cstring>","rules":[{}]},"request_policy_hash":"\u003cstring>","timestamp":{}}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"stateset","siteName":"StateSet","title":"StateSet API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T19:12:28.751Z","gitLastModified":"2026-08-31T16:09:47.000Z","originalFileLocation":"api-reference/nsr/verified-decisions/v1-decisions-recent-list.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=\"analytics — billing truth lives in the metering pipeline. Required scope: read\">\u003cmeta data-mint-head name=\"application-name\" content=\"StateSet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_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/stateset/e2dvUYlL-CpWYzc1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"StateSet API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Documentation for the StateSet iCommerce Engine — the execution layer for AI commerce. APIs, SDKs, MCP servers and skills for every service.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StateSet API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stateset.mintlify.site/_mintlify/api/og/v2?division=Verified+decisions\u0026amp;title=Most+recent+decisions+for+the+org%2C+newest+first.+Ephemeral+in-memory\u0026amp;description=analytics+%E2%80%94+billing+truth+lives+in+the+metering+pipeline.+**Required+scope%3A**+read\u0026amp;theme=8b886a933b8fdd889c9fff09\u0026amp;signature=5326abd7d76d50ac54da9cba5f3f9fc19aed3671ae6c37004be3a926ef4fa139\">\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=\"StateSet API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Documentation for the StateSet iCommerce Engine — the execution layer for AI commerce. APIs, SDKs, MCP servers and skills for every service.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stateset.mintlify.site/_mintlify/api/og/v2?division=Verified+decisions\u0026amp;title=Most+recent+decisions+for+the+org%2C+newest+first.+Ephemeral+in-memory\u0026amp;description=analytics+%E2%80%94+billing+truth+lives+in+the+metering+pipeline.+**Required+scope%3A**+read\u0026amp;theme=8b886a933b8fdd889c9fff09\u0026amp;signature=5326abd7d76d50ac54da9cba5f3f9fc19aed3671ae6c37004be3a926ef4fa139\">\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/stateset/e2dvUYlL-CpWYzc1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StateSet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1854D8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/nsr/verified-decisions/v1-decisions-recent-list.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stateset.com/#organization\",\"name\":\"StateSet\",\"url\":\"https://docs.stateset.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stateset/4wTHkssFeA2M0XSV/logo/stateset28.svg?fit=max\u0026auto=format\u0026n=4wTHkssFeA2M0XSV\u0026q=85\u0026s=24804c100796a1bf65ec331da17e6d35\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stateset.com#website\",\"name\":\"StateSet\",\"url\":\"https://docs.stateset.com\",\"publisher\":{\"@id\":\"https://docs.stateset.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list#webpage\",\"url\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list\",\"name\":\"Most recent decisions for the org, newest first. Ephemeral in-memory\",\"description\":\"analytics — billing truth lives in the metering pipeline. Required scope: read\",\"dateModified\":\"2026-08-31T16:09:47.000Z\",\"isPartOf\":{\"@id\":\"https://docs.stateset.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Verified decisions\",\"item\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-batch-create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Most recent decisions for the org, newest first. Ephemeral in-memory\",\"item\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list#apireference\",\"headline\":\"Most recent decisions for the org, newest first. Ephemeral in-memory\",\"name\":\"Most recent decisions for the org, newest first. Ephemeral in-memory\",\"description\":\"analytics — billing truth lives in the metering pipeline. Required scope: read\",\"url\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stateset.com/api-reference/nsr/verified-decisions/v1-decisions-recent-list#webpage\"},\"dateModified\":\"2026-08-31T16:09:47.000Z\",\"publisher\":{\"@id\":\"https://docs.stateset.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stateset.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StateSet\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StateSet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/nsr/verified-decisions/v1-decisions-recent-list.md","siteName":"StateSet","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/stateset"}]},"dropdowns":[{"dropdown":"Platform docs","icon":"book","description":"Products, guides and concepts","tabs":[{"tab":"Learn \u0026 build","icon":"book","groups":[{"group":"Get started","icon":"rocket","pages":[{"sidebarTitle":"Overview","title":"Build your first working operation","href":"/introduction"},{"sidebarTitle":"Signup to first value","title":"From Signup to First Value","icon":"rocket","href":"/guides/platform-onboarding"},{"sidebarTitle":"First local operation","title":"Your First Operation","icon":"play","href":"/guides/first-operation"},{"sidebarTitle":"Agent quickstart","title":"Getting Started for AI Agents","icon":"robot","href":"/getting-started-for-ai-agents"},{"title":"Why StateSet","icon":"scale-balanced","href":"/why-stateset"}]},{"group":"Build your first integration","icon":"blocks","pages":[{"sidebarTitle":"First support agent","title":"Your First Support Agent","icon":"bot","href":"/guides/first-support-agent"},{"sidebarTitle":"Workflow trial","title":"Your First Workflow Trial","icon":"workflow","href":"/guides/first-workflow-trial"},{"sidebarTitle":"Connect through MCP","title":"Manage Agents \u0026 Workflows with MCP","icon":"plug","href":"/guides/manage-platform-with-mcp"},{"title":"ResponseCX Quickstart","href":"/quickstart"},{"sidebarTitle":"Connect your systems","title":"Connect Your Operation","icon":"plug","href":"/guides/connect-your-operation"},{"sidebarTitle":"Rust engines \u0026 MCP","title":"Build Operations with Rust Engines \u0026 MCP","icon":"cpu","href":"/guides/rust-engines-and-mcp"},{"title":"Developer Guide","href":"/development"}]},{"group":"Operate and improve","icon":"activity","pages":[{"sidebarTitle":"Agent evaluations","title":"Your First Agent Evaluation","icon":"check-check","href":"/guides/first-agent-evaluation"},{"sidebarTitle":"Configuration changes","title":"Your First Workflow Configuration Change","icon":"git-pull-request","href":"/guides/first-workflow-config-change"},{"sidebarTitle":"Durable agents","title":"Operate Your First Durable Agent","icon":"bot","href":"/guides/first-durable-agent"},{"sidebarTitle":"Your first week","title":"Your First Week with StateSet","icon":"chart-line","href":"/guides/first-week-with-stateset"},{"title":"Launch a brand that runs itself","href":"/guides/launch-a-brand-autonomously"}]},{"group":"Resources and support","icon":"life-buoy","pages":[{"title":"Brand Onboarding","icon":"rocket","href":"/stateset-onboarding"},{"title":"ResponseCX","href":"/guides/response-quickstart"},{"sidebarTitle":"Troubleshooting","title":"Troubleshoot Your First Operation","icon":"life-ring","href":"/guides/onboarding-troubleshooting"},{"title":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"title":"Getting Help","icon":"life-ring","href":"/support"}]},{"group":"Platform","icon":"grid-2","pages":[{"title":"MCP Servers","icon":"plug","href":"/mcp-servers"},{"title":"StateSet Overview","icon":"eye","iconType":"solid","href":"/stateset-overview"},{"title":"StateSet Agent Operations Architecture","href":"/stateset-agentic-os"},{"title":"Global Commerce Architecture","href":"/global-commerce-architecture"},{"title":"Autonomous Agent Architecture","href":"/autonomous-agent-architecture"},{"title":"StateSet Billing","href":"/stateset-billing"},{"title":"Security \u0026 Compliance","icon":"shield","iconType":"solid","href":"/security"},{"title":"Service-as-a-Software (SaaS 3.0)","icon":"brain","iconType":"solid","href":"/service-as-a-software"}]},{"group":"Using the APIs","icon":"briefcase","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Host status","href":"/api-reference/hosts"},{"title":"Errors across the engines","href":"/api-reference/errors-across-engines"},{"title":"Authentication","icon":"shield-halved","iconType":"solid","href":"/api-reference/authentication"},{"title":"API Design Guidelines","icon":"book","href":"/api-reference/api-design-guidelines"},{"title":"Overview","icon":"desktop","iconType":"solid","href":"/api-reference/overview"},{"title":"Getting Started","icon":"browser","iconType":"solid","href":"/api-reference/getting-started"},{"group":"Architecture","pages":[{"title":"Web Framework","icon":"browser","iconType":"solid","href":"/api-reference/framework"},{"title":"StateSet API","href":"/api-reference/backend-framework"},{"title":"gRPC","icon":"route","iconType":"solid","href":"/api-reference/grpc-framework"},{"title":"Workflow Framework with Temporal","icon":"arrow-progress","iconType":"solid","href":"/api-reference/temporal"},{"title":"Event-Driven APIs with StateSet One","icon":"webhook","iconType":"solid","href":"/api-reference/events"}]},{"title":"Features","href":"/api-reference/features"},{"title":"Reporting and Reconciliation","icon":"file-chart-column","href":"/api-reference/reporting"},{"title":"Integrations","icon":"plug","iconType":"solid","href":"/api-reference/integrations"},{"title":"API Changelog","icon":"clock-rotate-left","iconType":"solid","href":"/api-reference/changelog"}]},{"group":"StateSet Response","icon":"comments","pages":[{"title":"ResponseCX Platform","href":"/stateset-response/responsecx-platform"},{"title":"Chat Desk","sidebarTitle":"Chat Desk","icon":"inbox","href":"/stateset-response/chat-desk"},{"title":"Your First Shift in Chat Desk","sidebarTitle":"First desk shift","icon":"inbox","href":"/guides/chat-desk-first-shift"},{"title":"Connect the Chat Widget to Your Desk","sidebarTitle":"Widget to desk","icon":"messages-square","href":"/stateset-response/chat-desk-widget"},{"title":"Chat Desk Across Channels","sidebarTitle":"Desk channel coverage","icon":"network","href":"/stateset-response/chat-desk-channels"},{"title":"Autonomy dial","href":"/stateset-response/responsecx-autonomy"},{"title":"Workflow Studio","href":"/stateset-response/responsecx-workflow-studio"},{"title":"Website Onboarding","href":"/stateset-response/responsecx-website-onboarding"},{"title":"ResponseCX API","href":"/response-api-reference/overview"},{"title":"Agents","href":"/response-api-reference/agents"},{"title":"Authentication","icon":"key","iconType":"solid","href":"/response-api-reference/authentication"},{"title":"Models","href":"/response-api-reference/models"},{"title":"Agent Framework and SDK","href":"/response-api-reference/framework"},{"title":"Computer Use","href":"/response-api-reference/computer-use"},{"title":"ReasonCX","href":"/response-api-reference/reason"},{"title":"Realtime Voice","href":"/response-api-reference/voice"},{"title":"Response Public API (v1)","href":"/stateset-response/response-public-api"},{"title":"Response MCP Servers","href":"/stateset-response/response-mcp"},{"title":"Response ChatGPT App Guide","href":"/stateset-response/stateset-response-chatgpt-guide"},{"title":"Onsite Chat Quickstart","href":"/stateset-response/response-chat-widget-quickstart"},{"title":"Response Chat Widget","href":"/stateset-response/response-chat-widget"},{"title":"Widget Authentication and Conversation Recovery","sidebarTitle":"Auth and recovery","href":"/stateset-response/response-chat-widget-reliability"},{"title":"Native Widget Live Chat","sidebarTitle":"Native live chat","href":"/stateset-response/response-chat-widget-live-chat"},{"title":"Widget Sites, Configuration and MCP","sidebarTitle":"Sites and admin","href":"/stateset-response/response-chat-widget-admin"},{"title":"Deploy and Qualify the Onsite Widget","sidebarTitle":"Deployment","href":"/stateset-response/response-chat-widget-deployment"}]},{"group":"StateSet ResponseCX","icon":"headset","pages":[{"title":"Set up ResponseCX","href":"/stateset-response/stateset-responsecx"},{"title":"ResponseCX Platform","href":"/stateset-response/responsecx-platform"},{"title":"Autonomy dial","href":"/stateset-response/responsecx-autonomy"},{"title":"ResponseCX Workflows","href":"/stateset-response/stateset-responsecx-workflows"},{"title":"StateSet ResponseCX CLI","href":"/stateset-responsecx-cli"}]},{"group":"Temporal Engine","icon":"diagram-project","pages":[{"title":"Temporal Engine","href":"/next-temporal/overview"},{"title":"Start Automating Responses","href":"/next-temporal/getting-started"},{"title":"ResponseAutomationV2","href":"/next-temporal/workflow"},{"title":"Active-horizon agents","href":"/next-temporal/active-horizon-agents"},{"title":"Connectors \u0026 Capabilities","href":"/next-temporal/connectors"},{"title":"Policy Engine \u0026 Decision Gate","href":"/next-temporal/policy-engine"},{"title":"Control Plane","href":"/next-temporal/control-plane"},{"title":"Configuration","href":"/next-temporal/configuration"},{"title":"Workstream MCP","href":"/next-temporal/mcp-connector"},{"title":"Operations","href":"/next-temporal/operations"},{"title":"Kubernetes Deployment","href":"/next-temporal/kubernetes-deployment"},{"title":"Runbooks","href":"/next-temporal/runbooks"}]},{"group":"StateSet iCommerce Engine","icon":"shopping-bag","pages":[{"group":"Overview","pages":[{"title":"iCommerce Quickstart","href":"/stateset-icommerce/stateset-icommerce-quickstart"},{"title":"The Embedded iCommerce Engine","href":"/stateset-icommerce/stateset-icommerce-embedded"},{"title":"Governed Execution and Replay","href":"/stateset-icommerce/governed-execution"},{"title":"Physical Stock Fulfillment","href":"/stateset-icommerce/stock-fulfillment"},{"title":"Native Commerce and Inventory Simulations","href":"/stateset-icommerce/simulations"},{"title":"Build an iCommerce Storefront","href":"/stateset-icommerce/storefront"},{"title":"HTTP Retry Receipts and Reconciliation","href":"/stateset-icommerce/http-receipt-recovery"},{"title":"iCommerce Scenarios and Examples","href":"/stateset-icommerce/stateset-icommerce-scenarios"},{"title":"iCommerce Language Bindings","href":"/stateset-icommerce/stateset-icommerce-bindings"},{"title":"iCommerce Paper","href":"/icommerce-paper"},{"title":"iCommerce Intro","href":"/icommerce"},{"title":"StateSet iCommerce Engine Architecture","href":"/icommerce-architecture"},{"title":"iCommerce Quickstart for AI Agents","href":"/stateset-icommerce-quickstart"},{"title":"StateSet iCommerce Engine Skills","href":"/stateset-icommerce/stateset-icommerce-skills"},{"title":"iCommerce MCP Server","href":"/stateset-icommerce/stateset-icommerce-mcp"}]},{"group":"Agent Sandbox","pages":[{"title":"iCommerce Agent Execution","href":"/stateset-icommerce/stateset-icommerce-agent"},{"title":"Run iCommerce Inside Sandbox","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox"},{"title":"Agent Sandbox Costs","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox-costs"},{"title":"iCommerce Sandbox Runbook","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox-runbook"},{"title":"iCommerce Sandbox Troubleshooting","href":"/stateset-icommerce/stateset-icommerce-agent-sandbox-troubleshooting"}]},{"group":"Lifecycle \u0026 Workflows","pages":[{"title":"Order Lifecycle","href":"/stateset-icommerce/stateset-icommerce-order-lifecycle"},{"title":"Returns Workflow","href":"/stateset-icommerce/stateset-icommerce-returns-workflow"},{"title":"Inventory Lifecycle","href":"/stateset-icommerce/stateset-icommerce-inventory-lifecycle"}]},{"group":"Platform \u0026 Operations","pages":[{"title":"Finance \u0026 Accounting","href":"/stateset-icommerce/stateset-icommerce-finance"},{"title":"Admin Console","href":"/stateset-icommerce/stateset-icommerce-admin"},{"title":"Commerce HTTP Access and Retry Controls","href":"/stateset-icommerce/stateset-icommerce-api-hardening"},{"title":"Backup, Restore, and Durability","href":"/stateset-icommerce/stateset-icommerce-backup-restore"}]},{"group":"CLI","pages":[{"title":"iCommerce CLI Reference","href":"/stateset-icommerce/stateset-icommerce-cli-reference"},{"title":"Operational CLI Workflows","href":"/stateset-icommerce/stateset-icommerce-cli-workflows"},{"title":"CLI and Agent Write Controls","href":"/stateset-icommerce/stateset-icommerce-cli-safety"}]},{"group":"Messaging \u0026 Payments","pages":[{"title":"Messaging Orchestrator","href":"/stateset-icommerce/stateset-icommerce-messaging-orchestrator"},{"title":"Run the WhatsApp gateway","href":"/stateset-icommerce/stateset-icommerce-whatsapp-integration"},{"title":"x402 Intents and Settlement Boundaries","href":"/stateset-icommerce/stateset-icommerce-x402-payments"},{"title":"Connect messaging channels","href":"/stateset-icommerce/stateset-icommerce-messaging-channels"}]},{"group":"Deployment","pages":[{"title":"Deploy StateSet iCommerce Engine on GCP","href":"/stateset-icommerce/stateset-icommerce-gcp"},{"title":"Deploy StateSet iCommerce Engine on Hetzner","href":"/stateset-icommerce/stateset-icommerce-hetzner"},{"title":"Deploy StateSet iCommerce Engine on Fly.io","href":"/stateset-icommerce/stateset-icommerce-flyio"}]}]},{"group":"StateSet Warehouse (WMS)","icon":"warehouse","pages":[{"title":"StateSet Warehouse (WMS)","sidebarTitle":"Overview","icon":"warehouse","href":"/stateset-warehouse/overview"},{"title":"Run StateSet Warehouse locally","sidebarTitle":"Quickstart","href":"/stateset-warehouse/quickstart"},{"title":"Warehouse REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-warehouse/api-and-mcp"},{"title":"Connect Sync OMS, Warehouse WMS, and Freight TMS","sidebarTitle":"OMS, WMS, and TMS","href":"/guides/oms-wms-tms"}]},{"group":"StateSet Freight (TMS)","icon":"truck","pages":[{"title":"StateSet Freight (TMS)","sidebarTitle":"Overview","icon":"truck","href":"/stateset-freight/overview"},{"title":"Run StateSet Freight locally","sidebarTitle":"Quickstart","href":"/stateset-freight/quickstart"},{"title":"Freight REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-freight/api-and-mcp"}]},{"group":"StateSet EDI","icon":"file-import","pages":[{"title":"StateSet EDI","href":"/stateset-edi/overview"},{"title":"Workspace Onboarding and Readiness","href":"/stateset-edi/onboarding"},{"title":"EDI Quickstart","href":"/stateset-edi/quickstart"},{"title":"Orders, Reviewed Sends, and Recovery","href":"/stateset-edi/orders-and-recovery"},{"title":"EDI Transaction Sets","href":"/stateset-edi/transaction-sets"},{"title":"EDI Transports","href":"/stateset-edi/transports"},{"title":"Guides, Mappings, and Callbacks","href":"/stateset-edi/mappings-and-callbacks"},{"title":"EDI Operations","href":"/stateset-edi/operations"},{"title":"EDI CLI and JavaScript SDK","href":"/stateset-edi/cli-and-sdk"},{"title":"EDI MCP Server","href":"/stateset-edi/mcp-server"},{"title":"EDI Configuration","href":"/stateset-edi/configuration"},{"title":"EDI Deployment and Qualification","href":"/stateset-edi/deployment-and-qualification"}]},{"group":"StateSet Mail","icon":"envelope","pages":[{"title":"StateSet Mail","href":"/stateset-mail/overview"},{"title":"Mail Quickstart","href":"/stateset-mail/quickstart"},{"title":"Conversations","href":"/stateset-mail/conversations"},{"title":"Mail MCP Server","href":"/stateset-mail/mcp-server"},{"title":"Mail Configuration","href":"/stateset-mail/configuration"}]},{"group":"StateSet iCommerce Voice Engine","icon":"phone","pages":[{"title":"StateSet iCommerce Voice Engine","href":"/stateset-voice/overview"},{"title":"Build Your First Voice Agent","href":"/stateset-voice/quickstart"},{"title":"Voice API","href":"/stateset-voice/api"},{"title":"Voice SDKs","href":"/stateset-voice/sdks"},{"title":"Voice Webhooks","href":"/stateset-voice/webhooks"},{"title":"Voice Configuration","href":"/stateset-voice/configuration"},{"title":"Voice MCP Server","href":"/stateset-voice/mcp-server"},{"title":"Voice Operations","href":"/stateset-voice/operations"}]},{"group":"StateSet iCommerce NSR Engine","icon":"brain","pages":[{"title":"Neuro-Symbolic Architecture","href":"/stateset-nsr"},{"title":"NSR-L Language Reference","href":"/stateset-nsr-l"},{"title":"Verified Decisions API","href":"/stateset-nsr-decisions"},{"title":"Jev + NSR","sidebarTitle":"Jev + NSR","icon":"scan-text","href":"/stateset-nsr-jev"},{"title":"Your First Jev + NSR Decision","sidebarTitle":"First Jev decision","icon":"play","href":"/guides/jev-first-decision"},{"title":"Jev + NSR Industry Pack Examples","sidebarTitle":"Industry examples","icon":"building","href":"/guides/jev-industry-packs"},{"title":"Use Industry Packs with the Decisions API","sidebarTitle":"Decisions API walkthrough","icon":"code","href":"/guides/jev-decisions-api"},{"title":"Connect Jev to Your NSR Workspace","sidebarTitle":"Jev workspace setup","icon":"key-round","href":"/guides/jev-workspace-setup"},{"title":"Agent Gate","href":"/stateset-nsr-agent-gate"},{"title":"Formal Verification","href":"/stateset-nsr-formal-verification"},{"title":"NSR as a Model Provider","href":"/stateset-nsr-providers"},{"title":"NSR Console \u0026 Billing","href":"/stateset-nsr-console"},{"title":"NSR SDKs","href":"/stateset-nsr-sdks"},{"title":"NSR MCP Server","href":"/stateset-nsr-mcp"}]},{"group":"AI Agents","icon":"robot","pages":[{"title":"StateSet Computer Use Agent","href":"/computer-use-agent"},{"title":"Engines and Commerce MCP Servers","href":"/computer-use-engines-mcp"},{"title":"Computer Use MCP Servers","href":"/computer-use-mcp"},{"title":"StateSet RL agents","href":"/stateset-rl-agents"}]},{"group":"StateSet Agents","pages":[{"title":"StateSet Agents","href":"/stateset-agents/overview"},{"title":"Prepare your first fine-tuning run","sidebarTitle":"Quickstart","href":"/stateset-agents/quickstart"},{"title":"Fine-tuning studio","href":"/stateset-agents/finetuning-studio"},{"title":"Fine-tuning from AI agents","href":"/stateset-agents/finetuning-agents"},{"title":"Checkpoint recovery and evaluation","href":"/stateset-agents/checkpoints-and-evaluation"},{"title":"River SFT, native RL, and retained evidence","sidebarTitle":"River training","href":"/stateset-agents/river-training"},{"title":"Industry data and fine-tuning","href":"/stateset-agents/industry-finetuning"},{"title":"StateSet Agents CLI","sidebarTitle":"CLI reference","href":"/stateset-agents/cli"},{"title":"Agents MCP server","href":"/stateset-agents/mcp-server"}]},{"group":"StateSet Sandbox","icon":"flask","pages":[{"title":"StateSet Sandbox","href":"/stateset-sandbox/stateset-sandboxes"},{"title":"Sandbox Quickstart","href":"/stateset-sandbox/stateset-sandbox-quickstart-guide"},{"title":"Get started with StateSet Swarm","href":"/stateset-sandbox/swarm-getting-started"},{"title":"Execution, workers, and recovery","href":"/stateset-sandbox/execution-and-recovery"},{"title":"Sandbox terminal workbench","href":"/stateset-sandbox/workbench"},{"title":"Prepared agent tasks and teams","href":"/stateset-sandbox/agent-tasks"},{"title":"Artifacts and recoverable tunnels","href":"/stateset-sandbox/artifacts-and-tunnels"},{"group":"Architecture \u0026 Operations","pages":[{"title":"Sandbox architecture","href":"/stateset-sandbox/stateset-sandbox-architecture"},{"title":"Sandbox operations and release evidence","href":"/stateset-sandbox/stateset-sandbox-operations"},{"title":"Sandbox webhooks and event delivery","href":"/stateset-sandbox/stateset-sandbox-webhooks"},{"title":"Sandbox security boundaries","href":"/stateset-sandbox/stateset-sandbox-security-guide"},{"title":"Sandbox API workflow","href":"/stateset-sandbox/stateset-sandbox-api-flow"},{"title":"Durable sandboxes and agent sessions","href":"/stateset-sandbox/stateset-sandbox-agent-sessions"},{"title":"Self-host Sandbox","href":"/stateset-sandbox/stateset-sandbox-deployments"},{"title":"Sandbox API directory","href":"/stateset-sandbox/stateset-sandbox-api-reference"},{"title":"Sandbox production configuration","href":"/stateset-sandbox/stateset-sandbox-production-guide"},{"title":"Sandbox Quickstart","href":"/stateset-sandbox/stateset-sandbox-quickstart-guide"},{"title":"Sandbox runtime selection","href":"/stateset-sandbox/stateset-sandbox-runtime-selection"},{"title":"Sandbox on AWS EKS","href":"/stateset-sandbox/stateset-sandbox-deployment-aws"},{"title":"Sandbox on GCP GKE","href":"/stateset-sandbox/stateset-sandbox-deployment-gcp"},{"title":"Sandbox on Azure AKS","href":"/stateset-sandbox/stateset-sandbox-deployment-azure"},{"title":"Sandbox MCP server","href":"/stateset-sandbox/stateset-sandbox-mcp"}]},{"group":"SDKs","pages":[{"title":"Sandbox TypeScript SDK","sidebarTitle":"Node.js SDK","href":"/stateset-sandbox/stateset-sandbox-sdk-node"},{"title":"Sandbox Python SDK","href":"/stateset-sandbox/stateset-sandbox-sdk-python"}]},{"title":"Build with StateSet Sandbox","href":"/guides/stateset-sandbox"}]},{"group":"StateSet ACP","icon":"bolt","pages":[{"title":"Agentic Commerce Protocol","href":"/stateset-acp/stateset-acp"},{"title":"ACP Overview","href":"/stateset-acp/stateset-acp-overview"},{"title":"ACP Quickstart","href":"/stateset-acp/stateset-acp-quickstart"},{"group":"Reference","pages":[{"title":"ACP Async Processing","href":"/stateset-acp/stateset-acp-async-processing"},{"title":"ACP API Endpoints","href":"/stateset-acp/stateset-acp-endpoints"},{"title":"ACP Routing Options","href":"/stateset-acp/stateset-acp-routing"},{"title":"ACP Request Schemas","href":"/stateset-acp/stateset-acp-schemas"}]},{"title":"Agentic Commerce Protocol Handler","href":"/guides/agentic-commerce-protocol-handler"},{"title":"Agentic Commerce Protocol Checkout Guide","href":"/agentic-commerce/agentic-commerce-checkout-guide"}]},{"group":"StateSet UCP","icon":"arrows-split-up-and-left","pages":[{"title":"Universal Commerce Protocol","href":"/stateset-ucp"},{"title":"UCP Quickstart","href":"/stateset-ucp-quickstart"},{"title":"Universal Commerce Protocol Handler","href":"/guides/universal-commerce-protocol-handler"}]},{"group":"StateSet ICP","icon":"network-wired","pages":[{"title":"Intelligent Commerce Protocol (ICP)","href":"/stateset-icp"}]},{"group":"StateSet Sequencer","icon":"layer-group","pages":[{"title":"StateSet VES System Overview","href":"/stateset-sequencer/stateset-sequencer"},{"title":"Sequencer Architecture: Deep Dive","href":"/stateset-sequencer-architecture"},{"title":"Sequencer Quickstart","href":"/stateset-sequencer/stateset-sequencer-quickstart"},{"title":"Sequencer Operations","href":"/stateset-sequencer/stateset-sequencer-operations"},{"title":"x402 payments reference","href":"/stateset-sequencer/stateset-sequencer-x402"}]},{"group":"StateSet Set L2","icon":"cube","pages":[{"title":"Set L2","href":"/set/set"},{"title":"StateSet Set L2","href":"/set/stateset-set-l2"},{"title":"Set L2 Architecture","href":"/set/stateset-set-l2-architecture"},{"title":"Set L2 Verification","href":"/set/stateset-set-l2-verification"},{"title":"Set L2 Verification Example","href":"/set/stateset-set-l2-verification-example"},{"title":"Set L2 Compliance Proofs","href":"/set/stateset-set-l2-compliance-proof"},{"title":"STARK Compliance Proofs","href":"/set/stateset-stark"}]},{"group":"StateSet Cloud","icon":"cloud","pages":[{"title":"StateSet Cloud Overview","href":"/cloud-api-reference/overview"},{"title":"Authentication","href":"/cloud-api-reference/authentication"},{"title":"API Keys","href":"/cloud-api-reference/api-keys"},{"group":"Cloud API","pages":[{"group":"Projects","pages":[{"title":"Create Projects","api":"POST https://api.stateset.com/v1/projects","href":"/cloud-api-reference/projects/create"},{"title":"Delete Project","api":"DELETE https://api.stateset.com/v1/projects/{id}","href":"/cloud-api-reference/projects/delete"},{"title":"Get Projects","api":"GET https://api.stateset.com/v1/projects","href":"/cloud-api-reference/projects/get"}]},{"group":"Deployments","pages":[{"title":"Create Deployment","api":"POST https://api.stateset.com/v1/deployments","href":"/cloud-api-reference/deployments/create"},{"title":"Delete Deployment","api":"DELETE https://api.stateset.com/v1/deployments/{id}","href":"/cloud-api-reference/deployments/delete"},{"title":"Get Deployments","api":"GET https://api.stateset.com/v1/deployments","href":"/cloud-api-reference/deployments/get"}]},{"group":"Secrets","pages":[{"title":"Create Secrets","api":"POST https://api.stateset.com/v1/secrets","href":"/cloud-api-reference/secrets/create"},{"title":"Delete Secret","api":"DELETE https://api.stateset.com/v1/secrets/{id}","href":"/cloud-api-reference/secrets/delete"},{"title":"Get Secrets","api":"GET https://api.stateset.com/v1/secrets","href":"/cloud-api-reference/secrets/get"},{"title":"Update Secrets","api":"PUT https://api.stateset.com/v1/secrets/{id}","href":"/cloud-api-reference/secrets/update"}]},{"group":"Logs","pages":[{"title":"Create Logs","api":"POST https://api.stateset.com/v1/logs","href":"/cloud-api-reference/logs/create"},{"title":"Get Logs","api":"GET https://api.stateset.com/v1/logs","href":"/cloud-api-reference/logs/get"}]},{"group":"Templates","pages":[{"title":"Create Template","api":"POST https://api.stateset.com/v1/templates","href":"/cloud-api-reference/templates/create"},{"title":"Delete Template","api":"DELETE https://api.stateset.com/v1/templates/{id}","href":"/cloud-api-reference/templates/delete"},{"title":"Get Templates","api":"GET https://api.stateset.com/v1/templates","href":"/cloud-api-reference/templates/get"},{"title":"Update Template","api":"PUT https://api.stateset.com/v1/templates/{id}","href":"/cloud-api-reference/templates/update"}]}]}]},{"group":"Apps \u0026 Consoles","pages":[{"title":"StateSet Console","href":"/stateset-console/stateset-console-overview"},{"title":"Get Started with Console on the Web","sidebarTitle":"Web Console quickstart","icon":"globe","href":"/guides/console-web-getting-started"},{"title":"Get Started with Console on Mobile","sidebarTitle":"Mobile Console quickstart","icon":"mobile-screen","href":"/guides/console-mobile-getting-started"},{"title":"Get Started with StateSet Desktop","sidebarTitle":"Desktop quickstart","icon":"monitor","href":"/guides/desktop-getting-started"},{"title":"StateSet Demo App","href":"/stateset-demo-app-overview"},{"title":"StateSet Worker","href":"/stateset-worker"},{"title":"Console Mobile","href":"/stateset-console/stateset-console-mobile"},{"title":"StateSet Desktop","href":"/stateset-desktop"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"StateSet iCommerce CLI","href":"/stateset-cli-overview"},{"title":"Console Agent Pipeline","href":"/stateset-console/stateset-console-agent-pipeline"},{"title":"Console Auth Flow","href":"/stateset-console/stateset-console-auth-flow"},{"title":"Deploy the ACP Handler","href":"/stateset-deploy-acp-handler"},{"title":"Sync Server: What's New","href":"/stateset-sync-server-whats-new"},{"title":"Sync Server MCP","href":"/stateset-sync-mcp"},{"title":"Sync Server API Basics","href":"/stateset-sync-server-api-basics"},{"title":"StateSet Deploy","href":"/stateset-deploy-overview"},{"title":"Deploy the Response ChatGPT App","href":"/stateset-deploy-chatgpt-app"},{"title":"Sync Server gRPC Dispatch Flow","href":"/stateset-sync-server-grpc-flow"},{"title":"Sync Server connectors","href":"/stateset-sync-server-connectors"},{"title":"Sync Server troubleshooting","href":"/stateset-sync-server-troubleshooting"},{"title":"iCommerce Agent Operating Guide","href":"/stateset-icommerce-skill"},{"title":"Sandbox agent operating guide","href":"/stateset-sandbox-skill"},{"title":"Sync Server API Contract","href":"/stateset-sync-server-api-contract"},{"title":"Sync Server ACP Guide","href":"/stateset-sync-server-acp-guide"},{"title":"Sync Server gRPC Dispatch","href":"/stateset-sync-server-grpc-dispatch"}]}]},{"tab":"Guides","icon":"graduation-cap","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"SDK Installation and Setup","icon":"code","href":"/guides/sdk-installation"}]},{"group":"Quickstarts","icon":"play","pages":[{"title":"ResponseCX","href":"/guides/response-quickstart"},{"title":"Warranty Claims Quickstart","icon":"right-left","iconType":"solid","href":"/guides/warranties-quickstart"},{"title":"Customers Quickstart","icon":"user","href":"/guides/customers-quickstart"},{"title":"Agentic Commerce Protocol Checkout Guide","href":"/agentic-commerce/agentic-commerce-checkout-guide"},{"title":"StateSet Cloud Quickstart","icon":"cloud","iconType":"solid","href":"/guides/stateset-cloud-quickstart"},{"title":"Onsite Chat Quickstart","href":"/stateset-response/response-chat-widget-quickstart"}]},{"group":"End-to-end","icon":"route","pages":[{"title":"Launch a brand that runs itself","href":"/guides/launch-a-brand-autonomously"},{"title":"EDI Order to Cash Across StateSet","href":"/guides/journey-edi-order-to-cash"},{"title":"From 'where is my order?' to a closed operation","href":"/guides/journey-wismo-to-resolution"},{"title":"Sync a Shopify store with NetSuite","href":"/guides/sync-shopify-to-netsuite"},{"title":"Your First EDI Purchase-Order Cycle","href":"/guides/edi-first-850"},{"title":"Gate a refund with a verified decision","href":"/guides/nsr-first-verified-decision"},{"title":"Run a durable order workflow end to end","href":"/guides/temporal-first-durable-workflow"},{"title":"Automate a back-office tool that has no API","href":"/guides/computer-use-first-task"},{"title":"Put an agent on the phone","href":"/guides/voice-first-phone-agent"},{"title":"Your first Sandbox runtime workflow","href":"/guides/sandbox-first-runtime"}]},{"group":"Commerce Workflows","icon":"diagram-project","pages":[{"title":"Order to cash","href":"/guides/commerce/order-to-cash"},{"title":"AR and collections","href":"/guides/commerce/ar-collections"},{"title":"Period close","href":"/guides/commerce/period-close"},{"title":"Procure to pay","href":"/guides/commerce/procure-to-pay"},{"title":"Receiving and Put-away","href":"/guides/commerce/receiving-and-putaway"},{"title":"Fulfillment \u0026 Shipping","href":"/guides/commerce/fulfillment"},{"title":"Returns and return-to-vendor","href":"/guides/commerce/returns-and-rtv"},{"title":"Lot and serial traceability","href":"/guides/commerce/traceability"}]},{"group":"Order Management","icon":"shopping-cart","pages":[{"title":"Orders Quickstart","href":"/guides/orders-quickstart"},{"title":"Payments \u0026 Refunds Quickstart","href":"/guides/payments-quickstart"},{"title":"Order Settlements Quickstart","icon":"gears","iconType":"solid","href":"/guides/order-settlement"},{"title":"Wholesale Quickstart","icon":"cart-shopping","iconType":"solid","href":"/guides/wholesale-quickstart"},{"title":"Order Operations","href":"/guides/order-operations"}]},{"group":"Returns \u0026 Warranties","icon":"rotate-left","pages":[{"title":"Returns Quickstart","href":"/guides/returns-quickstart"},{"title":"Warranty Vision Workflow User Guide","icon":"brain","iconType":"solid","href":"/guides/warranty-vision-guide"}]},{"group":"Supply Chain","icon":"truck","pages":[{"title":"Manufacturing Quickstart","href":"/guides/manufacturing-quickstart"},{"title":"Warehouse Receiving Quickstart","icon":"warehouse","href":"/guides/warehouse-quickstart"},{"title":"Supplier \u0026 Purchase Order Quickstart","icon":"truck","iconType":"solid","href":"/guides/supplier-quickstart"},{"title":"Inventory Quickstart","href":"/guides/inventory-quickstart"},{"title":"COGS","href":"/guides/cogs-quickstart"}]},{"group":"Agent Development","icon":"robot","pages":[{"title":"Agents Quickstart","icon":"message-bot","iconType":"solid","href":"/guides/agents-quickstart"},{"title":"Agent Training Guide","icon":"graduation-cap","iconType":"solid","href":"/guides/agent-trainer-guide"},{"title":"Agent Objectives, Goals, Metrics \u0026 Rewards Guide","icon":"brain","iconType":"solid","href":"/guides/agent-objectives-guide"},{"title":"Multi-Agent System Architectures","icon":"brain","iconType":"solid","href":"/guides/multi-agent-systems"},{"title":"StateSet Computer Use Agents - Quick Start Guide","icon":"brain","iconType":"solid","href":"/guides/stateset-computer-use-agents"},{"title":"StateSet Computer Use Agents - Architecture Overview","icon":"brain","iconType":"solid","href":"/guides/stateset-computer-use-agents-architecture"},{"title":"Reinforcement learning and fine-tuning","href":"/guides/reinforcement-learning-platform"},{"title":"GRPO and the StateSet training framework","sidebarTitle":"GRPO framework","href":"/guides/grpo-agent-framework"},{"title":"MCP Integration for AI Agents","icon":"plug","iconType":"solid","href":"/guides/mcp-integration-guide"}]},{"group":"Knowledge \u0026 RAG","icon":"brain","pages":[{"title":"Knowledge Base Quickstart","icon":"brain","iconType":"solid","href":"/guides/knowledgebase-quickstart"},{"title":"RAG Quickstart","icon":"wand-magic-sparkles","iconType":"solid","href":"/guides/rag-quickstart"},{"title":"Sources Quickstart","icon":"database","iconType":"solid","href":"/guides/sources-quickstart"}]},{"group":"Response Features","icon":"wand-magic-sparkles","pages":[{"title":"Agent Attributes \u0026 Personality","icon":"palette","iconType":"solid","href":"/guides/attributes-quickstart"},{"title":"Agent Rules Quickstart","icon":"scale-balanced","iconType":"solid","href":"/guides/rules-quickstart"},{"title":"Examples Quickstart","icon":"lightbulb","iconType":"solid","href":"/guides/examples-quickstart"},{"title":"Evaluations Guide","sidebarTitle":"Evaluations","icon":"clipboard-check","href":"/guides/evaluations-guide"},{"title":"Agent Schedules \u0026 Automation","icon":"clock","iconType":"solid","href":"/guides/schedules-quickstart"},{"title":"Agent Functions Quickstart","icon":"plug","iconType":"solid","href":"/guides/functions-quickstart"}]},{"group":"Advanced Features","icon":"flask","pages":[{"title":"Vision Quickstart","icon":"eye","iconType":"solid","href":"/guides/vision-quickstart"},{"title":"Voice AI Guide","icon":"microphone","iconType":"solid","href":"/guides/voice-quickstart"},{"title":"Synthetic Fixtures for Agent Testing","icon":"brain","href":"/guides/synthetic-data"},{"title":"StateSet Synthetic Data Studio Architecture Guide","icon":"diagram-project","iconType":"solid","href":"/guides/synthetic-data-architecture"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Shopify Product Embeddings","icon":"shopify","iconType":"solid","href":"/guides/shopify-quickstart"},{"title":"Gorgias Ticket Quickstart","icon":"ticket","iconType":"solid","href":"/guides/gorgias-quickstart"},{"title":"Multi-Channel Commerce Integration Guide","icon":"store","iconType":"solid","href":"/guides/multi-channel-integration-guide"}]},{"group":"Commerce Network","icon":"link","pages":[{"title":"StateSet Network Quickstart","icon":"globe","iconType":"solid","href":"/guides/stateset-network"},{"title":"Commerce Network Orders: Migration Guide","href":"/guides/stateset-network-orders"},{"title":"StateSet Contracts","icon":"file-contract","iconType":"solid","href":"/guides/stateset-contracts"},{"title":"Agent Payments: Build and Verify","href":"/guides/smart-agents-usdc-guide"},{"title":"Complete an x402 payment","href":"/stateset-x402-walkthrough"},{"title":"CCTP Integration: Availability and Prerequisites","href":"/guides/cctp-module-integration"},{"title":"Agent Payments and Legacy Network Examples","href":"/smart-agents-usdc-guide"}]},{"group":"Self-Hosted","icon":"server","pages":[{"title":"Build with StateSet Sandbox","href":"/guides/stateset-sandbox"},{"title":"Agentic Commerce Protocol Handler","href":"/guides/agentic-commerce-protocol-handler"},{"title":"Universal Commerce Protocol Handler","href":"/guides/universal-commerce-protocol-handler"}]},{"group":"Best Practices","icon":"shield-check","pages":[{"title":"Error Handling \u0026 Retries","icon":"triangle-exclamation","href":"/guides/error-handling-best-practices"},{"title":"Handle Rate Limits Without Losing Requests","icon":"gauge-high","href":"/guides/api-rate-limiting"},{"title":"Performance Optimization Guide","icon":"rocket","iconType":"solid","href":"/guides/performance-optimization"},{"title":"Integration Test Plan","icon":"flask","href":"/guides/comprehensive-testing-guide"},{"title":"Integration Testing","icon":"flask","href":"/guides/api-testing"},{"title":"Batch Operations Guide","icon":"cogs","iconType":"solid","href":"/guides/batch-operations"},{"title":"Webhook Security Guide","icon":"shield","iconType":"solid","href":"/guides/webhook-security"}]},{"group":"E-commerce Workflows","icon":"cart-shopping","pages":[{"title":"Ecommerce Agent Workflows Guide","icon":"gears","href":"/guides/ecommerce-agent-workflows-guide"}]}]}]},{"dropdown":"API Reference","icon":"code","description":"Every endpoint, with a playground","tabs":[{"tab":"iCommerce","icon":"shopping-cart","pages":[{"title":"iCommerce","href":"/api-reference/commerce/overview"}]},{"tab":"ResponseCX","icon":"headset","pages":[{"title":"ResponseCX","href":"/api-reference/responsecx/overview"}]},{"tab":"Chat Widget","icon":"message-square","pages":[{"title":"Chat Widget","href":"/api-reference/chat-widget/overview"}]},{"tab":"Voice","icon":"phone","pages":[{"title":"Voice","href":"/api-reference/voice/overview"}]},{"tab":"Sandbox","icon":"box","pages":[{"title":"Sandbox","href":"/api-reference/sandbox/overview"}]},{"tab":"Sync Server","icon":"refresh-cw","pages":[{"title":"Sync Server","href":"/api-reference/sync/overview"}]},{"tab":"Temporal Engine","icon":"workflow","pages":[{"title":"Temporal Engine","href":"/api-reference/temporal/overview"}]},{"tab":"EDI","icon":"file-text","pages":[{"title":"EDI","href":"/api-reference/edi/overview"}]},{"tab":"NSR","icon":"brain","groups":[{"group":"Overview","pages":[{"title":"NSR API","href":"/api-reference/nsr/overview"},{"title":"NSR API history","href":"/api-reference/nsr/history"}]},{"group":"Verified decisions","pages":[{"title":"Decide over a batch of requests in one call — for enterprises scoring whole","api":"POST https://api.nsr.stateset.com/v1/decisions/batch","href":"/api-reference/nsr/verified-decisions/v1-decisions-batch-create"},{"title":"Look up one recent decision by the decision_id from the API response or","api":"GET https://api.nsr.stateset.com/v1/decisions/{id}","href":"/api-reference/nsr/verified-decisions/v1-decisions-by-get"},{"title":"Record the real-world outcome of a past decision — the write side of the","api":"POST https://api.nsr.stateset.com/v1/decisions/{id}/outcome","href":"/api-reference/nsr/verified-decisions/v1-decisions-by-outcome-create"},{"title":"The reliability curve: how well the engine's reported confidence predicts","api":"GET https://api.nsr.stateset.com/v1/decisions/calibration","href":"/api-reference/nsr/verified-decisions/v1-decisions-calibration-list"},{"title":"Produce an auditable, policy-grounded decision with a proof chain.","api":"POST https://api.nsr.stateset.com/v1/decisions","href":"/api-reference/nsr/verified-decisions/v1-decisions-create"},{"title":"Policy impact handler","api":"POST https://api.nsr.stateset.com/v1/decisions/impact","href":"/api-reference/nsr/verified-decisions/v1-decisions-impact-create"},{"title":"Record a decision's real-world outcome by the client's correlation key","api":"POST https://api.nsr.stateset.com/v1/decisions/outcome-by-ref","description":"instead of our decision_id — the path a real event takes. A chargeback, refund reversal, or human override knows the order/case id it happened to, not the…","href":"/api-reference/nsr/verified-decisions/v1-decisions-outcome-by-ref-create"},{"title":"Most recent decisions for the org, newest first. Ephemeral in-memory","api":"GET https://api.nsr.stateset.com/v1/decisions/recent","href":"/api-reference/nsr/verified-decisions/v1-decisions-recent-list"},{"title":"Refusal coverage gaps: how often each missing premise blocked a decision","api":"GET https://api.nsr.stateset.com/v1/decisions/refusal-gaps","description":"over the window, most-frequent first. A high count means many decisions refused for lack of that premise — add a rule/fact/connector for it…","href":"/api-reference/nsr/verified-decisions/v1-decisions-refusal-gaps-list"},{"title":"Integration roadmap: the org's refusal gaps as a prioritized, actionable","api":"GET https://api.nsr.stateset.com/v1/decisions/refusal-roadmap","href":"/api-reference/nsr/verified-decisions/v1-decisions-refusal-roadmap-list"},{"title":"Per-rule cited-vs-noise usage over a window — the demotion signal. A rule","api":"GET https://api.nsr.stateset.com/v1/decisions/rule-stats","href":"/api-reference/nsr/verified-decisions/v1-decisions-rule-stats-list"},{"title":"Aggregate decision stats over a window: outcome counts, billable volume,","api":"GET https://api.nsr.stateset.com/v1/decisions/stats","href":"/api-reference/nsr/verified-decisions/v1-decisions-stats-list"},{"title":"Independently verify a self-contained proof bundle against nothing but","api":"POST https://api.nsr.stateset.com/v1/proofs/verify","href":"/api-reference/nsr/verified-decisions/v1-proofs-verify-create"}]},{"group":"Knowledge base","pages":[{"title":"Get a specific evidence node and trace its full dependency chain","api":"GET https://api.nsr.stateset.com/api/v1/evidence/{id}/chain","href":"/api-reference/nsr/knowledge-base/evidence-by-chain-get"},{"title":"Delete one evidence node by ID.","api":"DELETE https://api.nsr.stateset.com/api/v1/evidence/{id}","href":"/api-reference/nsr/knowledge-base/evidence-by-delete"},{"title":"Retrieve one evidence node by ID.","api":"GET https://api.nsr.stateset.com/api/v1/evidence/{id}","href":"/api-reference/nsr/knowledge-base/evidence-by-get"},{"title":"Update one evidence node by ID.","api":"PATCH https://api.nsr.stateset.com/api/v1/evidence/{id}","href":"/api-reference/nsr/knowledge-base/evidence-by-update"},{"title":"Create an evidence node.","api":"POST https://api.nsr.stateset.com/api/v1/evidence","href":"/api-reference/nsr/knowledge-base/evidence-create"},{"title":"Query evidence by claim or entity","api":"GET https://api.nsr.stateset.com/api/v1/evidence","href":"/api-reference/nsr/knowledge-base/evidence-list"},{"title":"Get evidence graph stats","api":"GET https://api.nsr.stateset.com/api/v1/evidence/stats","href":"/api-reference/nsr/knowledge-base/evidence-stats-list"},{"title":"Handler for GET /api/v1/kb/diff","api":"GET https://api.nsr.stateset.com/api/v1/kb/diff","href":"/api-reference/nsr/knowledge-base/kb-diff-list"},{"title":"Perform graph analysis on the knowledge base","api":"POST https://api.nsr.stateset.com/api/v1/kb/graph","href":"/api-reference/nsr/knowledge-base/kb-graph-create"},{"title":"Handler for GET /api/v1/kb/history","api":"GET https://api.nsr.stateset.com/api/v1/kb/history","href":"/api-reference/nsr/knowledge-base/kb-history-list"},{"title":"Handler for GET /api/v1/kb/snapshot","api":"GET https://api.nsr.stateset.com/api/v1/kb/snapshot","href":"/api-reference/nsr/knowledge-base/kb-snapshot-list"},{"title":"Get detailed knowledge base statistics","api":"GET https://api.nsr.stateset.com/api/v1/kb/stats","href":"/api-reference/nsr/knowledge-base/kb-stats-list"},{"title":"Execute a knowledge base query","api":"POST https://api.nsr.stateset.com/api/v1/query","href":"/api-reference/nsr/knowledge-base/query-create"},{"title":"Delete a source by ID.","api":"DELETE https://api.nsr.stateset.com/api/v1/sources/{id}","href":"/api-reference/nsr/knowledge-base/sources-by-delete"},{"title":"Retrieve a single source by ID.","api":"GET https://api.nsr.stateset.com/api/v1/sources/{id}","href":"/api-reference/nsr/knowledge-base/sources-by-get"},{"title":"Update an existing source.","api":"PATCH https://api.nsr.stateset.com/api/v1/sources/{id}","href":"/api-reference/nsr/knowledge-base/sources-by-update"},{"title":"Create a new evidence source record.","api":"POST https://api.nsr.stateset.com/api/v1/sources","href":"/api-reference/nsr/knowledge-base/sources-create"},{"title":"List all registered evidence sources.","api":"GET https://api.nsr.stateset.com/api/v1/sources","href":"/api-reference/nsr/knowledge-base/sources-list"}]},{"group":"Entities","pages":[{"title":"Batch create entities","api":"POST https://api.nsr.stateset.com/api/v1/entities/batch","href":"/api-reference/nsr/entities/entities-batch-create"},{"title":"Batch delete entities","api":"DELETE https://api.nsr.stateset.com/api/v1/entities/batch","href":"/api-reference/nsr/entities/entities-batch-delete"},{"title":"Delete an entity by ID","api":"DELETE https://api.nsr.stateset.com/api/v1/entities/{id}","href":"/api-reference/nsr/entities/entities-by-delete"},{"title":"Retrieve an entity by its unique identifier.","api":"GET https://api.nsr.stateset.com/api/v1/entities/{id}","href":"/api-reference/nsr/entities/entities-by-get"},{"title":"Soft delete an entity (archives for audit trail)","api":"DELETE https://api.nsr.stateset.com/api/v1/entities/{id}/soft","href":"/api-reference/nsr/entities/entities-by-soft-delete"},{"title":"Update an entity","api":"PATCH https://api.nsr.stateset.com/api/v1/entities/{id}","href":"/api-reference/nsr/entities/entities-by-update"},{"title":"Create a new entity in the knowledge graph.","api":"POST https://api.nsr.stateset.com/api/v1/entities","href":"/api-reference/nsr/entities/entities-create"},{"title":"List all entities in the knowledge base with pagination.","api":"GET https://api.nsr.stateset.com/api/v1/entities","href":"/api-reference/nsr/entities/entities-list"},{"title":"Search for entities matching a query pattern.","api":"GET https://api.nsr.stateset.com/api/v1/entities/search","href":"/api-reference/nsr/entities/entities-search-list"}]},{"group":"Triples","pages":[{"title":"Batch create triples","api":"POST https://api.nsr.stateset.com/api/v1/triples/batch","href":"/api-reference/nsr/triples/triples-batch-create"},{"title":"Detach an evidence node from a triple.","api":"DELETE https://api.nsr.stateset.com/api/v1/triples/{triple_id}/evidence/{evidence_id}","href":"/api-reference/nsr/triples/triples-by-evidence-by-delete"},{"title":"Attach an existing evidence node to a triple.","api":"POST https://api.nsr.stateset.com/api/v1/triples/{triple_id}/evidence","href":"/api-reference/nsr/triples/triples-by-evidence-create"},{"title":"Get evidence linked to a triple.","api":"GET https://api.nsr.stateset.com/api/v1/triples/{triple_id}/evidence","href":"/api-reference/nsr/triples/triples-by-evidence-get"},{"title":"Get all triples where the specified entity is the subject.","api":"GET https://api.nsr.stateset.com/api/v1/triples/{subject_id}","href":"/api-reference/nsr/triples/triples-by-get"},{"title":"Create a new triple (fact) in the knowledge base.","api":"POST https://api.nsr.stateset.com/api/v1/triples","href":"/api-reference/nsr/triples/triples-create"},{"title":"Delete a triple (fact)","api":"DELETE https://api.nsr.stateset.com/api/v1/triples","href":"/api-reference/nsr/triples/triples-delete"},{"title":"Update a triple's confidence","api":"PATCH https://api.nsr.stateset.com/api/v1/triples","href":"/api-reference/nsr/triples/triples-update"}]},{"group":"Types","pages":[{"title":"Generate type constraints prompt for LLM","api":"GET https://api.nsr.stateset.com/api/v1/types/constraints-prompt","href":"/api-reference/nsr/types/types-constraints-prompt-list"},{"title":"List available primitive types","api":"GET https://api.nsr.stateset.com/api/v1/types","href":"/api-reference/nsr/types/types-list"},{"title":"Delete a predicate signature","api":"DELETE https://api.nsr.stateset.com/api/v1/types/predicates/{name}","href":"/api-reference/nsr/types/types-predicates-by-delete"},{"title":"Get a specific predicate signature","api":"GET https://api.nsr.stateset.com/api/v1/types/predicates/{name}","href":"/api-reference/nsr/types/types-predicates-by-get"},{"title":"Register a new predicate signature","api":"POST https://api.nsr.stateset.com/api/v1/types/predicates","href":"/api-reference/nsr/types/types-predicates-create"},{"title":"List all registered predicates","api":"GET https://api.nsr.stateset.com/api/v1/types/predicates","href":"/api-reference/nsr/types/types-predicates-list"},{"title":"Check if one type is a subtype of another","api":"GET https://api.nsr.stateset.com/api/v1/types/subtypes/{subtype}/{supertype}","href":"/api-reference/nsr/types/types-subtypes-by-by-get"},{"title":"Register a subtype relationship","api":"POST https://api.nsr.stateset.com/api/v1/types/subtypes","href":"/api-reference/nsr/types/types-subtypes-create"},{"title":"Validate a fact against the type registry","api":"POST https://api.nsr.stateset.com/api/v1/types/validate","href":"/api-reference/nsr/types/types-validate-create"}]},{"group":"Beliefs","pages":[{"title":"Get explanation for a belief","api":"GET https://api.nsr.stateset.com/api/v1/beliefs/{proposition}/explain","href":"/api-reference/nsr/beliefs/beliefs-by-explain-get"},{"title":"Get a belief by proposition","api":"GET https://api.nsr.stateset.com/api/v1/beliefs/{proposition}","href":"/api-reference/nsr/beliefs/beliefs-by-get"},{"title":"Get history of revisions for a belief","api":"GET https://api.nsr.stateset.com/api/v1/beliefs/{proposition}/history","href":"/api-reference/nsr/beliefs/beliefs-by-history-get"},{"title":"Check if two beliefs are conflicting","api":"POST https://api.nsr.stateset.com/api/v1/beliefs/conflicts","href":"/api-reference/nsr/beliefs/beliefs-conflicts-create"},{"title":"Contradict a belief (decrease confidence)","api":"POST https://api.nsr.stateset.com/api/v1/beliefs/contradict","href":"/api-reference/nsr/beliefs/beliefs-contradict-create"},{"title":"Add a new belief","api":"POST https://api.nsr.stateset.com/api/v1/beliefs","href":"/api-reference/nsr/beliefs/beliefs-create"},{"title":"Refute a belief (set confidence to zero)","api":"POST https://api.nsr.stateset.com/api/v1/beliefs/refute/{proposition}","href":"/api-reference/nsr/beliefs/beliefs-refute-by-create"},{"title":"Support a belief (increase confidence)","api":"POST https://api.nsr.stateset.com/api/v1/beliefs/support","href":"/api-reference/nsr/beliefs/beliefs-support-create"}]},{"group":"Constraints","pages":[{"title":"Delete a constraint","api":"DELETE https://api.nsr.stateset.com/api/v1/constraints/{id}","href":"/api-reference/nsr/constraints/constraints-by-delete"},{"title":"Get a specific constraint by ID","api":"GET https://api.nsr.stateset.com/api/v1/constraints/{id}","href":"/api-reference/nsr/constraints/constraints-by-get"},{"title":"Create a new constraint","api":"POST https://api.nsr.stateset.com/api/v1/constraints","href":"/api-reference/nsr/constraints/constraints-create"},{"title":"List all constraints","api":"GET https://api.nsr.stateset.com/api/v1/constraints","href":"/api-reference/nsr/constraints/constraints-list"},{"title":"Validate facts against all constraints","api":"POST https://api.nsr.stateset.com/api/v1/constraints/validate","href":"/api-reference/nsr/constraints/constraints-validate-create"}]},{"group":"Rules","pages":[{"title":"Batch create rules","api":"POST https://api.nsr.stateset.com/api/v1/rules/batch","href":"/api-reference/nsr/rules/rules-batch-create"},{"title":"Batch delete rules","api":"POST https://api.nsr.stateset.com/api/v1/rules/batch-delete","href":"/api-reference/nsr/rules/rules-batch-delete-create"},{"title":"Delete a rule by ID","api":"DELETE https://api.nsr.stateset.com/api/v1/rules/{id}","href":"/api-reference/nsr/rules/rules-by-delete"},{"title":"Get a single rule by ID","api":"GET https://api.nsr.stateset.com/api/v1/rules/{id}","href":"/api-reference/nsr/rules/rules-by-get"},{"title":"Soft delete a rule (archives for audit trail)","api":"DELETE https://api.nsr.stateset.com/api/v1/rules/{id}/soft","href":"/api-reference/nsr/rules/rules-by-soft-delete"},{"title":"Update a rule by ID","api":"PATCH https://api.nsr.stateset.com/api/v1/rules/{id}","href":"/api-reference/nsr/rules/rules-by-update"},{"title":"Create (or upsert) an organization policy rule.","api":"POST https://api.nsr.stateset.com/api/v1/rules","href":"/api-reference/nsr/rules/rules-create"},{"title":"Dry-run lint check for a proposed rule without inserting it.","api":"POST https://api.nsr.stateset.com/api/v1/rules/lint","href":"/api-reference/nsr/rules/rules-lint-create"},{"title":"List all rules","api":"GET https://api.nsr.stateset.com/api/v1/rules","href":"/api-reference/nsr/rules/rules-list"}]},{"group":"NSR-L","pages":[{"title":"Assert facts and rules from NSR-L code","api":"POST https://api.nsr.stateset.com/api/v1/nsrl/assert","href":"/api-reference/nsr/nsr-l/nsrl-assert-create"},{"title":"Execute NSR-L code (facts, rules, queries)","api":"POST https://api.nsr.stateset.com/api/v1/nsrl/execute","href":"/api-reference/nsr/nsr-l/nsrl-execute-create"},{"title":"Parse NSR-L code without executing","api":"POST https://api.nsr.stateset.com/api/v1/nsrl/parse","href":"/api-reference/nsr/nsr-l/nsrl-parse-create"},{"title":"Fetch the persisted NSR-L program for the current org.","api":"GET https://api.nsr.stateset.com/api/v1/nsrl/program","href":"/api-reference/nsr/nsr-l/nsrl-program-list"},{"title":"Replace the current NSR-L program (creates a new version).","api":"PUT https://api.nsr.stateset.com/api/v1/nsrl/program","href":"/api-reference/nsr/nsr-l/nsrl-program-update"},{"title":"Prove a query using classical resolution theorem proving over the current NSR-L…","api":"POST https://api.nsr.stateset.com/api/v1/nsrl/prove","href":"/api-reference/nsr/nsr-l/nsrl-prove-create"},{"title":"Fetch a specific program version.","api":"GET https://api.nsr.stateset.com/api/v1/nsrl/versions/{id}","href":"/api-reference/nsr/nsr-l/nsrl-versions-by-get"},{"title":"Roll back to a previous program version.","api":"POST https://api.nsr.stateset.com/api/v1/nsrl/versions/{id}/rollback","href":"/api-reference/nsr/nsr-l/nsrl-versions-by-rollback-create"},{"title":"List program versions for the current org.","api":"GET https://api.nsr.stateset.com/api/v1/nsrl/versions","href":"/api-reference/nsr/nsr-l/nsrl-versions-list"}]},{"group":"Reasoning","pages":[{"title":"Handler for POST /api/v1/agents/llm/generate","api":"POST https://api.nsr.stateset.com/api/v1/agents/llm/generate","href":"/api-reference/nsr/reasoning/agents-llm-generate-create"},{"title":"Recursive chat execute actions handler","api":"POST https://api.nsr.stateset.com/api/v2/nsr/chat/executions/{receipt_id}","href":"/api-reference/nsr/reasoning/api-v2-nsr-chat-executions-by-create"},{"title":"Recursive chat solve handler","api":"POST https://api.nsr.stateset.com/api/v2/nsr/chat/solve","href":"/api-reference/nsr/reasoning/api-v2-nsr-chat-solve-create"},{"title":"Recursive chat solve stream handler","api":"POST https://api.nsr.stateset.com/api/v2/nsr/chat/solve/stream","href":"/api-reference/nsr/reasoning/api-v2-nsr-chat-solve-stream-create"},{"title":"Perform backward chaining to prove a goal","api":"POST https://api.nsr.stateset.com/api/v1/backward-chain","href":"/api-reference/nsr/reasoning/backward-chain-create"},{"title":"Handler for POST /api/v1/compile","api":"POST https://api.nsr.stateset.com/api/v1/compile","href":"/api-reference/nsr/reasoning/compile-create"},{"title":"Handler for GET /api/v1/events","api":"GET https://api.nsr.stateset.com/api/v1/events","href":"/api-reference/nsr/reasoning/events-list"},{"title":"Generate an explanation for a query","api":"POST https://api.nsr.stateset.com/api/v1/explain","href":"/api-reference/nsr/reasoning/explain-create"},{"title":"Forward chaining endpoint with parameters","api":"POST https://api.nsr.stateset.com/api/v1/forward-chain","href":"/api-reference/nsr/reasoning/forward-chain-create"},{"title":"Handler for POST /api/v1/rag/query","api":"POST https://api.nsr.stateset.com/api/v1/rag/query","href":"/api-reference/nsr/reasoning/rag-query-create"},{"title":"Execute a reasoning query using the NSR engine.","api":"POST https://api.nsr.stateset.com/api/v1/reason","href":"/api-reference/nsr/reasoning/reason-create"},{"title":"Induce candidate rules from labeled examples.","api":"POST https://api.nsr.stateset.com/api/v1/reason/induce-rules","href":"/api-reference/nsr/reasoning/reason-induce-rules-create"},{"title":"Reason at time handler","api":"GET https://api.nsr.stateset.com/api/v1/reason","href":"/api-reference/nsr/reasoning/reason-list"},{"title":"Strategy stats handler","api":"GET https://api.nsr.stateset.com/api/v1/reason/strategy-stats","href":"/api-reference/nsr/reasoning/reason-strategy-stats-list"},{"title":"Handler for POST /api/v1/reason/stream","api":"POST https://api.nsr.stateset.com/api/v1/reason/stream","href":"/api-reference/nsr/reasoning/reason-stream-create"},{"title":"Handler for GET /api/v1/reason/stream?query=...\u0026strategy=...","api":"GET https://api.nsr.stateset.com/api/v1/reason/stream","href":"/api-reference/nsr/reasoning/reason-stream-list"},{"title":"Handler for POST /api/v1/validate","api":"POST https://api.nsr.stateset.com/api/v1/validate","href":"/api-reference/nsr/reasoning/validate-create"},{"title":"Handler for POST /api/v1/validate_ir","api":"POST https://api.nsr.stateset.com/api/v1/validate_ir","href":"/api-reference/nsr/reasoning/validate_ir-create"}]},{"group":"NSR Machine","pages":[{"title":"Evaluate the NSR Machine on test examples","api":"POST https://api.nsr.stateset.com/api/v1/nsr/evaluate","href":"/api-reference/nsr/nsr-machine/nsr-evaluate-create"},{"title":"Toggle a feature on or off","api":"POST https://api.nsr.stateset.com/api/v1/nsr/features","href":"/api-reference/nsr/nsr-machine/nsr-features-create"},{"title":"List all features and their status","api":"GET https://api.nsr.stateset.com/api/v1/nsr/features","href":"/api-reference/nsr/nsr-machine/nsr-features-list"},{"title":"Branch from a parent thought to multiple children","api":"POST https://api.nsr.stateset.com/api/v1/nsr/got/branch","href":"/api-reference/nsr/nsr-machine/nsr-got-branch-create"},{"title":"Connect two thoughts in the graph","api":"POST https://api.nsr.stateset.com/api/v1/nsr/got/connect","href":"/api-reference/nsr/nsr-machine/nsr-got-connect-create"},{"title":"Get Graph of Thoughts status","api":"GET https://api.nsr.stateset.com/api/v1/nsr/got","href":"/api-reference/nsr/nsr-machine/nsr-got-list"},{"title":"Add a thought to the reasoning graph","api":"POST https://api.nsr.stateset.com/api/v1/nsr/got/thoughts","href":"/api-reference/nsr/nsr-machine/nsr-got-thoughts-create"},{"title":"List/search Graph-of-Thoughts nodes","api":"GET https://api.nsr.stateset.com/api/v1/nsr/got/thoughts","href":"/api-reference/nsr/nsr-machine/nsr-got-thoughts-list"},{"title":"Perform inference using the NSR Machine","api":"POST https://api.nsr.stateset.com/api/v1/nsr/infer","href":"/api-reference/nsr/nsr-machine/nsr-infer-create"},{"title":"Perform ensemble inference with input dropout for confidence calibration","api":"POST https://api.nsr.stateset.com/api/v1/nsr/infer/ensemble","href":"/api-reference/nsr/nsr-machine/nsr-infer-ensemble-create"},{"title":"Get the program for a symbol","api":"GET https://api.nsr.stateset.com/api/v1/nsr/programs/{symbol_id}","href":"/api-reference/nsr/nsr-machine/nsr-programs-by-get"},{"title":"Set a program for a symbol","api":"POST https://api.nsr.stateset.com/api/v1/nsr/programs","href":"/api-reference/nsr/nsr-machine/nsr-programs-create"},{"title":"Evaluate a program with optional arguments","api":"POST https://api.nsr.stateset.com/api/v1/nsr/programs/evaluate","href":"/api-reference/nsr/nsr-machine/nsr-programs-evaluate-create"},{"title":"Get strategy recommendation for a task","api":"POST https://api.nsr.stateset.com/api/v1/nsr/recommend-strategy","href":"/api-reference/nsr/nsr-machine/nsr-recommend-strategy-create"},{"title":"Get NSR Machine statistics","api":"GET https://api.nsr.stateset.com/api/v1/nsr/stats","href":"/api-reference/nsr/nsr-machine/nsr-stats-list"},{"title":"Add multiple symbols at once","api":"POST https://api.nsr.stateset.com/api/v1/nsr/symbols/batch","href":"/api-reference/nsr/nsr-machine/nsr-symbols-batch-create"},{"title":"Add a symbol to the NSR Machine vocabulary","api":"POST https://api.nsr.stateset.com/api/v1/nsr/symbols","href":"/api-reference/nsr/nsr-machine/nsr-symbols-create"},{"title":"List all symbols in the vocabulary","api":"GET https://api.nsr.stateset.com/api/v1/nsr/symbols","href":"/api-reference/nsr/nsr-machine/nsr-symbols-list"},{"title":"Train the NSR Machine on examples","api":"POST https://api.nsr.stateset.com/api/v1/nsr/train","href":"/api-reference/nsr/nsr-machine/nsr-train-create"},{"title":"Get uncertainty estimation","api":"GET https://api.nsr.stateset.com/api/v1/nsr/uncertainty","href":"/api-reference/nsr/nsr-machine/nsr-uncertainty-list"},{"title":"Batch validate responses using NSR-L rules + text signals.","api":"POST https://api.nsr.stateset.com/api/v1/nsr/validate/batch","href":"/api-reference/nsr/nsr-machine/nsr-validate-batch-create"},{"title":"Validate a response using NSR-L rules + text signals.","api":"POST https://api.nsr.stateset.com/api/v1/nsr/validate","href":"/api-reference/nsr/nsr-machine/nsr-validate-create"},{"title":"Create multiple validation cases in one request.","api":"POST https://api.nsr.stateset.com/api/v1/nsr/validation/cases/batch","href":"/api-reference/nsr/nsr-machine/nsr-validation-cases-batch-create"},{"title":"Replay a stored validation case and persist the run.","api":"POST https://api.nsr.stateset.com/api/v1/nsr/validation/cases/{id}/replay","href":"/api-reference/nsr/nsr-machine/nsr-validation-cases-by-replay-create"},{"title":"Create a single validation case.","api":"POST https://api.nsr.stateset.com/api/v1/nsr/validation/cases","href":"/api-reference/nsr/nsr-machine/nsr-validation-cases-create"},{"title":"List persisted validation cases.","api":"GET https://api.nsr.stateset.com/api/v1/nsr/validation/cases","href":"/api-reference/nsr/nsr-machine/nsr-validation-cases-list"},{"title":"List validation runs for the current org.","api":"GET https://api.nsr.stateset.com/api/v1/nsr/validation/runs","href":"/api-reference/nsr/nsr-machine/nsr-validation-runs-list"},{"title":"Bind two VSA vectors (role-filler composition)","api":"POST https://api.nsr.stateset.com/api/v1/nsr/vsa/bind","href":"/api-reference/nsr/nsr-machine/nsr-vsa-bind-create"},{"title":"Bundle multiple VSA vectors (superposition/set union)","api":"POST https://api.nsr.stateset.com/api/v1/nsr/vsa/bundle","href":"/api-reference/nsr/nsr-machine/nsr-vsa-bundle-create"},{"title":"Classify input features using VSA similarity against feature-based class…","api":"POST https://api.nsr.stateset.com/api/v1/nsr/vsa/classify","href":"/api-reference/nsr/nsr-machine/nsr-vsa-classify-create"},{"title":"Encode a symbol or add a concept to VSA","api":"POST https://api.nsr.stateset.com/api/v1/nsr/vsa/encode","href":"/api-reference/nsr/nsr-machine/nsr-vsa-encode-create"},{"title":"Get VSA status","api":"GET https://api.nsr.stateset.com/api/v1/nsr/vsa","href":"/api-reference/nsr/nsr-machine/nsr-vsa-list"},{"title":"Query VSA cleanup memory","api":"POST https://api.nsr.stateset.com/api/v1/nsr/vsa/query","href":"/api-reference/nsr/nsr-machine/nsr-vsa-query-create"},{"title":"PolicyEvaluate","api":"POST https://api.nsr.stateset.com/api/v1/policy/evaluate","href":"/api-reference/nsr/nsr-machine/policy-evaluate-create"},{"title":"PolicyInfer","api":"POST https://api.nsr.stateset.com/api/v1/policy/infer","href":"/api-reference/nsr/nsr-machine/policy-infer-create"},{"title":"SandboxPolicyEvaluate","api":"POST https://api.nsr.stateset.com/api/v1/policy/sandbox/evaluate","href":"/api-reference/nsr/nsr-machine/policy-sandbox-evaluate-create"},{"title":"PolicyTrain","api":"POST https://api.nsr.stateset.com/api/v1/policy/train","href":"/api-reference/nsr/nsr-machine/policy-train-create"},{"title":"PolicyVocabInit","api":"POST https://api.nsr.stateset.com/api/v1/policy/vocab/init","href":"/api-reference/nsr/nsr-machine/policy-vocab-init-create"}]},{"group":"Machines","pages":[{"title":"Activate a machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/activate","href":"/api-reference/nsr/machines/machines-activate-create"},{"title":"Compile machine seed handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/compile","href":"/api-reference/nsr/machines/machines-compile-create"},{"title":"Evaluate machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/evaluate","href":"/api-reference/nsr/machines/machines-evaluate-create"},{"title":"Evaluate seed machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/evaluate-seed","href":"/api-reference/nsr/machines/machines-evaluate-seed-create"},{"title":"Infer machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/infer","href":"/api-reference/nsr/machines/machines-infer-create"},{"title":"List machines handlers","api":"GET https://api.nsr.stateset.com/api/v1/machines","href":"/api-reference/nsr/machines/machines-list"},{"title":"Provision machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/provision","href":"/api-reference/nsr/machines/machines-provision-create"},{"title":"Seed machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/seed","href":"/api-reference/nsr/machines/machines-seed-create"},{"title":"Machine status handler","api":"GET https://api.nsr.stateset.com/api/v1/machines/status","href":"/api-reference/nsr/machines/machines-status-list"},{"title":"Train machine handler","api":"POST https://api.nsr.stateset.com/api/v1/machines/train","href":"/api-reference/nsr/machines/machines-train-create"}]},{"group":"Flywheel","pages":[{"title":"Flywheel review candidate handler","api":"POST https://api.nsr.stateset.com/api/v1/flywheel/candidates/{id}/review","href":"/api-reference/nsr/flywheel/flywheel-candidates-by-review-create"},{"title":"Flywheel candidates handler","api":"GET https://api.nsr.stateset.com/api/v1/flywheel/candidates","href":"/api-reference/nsr/flywheel/flywheel-candidates-list"},{"title":"Flywheel curve handler","api":"GET https://api.nsr.stateset.com/api/v1/flywheel/curve","href":"/api-reference/nsr/flywheel/flywheel-curve-list"},{"title":"Noise-based rule demotion — the pruning counterpart of evidence-based","api":"POST https://api.nsr.stateset.com/api/v1/flywheel/demote-noisy","href":"/api-reference/nsr/flywheel/flywheel-demote-noisy-create"},{"title":"Flywheel events handler","api":"GET https://api.nsr.stateset.com/api/v1/flywheel/events","href":"/api-reference/nsr/flywheel/flywheel-events-list"},{"title":"Flywheel feedback handler","api":"POST https://api.nsr.stateset.com/api/v1/flywheel/feedback","href":"/api-reference/nsr/flywheel/flywheel-feedback-create"},{"title":"Flywheel process handler","api":"POST https://api.nsr.stateset.com/api/v1/flywheel/process","href":"/api-reference/nsr/flywheel/flywheel-process-create"},{"title":"Flywheel stats handler","api":"GET https://api.nsr.stateset.com/api/v1/flywheel/stats","href":"/api-reference/nsr/flywheel/flywheel-stats-list"},{"title":"Flywheel train handler","api":"POST https://api.nsr.stateset.com/api/v1/flywheel/train","href":"/api-reference/nsr/flywheel/flywheel-train-create"}]},{"group":"Macros","pages":[{"title":"Upload a whole library in one call.","api":"POST https://api.nsr.stateset.com/api/v1/macros/batch","href":"/api-reference/nsr/macros/macros-batch-create"},{"title":"Delete a macro.","api":"DELETE https://api.nsr.stateset.com/api/v1/macros/{id}","href":"/api-reference/nsr/macros/macros-by-delete"},{"title":"Fetch one macro by id.","api":"GET https://api.nsr.stateset.com/api/v1/macros/{id}","href":"/api-reference/nsr/macros/macros-by-get"},{"title":"Render a macro against a context — the dry run before sending.","api":"POST https://api.nsr.stateset.com/api/v1/macros/{id}/render","href":"/api-reference/nsr/macros/macros-by-render-create"},{"title":"Update macro metadata — approve it, bind it to a rule, toggle auto-send.","api":"PATCH https://api.nsr.stateset.com/api/v1/macros/{id}","href":"/api-reference/nsr/macros/macros-by-update"},{"title":"Create or replace a macro.","api":"POST https://api.nsr.stateset.com/api/v1/macros","href":"/api-reference/nsr/macros/macros-create"},{"title":"List this org's macros.","api":"GET https://api.nsr.stateset.com/api/v1/macros","href":"/api-reference/nsr/macros/macros-list"}]},{"group":"Templates","pages":[{"title":"Apply a template handler","api":"POST https://api.nsr.stateset.com/api/v1/templates/{slug}/apply","href":"/api-reference/nsr/templates/templates-by-apply-create"},{"title":"Get a template handler","api":"GET https://api.nsr.stateset.com/api/v1/templates/{slug}","href":"/api-reference/nsr/templates/templates-by-get"},{"title":"List templates handlers","api":"GET https://api.nsr.stateset.com/api/v1/templates","href":"/api-reference/nsr/templates/templates-list"}]},{"group":"Answer","pages":[{"title":"Answer a queue of tickets in one call.","api":"POST https://api.nsr.stateset.com/api/v1/answer/batch","href":"/api-reference/nsr/answer/answer-batch-create"},{"title":"Answer one ticket.","api":"POST https://api.nsr.stateset.com/api/v1/answer","href":"/api-reference/nsr/answer/answer-create"}]},{"group":"Conversations","pages":[{"title":"Delete a conversation handler","api":"DELETE https://api.nsr.stateset.com/api/v1/conversations/{id}","href":"/api-reference/nsr/conversations/conversations-by-delete"},{"title":"Get a conversation with all its messages.","api":"GET https://api.nsr.stateset.com/api/v1/conversations/{id}","href":"/api-reference/nsr/conversations/conversations-by-get"},{"title":"Update a conversation (title and/or archive status).","api":"PATCH https://api.nsr.stateset.com/api/v1/conversations/{id}","href":"/api-reference/nsr/conversations/conversations-by-update"},{"title":"Create a new conversation.","api":"POST https://api.nsr.stateset.com/api/v1/conversations","href":"/api-reference/nsr/conversations/conversations-create"},{"title":"List conversations for the authenticated org.","api":"GET https://api.nsr.stateset.com/api/v1/conversations","href":"/api-reference/nsr/conversations/conversations-list"}]},{"group":"Sessions","pages":[{"title":"Update session context","api":"PATCH https://api.nsr.stateset.com/api/v1/sessions/{session_id}/context","href":"/api-reference/nsr/sessions/sessions-by-context-update"},{"title":"Get session info","api":"GET https://api.nsr.stateset.com/api/v1/sessions/{session_id}","href":"/api-reference/nsr/sessions/sessions-by-get"},{"title":"Get full session history","api":"GET https://api.nsr.stateset.com/api/v1/sessions/{session_id}/history","href":"/api-reference/nsr/sessions/sessions-by-history-get"},{"title":"Create a new session","api":"POST https://api.nsr.stateset.com/api/v1/sessions","href":"/api-reference/nsr/sessions/sessions-create"}]},{"group":"Ingestion","pages":[{"title":"Get a file content handler","api":"GET https://api.nsr.stateset.com/v1/files/{id}/content","href":"/api-reference/nsr/ingestion/v1-files-by-content-get"},{"title":"Get a file handler","api":"GET https://api.nsr.stateset.com/v1/files/{id}","href":"/api-reference/nsr/ingestion/v1-files-by-get"},{"title":"Create a file handler","api":"POST https://api.nsr.stateset.com/v1/files","href":"/api-reference/nsr/ingestion/v1-files-create"},{"title":"List files handlers","api":"GET https://api.nsr.stateset.com/v1/files","href":"/api-reference/nsr/ingestion/v1-files-list"},{"title":"Get an ingest job handler","api":"GET https://api.nsr.stateset.com/v1/ingest/jobs/{id}","href":"/api-reference/nsr/ingestion/v1-ingest-jobs-by-get"},{"title":"Create an ingest job handler","api":"POST https://api.nsr.stateset.com/v1/ingest/jobs","href":"/api-reference/nsr/ingestion/v1-ingest-jobs-create"},{"title":"List ingest jobs handlers","api":"GET https://api.nsr.stateset.com/v1/ingest/jobs","href":"/api-reference/nsr/ingestion/v1-ingest-jobs-list"}]},{"group":"Jobs","pages":[{"title":"Submit a batch inference job","api":"POST https://api.nsr.stateset.com/api/v1/jobs/batch-infer","href":"/api-reference/nsr/jobs/jobs-batch-infer-create"},{"title":"Cancel a running job","api":"POST https://api.nsr.stateset.com/api/v1/jobs/{job_id}/cancel","href":"/api-reference/nsr/jobs/jobs-by-cancel-create"},{"title":"Delete a completed job","api":"DELETE https://api.nsr.stateset.com/api/v1/jobs/{job_id}","href":"/api-reference/nsr/jobs/jobs-by-delete"},{"title":"Get job status","api":"GET https://api.nsr.stateset.com/api/v1/jobs/{job_id}","href":"/api-reference/nsr/jobs/jobs-by-get"},{"title":"List all jobs with filtering and pagination","api":"GET https://api.nsr.stateset.com/api/v1/jobs","href":"/api-reference/nsr/jobs/jobs-list"}]},{"group":"Model","pages":[{"title":"Delete a checkpoint","api":"DELETE https://api.nsr.stateset.com/api/v1/model/checkpoints/{checkpoint_id}","href":"/api-reference/nsr/model/model-checkpoints-by-delete"},{"title":"Get checkpoint details","api":"GET https://api.nsr.stateset.com/api/v1/model/checkpoints/{checkpoint_id}","href":"/api-reference/nsr/model/model-checkpoints-by-get"},{"title":"Load checkpoint (restore model state)","api":"POST https://api.nsr.stateset.com/api/v1/model/checkpoints/{checkpoint_id}/load","href":"/api-reference/nsr/model/model-checkpoints-by-load-create"},{"title":"Save model checkpoint","api":"POST https://api.nsr.stateset.com/api/v1/model/checkpoints","href":"/api-reference/nsr/model/model-checkpoints-create"},{"title":"List model checkpoints","api":"GET https://api.nsr.stateset.com/api/v1/model/checkpoints","href":"/api-reference/nsr/model/model-checkpoints-list"},{"title":"Compare two model checkpoints","api":"POST https://api.nsr.stateset.com/api/v1/model/compare","href":"/api-reference/nsr/model/model-compare-create"},{"title":"Export model","api":"POST https://api.nsr.stateset.com/api/v1/model/export","href":"/api-reference/nsr/model/model-export-create"},{"title":"Get current model information","api":"GET https://api.nsr.stateset.com/api/v1/model/info","href":"/api-reference/nsr/model/model-info-list"}]},{"group":"Provider compatibility","pages":[{"title":"OpenAI-compatible chat completions endpoint backed by the recursive v2","api":"POST https://api.nsr.stateset.com/v1/chat/completions","href":"/api-reference/nsr/provider-compatibility/v1-chat-completions-create"},{"title":"Anthropic-compatible token counting (POST /v1/messages/count_tokens).","api":"POST https://api.nsr.stateset.com/v1/messages/count_tokens","href":"/api-reference/nsr/provider-compatibility/v1-messages-count_tokens-create"},{"title":"Anthropic-compatible Messages endpoint backed by the recursive NSR solver.","api":"POST https://api.nsr.stateset.com/v1/messages","href":"/api-reference/nsr/provider-compatibility/v1-messages-create"},{"title":"OpenAI-compatible model catalog for the NSR chat facade.","api":"GET https://api.nsr.stateset.com/v1/models","href":"/api-reference/nsr/provider-compatibility/v1-models-list"},{"title":"Get a response handler","api":"GET https://api.nsr.stateset.com/v1/responses/{response_id}","href":"/api-reference/nsr/provider-compatibility/v1-responses-by-get"},{"title":"List response input items handlers","api":"GET https://api.nsr.stateset.com/v1/responses/{response_id}/input_items","href":"/api-reference/nsr/provider-compatibility/v1-responses-by-input_items-get"},{"title":"Nsr responses handler","api":"POST https://api.nsr.stateset.com/v1/responses","href":"/api-reference/nsr/provider-compatibility/v1-responses-create"}]},{"group":"Agents","pages":[{"title":"Get an agent handler","api":"GET https://api.nsr.stateset.com/api/v1/agents/{agent_name}","href":"/api-reference/nsr/agents/agents-by-get"},{"title":"Restart agent handler","api":"POST https://api.nsr.stateset.com/api/v1/agents/{agent_name}/restart","href":"/api-reference/nsr/agents/agents-by-restart-create"},{"title":"Start agent handler","api":"POST https://api.nsr.stateset.com/api/v1/agents/{agent_name}/start","href":"/api-reference/nsr/agents/agents-by-start-create"},{"title":"Stop agent handler","api":"POST https://api.nsr.stateset.com/api/v1/agents/{agent_name}/stop","href":"/api-reference/nsr/agents/agents-by-stop-create"},{"title":"List agents handlers","api":"GET https://api.nsr.stateset.com/api/v1/agents","href":"/api-reference/nsr/agents/agents-list"}]},{"group":"Sandbox","pages":[{"title":"Create an ephemeral sandbox pod.","api":"POST https://api.nsr.stateset.com/api/v1/sandbox/create","href":"/api-reference/nsr/sandbox/sandbox-create-create"},{"title":"Execute a command in an existing sandbox.","api":"POST https://api.nsr.stateset.com/api/v1/sandbox/execute","href":"/api-reference/nsr/sandbox/sandbox-execute-create"},{"title":"Execute code inline — creates a sandbox, runs the code, returns output.","api":"POST https://api.nsr.stateset.com/api/v1/sandbox/run","href":"/api-reference/nsr/sandbox/sandbox-run-create"}]},{"group":"Webhooks","pages":[{"title":"Delete a webhook handler","api":"DELETE https://api.nsr.stateset.com/api/v1/webhooks/{id}","href":"/api-reference/nsr/webhooks/webhooks-by-delete"},{"title":"List deliveries handlers","api":"GET https://api.nsr.stateset.com/api/v1/webhooks/{id}/deliveries","href":"/api-reference/nsr/webhooks/webhooks-by-deliveries-get"},{"title":"Get a webhook handler","api":"GET https://api.nsr.stateset.com/api/v1/webhooks/{id}","href":"/api-reference/nsr/webhooks/webhooks-by-get"},{"title":"Test webhook handler","api":"POST https://api.nsr.stateset.com/api/v1/webhooks/{id}/test","href":"/api-reference/nsr/webhooks/webhooks-by-test-create"},{"title":"Create a webhook handler","api":"POST https://api.nsr.stateset.com/api/v1/webhooks","href":"/api-reference/nsr/webhooks/webhooks-create"},{"title":"List webhooks handlers","api":"GET https://api.nsr.stateset.com/api/v1/webhooks","href":"/api-reference/nsr/webhooks/webhooks-list"}]},{"group":"Billing","pages":[{"title":"Create a checkout handler","api":"POST https://api.nsr.stateset.com/api/v1/billing/checkout","href":"/api-reference/nsr/billing/billing-checkout-create"},{"title":"Create a credit checkout handler","api":"POST https://api.nsr.stateset.com/api/v1/billing/credits/checkout","href":"/api-reference/nsr/billing/billing-credits-checkout-create"},{"title":"Get credits handlers","api":"GET https://api.nsr.stateset.com/api/v1/billing/credits","href":"/api-reference/nsr/billing/billing-credits-list"},{"title":"Purchase credits handler","api":"POST https://api.nsr.stateset.com/api/v1/billing/credits/purchase","href":"/api-reference/nsr/billing/billing-credits-purchase-create"},{"title":"List invoices handlers","api":"GET https://api.nsr.stateset.com/api/v1/billing/invoices","href":"/api-reference/nsr/billing/billing-invoices-list"},{"title":"List payment methods handlers","api":"GET https://api.nsr.stateset.com/api/v1/billing/payment-methods","href":"/api-reference/nsr/billing/billing-payment-methods-list"},{"title":"List plans handlers","api":"GET https://api.nsr.stateset.com/api/v1/billing/plans","href":"/api-reference/nsr/billing/billing-plans-list"},{"title":"Create a portal handler","api":"POST https://api.nsr.stateset.com/api/v1/billing/portal","href":"/api-reference/nsr/billing/billing-portal-create"},{"title":"Setup payment handler","api":"POST https://api.nsr.stateset.com/api/v1/billing/setup-payment","href":"/api-reference/nsr/billing/billing-setup-payment-create"},{"title":"Get subscription handlers","api":"GET https://api.nsr.stateset.com/api/v1/billing/subscription","href":"/api-reference/nsr/billing/billing-subscription-list"},{"title":"Get usage handlers","api":"GET https://api.nsr.stateset.com/api/v1/billing/usage","href":"/api-reference/nsr/billing/billing-usage-list"},{"title":"Stripe webhook handler","api":"POST https://api.nsr.stateset.com/api/v1/billing/webhooks/stripe","href":"/api-reference/nsr/billing/billing-webhooks-stripe-create"}]},{"group":"Metering / Marketplace","pages":[{"title":"AWS Marketplace SaaS onboarding: resolve the registration token to the","api":"POST https://api.nsr.stateset.com/v1/metering/aws/register","href":"/api-reference/nsr/metering-marketplace/v1-metering-aws-register-create"},{"title":"Azure Marketplace SaaS onboarding: resolve the marketplace token to the SaaS","api":"POST https://api.nsr.stateset.com/v1/metering/azure/register","href":"/api-reference/nsr/metering-marketplace/v1-metering-azure-register-create"},{"title":"Read an org's current entitlement (admin).","api":"GET https://api.nsr.stateset.com/v1/metering/entitlement/{org_id}","href":"/api-reference/nsr/metering-marketplace/v1-metering-entitlement-by-get"},{"title":"Link an org to its billing entitlement (admin). Idempotent — re-linking","api":"POST https://api.nsr.stateset.com/v1/metering/entitlement","href":"/api-reference/nsr/metering-marketplace/v1-metering-entitlement-create"},{"title":"GCP Marketplace Pub/Sub push endpoint. GCP delivers Procurement events here","api":"POST https://api.nsr.stateset.com/v1/metering/gcp/pubsub","href":"/api-reference/nsr/metering-marketplace/v1-metering-gcp-pubsub-create"}]},{"group":"Authentication","pages":[{"title":"Revoke an API key by id.","api":"DELETE https://api.nsr.stateset.com/api/v1/auth/keys/{id}","href":"/api-reference/nsr/authentication/auth-keys-by-delete"},{"title":"Create a new API key for the current org.","api":"POST https://api.nsr.stateset.com/api/v1/auth/keys","href":"/api-reference/nsr/authentication/auth-keys-create"},{"title":"List API keys for the current org.","api":"GET https://api.nsr.stateset.com/api/v1/auth/keys","href":"/api-reference/nsr/authentication/auth-keys-list"},{"title":"Authenticate a user and return a fresh API key.","api":"POST https://api.nsr.stateset.com/api/v1/auth/login","href":"/api-reference/nsr/authentication/auth-login-create"},{"title":"Return the current authenticated API session context.","api":"GET https://api.nsr.stateset.com/api/v1/auth/session","href":"/api-reference/nsr/authentication/auth-session-list"},{"title":"Create a new user account and return an API key.","api":"POST https://api.nsr.stateset.com/api/v1/auth/signup","href":"/api-reference/nsr/authentication/auth-signup-create"}]},{"group":"NSR","pages":[{"title":"Analyze a customer message and return a grounded recursive completion.","api":"POST https://api.nsr.stateset.com/api/v1/nsr/chat","href":"/api-reference/nsr/nsr/nsr-chat-create"},{"title":"Chat execute actions handler","api":"POST https://api.nsr.stateset.com/api/v1/nsr/chat/executions/{receipt_id}","href":"/api-reference/nsr/nsr/nsr-chat-executions-by-create"},{"title":"Chat stream handler","api":"POST https://api.nsr.stateset.com/api/v1/nsr/chat/stream","href":"/api-reference/nsr/nsr/nsr-chat-stream-create"}]},{"group":"Health","pages":[{"title":"Health check endpoint","api":"GET https://api.nsr.stateset.com/health","href":"/api-reference/nsr/health/health-list"},{"title":"Readiness probe for Kubernetes and orchestration systems","api":"GET https://api.nsr.stateset.com/ready","href":"/api-reference/nsr/health/ready-list"}]},{"group":"Audit","pages":[{"title":"Get deletion audit trail","api":"GET https://api.nsr.stateset.com/api/v1/audit/deletions","href":"/api-reference/nsr/audit/audit-deletions-list"}]},{"group":"Compliance","pages":[{"title":"Audit export handler","api":"GET https://api.nsr.stateset.com/api/v1/audit/export","href":"/api-reference/nsr/compliance/audit-export-list"}]},{"group":"Decisions","pages":[{"title":"Chronological NDJSON export of the org's durable decision log for","api":"GET https://api.nsr.stateset.com/v1/decisions/export","href":"/api-reference/nsr/decisions/v1-decisions-export-list"}]},{"group":"Gss","pages":[{"title":"Live GSS seed-pack metadata.","api":"GET https://api.nsr.stateset.com/api/v1/gss/seed","href":"/api-reference/nsr/gss/gss-seed-list"}]},{"group":"Platform","pages":[{"title":"Status handler","api":"GET https://api.nsr.stateset.com/api/v1/status","href":"/api-reference/nsr/platform/status-list"}]},{"group":"Replies","pages":[{"title":"Decide, then draft — one call.","api":"POST https://api.nsr.stateset.com/api/v1/replies","href":"/api-reference/nsr/replies/replies-create"}]}]},{"tab":"Computer Use","icon":"monitor","pages":[{"title":"Computer Use","href":"/api-reference/computer-use/overview"}]},{"tab":"Agents","icon":"bot","pages":[{"title":"Agents","href":"/api-reference/agents/overview"}]}]},{"dropdown":"For AI Agents","icon":"bot","description":"MCP servers and skills for agents using StateSet","tabs":[{"tab":"MCP Servers","icon":"plug","groups":[{"group":"Start here","pages":[{"sidebarTitle":"Signup to first value","title":"From Signup to First Value","icon":"rocket","href":"/guides/platform-onboarding"},{"sidebarTitle":"Rust engines \u0026 MCP","title":"Build Operations with Rust Engines \u0026 MCP","icon":"cpu","href":"/guides/rust-engines-and-mcp"},{"sidebarTitle":"Connect through MCP","title":"Manage Agents \u0026 Workflows with MCP","icon":"plug","href":"/guides/manage-platform-with-mcp"},{"sidebarTitle":"Configuration changes","title":"Your First Workflow Configuration Change","icon":"git-pull-request","href":"/guides/first-workflow-config-change"},{"sidebarTitle":"Durable agents","title":"Operate Your First Durable Agent","icon":"bot","href":"/guides/first-durable-agent"},{"sidebarTitle":"Agent evaluations","title":"Your First Agent Evaluation","icon":"check-check","href":"/guides/first-agent-evaluation"},{"sidebarTitle":"Your first week","title":"Your First Week with StateSet","icon":"chart-line","href":"/guides/first-week-with-stateset"},{"sidebarTitle":"Troubleshooting","title":"Troubleshoot Your First Operation","icon":"life-ring","href":"/guides/onboarding-troubleshooting"},{"sidebarTitle":"Workflow trial","title":"Your First Workflow Trial","icon":"workflow","href":"/guides/first-workflow-trial"},{"sidebarTitle":"Agent quickstart","title":"Getting Started for AI Agents","icon":"robot","href":"/getting-started-for-ai-agents"},{"sidebarTitle":"First local operation","title":"Your First Operation","icon":"play","href":"/guides/first-operation"},{"sidebarTitle":"Connect your systems","title":"Connect Your Operation","icon":"plug","href":"/guides/connect-your-operation"},{"title":"MCP Servers","icon":"plug","href":"/mcp-servers"},{"title":"MCP Integration for AI Agents","icon":"plug","iconType":"solid","href":"/guides/mcp-integration-guide"}]},{"group":"Commerce","pages":[{"title":"iCommerce MCP Server","href":"/stateset-icommerce/stateset-icommerce-mcp"},{"title":"Sandbox MCP server","href":"/stateset-sandbox/stateset-sandbox-mcp"},{"title":"Sync Server MCP","href":"/stateset-sync-mcp"},{"title":"EDI MCP Server","href":"/stateset-edi/mcp-server"},{"title":"Warehouse REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-warehouse/api-and-mcp"},{"title":"Freight REST API and MCP","sidebarTitle":"API and MCP","href":"/stateset-freight/api-and-mcp"}]},{"group":"Customer experience","pages":[{"title":"Response MCP Servers","href":"/stateset-response/response-mcp"},{"title":"Voice MCP Server","href":"/stateset-voice/mcp-server"},{"title":"Mail MCP Server","href":"/stateset-mail/mcp-server"}]},{"group":"Decisions and automation","pages":[{"title":"NSR MCP Server","href":"/stateset-nsr-mcp"},{"title":"Workstream MCP","href":"/next-temporal/mcp-connector"},{"title":"Agents MCP server","href":"/stateset-agents/mcp-server"},{"title":"Computer Use MCP Servers","href":"/computer-use-mcp"},{"title":"Engines and Commerce MCP Servers","href":"/computer-use-engines-mcp"}]}]},{"tab":"Skills","icon":"graduation-cap","groups":[{"group":"Start here","pages":[{"title":"Skills","href":"/agent-skills"}]},{"group":"Skills","pages":[{"title":"iCommerce Agent Operating Guide","href":"/stateset-icommerce-skill"},{"title":"NSR Skill","href":"/stateset-nsr-skill"},{"title":"Sandbox agent operating guide","href":"/stateset-sandbox-skill"},{"title":"Voice Skill","href":"/stateset-voice-skill"},{"title":"Computer Use Skill","href":"/computer-use-skill"},{"title":"Sync Server Skill","href":"/stateset-sync-server-skill"},{"title":"StateSet iCommerce Engine Skills","href":"/stateset-icommerce/stateset-icommerce-skills"}]}]}]}]},"basePath":"","title":"StateSet API Docs","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CrDfRf61.js","snippetPresets-Dv-cOUrx.js","utils-BUTreAgv.js","style-to-object-BY3JEAdk.js","utils-wsznt9RM.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DEsMlaPy.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DontW4xJ.js","_Uint8Array-pP7X6_RM.js","isObject-FP1Yky1u.js","ApiExamples-CU_aGGP0.js","usePlaygroundInputsStore-7dNmUIbS.js","shallow-fTtruD8x.js","isEqual-BRfNFpSD.js","CodeSnippets-52884wUJ.js","CodeSnippet-eoRjC4Le.js","getApiPlaygroundDisplay-CZyAPlR2.js","Page-Cr9IwkK7.js","DynamicMarkdown-NFqqduU7.js","SectionHeading-DQ-mJoAt.js","icon-DXTBUt6s.js","MethodPill-2v-b3js5.js","getPastedJson-v_8Y1_4v.js","DuplicateIcon-DXIkhZIo.js","createIcon-DRpYuPZs.js","axios-CsQoIw0U.js"]}