{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}
{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}
update_workspace
Change a workspace’s mutable configuration. Cost class: fast.
Presence-aware, and whole-block: an omitted field is left alone, a supplied
one replaces its block entirely. Read the workspace, edit the block, send it
back — partial blocks fall back to the schema defaults, which is how a caller
flipping auto_build would otherwise wipe its own exclusion rules.
Graph builds are explicit by default: a build happens when
POST /v1/workspaces/{id}/knowledge-graph/builds asks for one. Turning
knowledge_graph.auto_build on hands that trigger to ingestion instead, for
a workspace that wants a graph over everything it ingests and accepts the bill
for one per ingestion. Either way a build already in flight is unaffected —
cancel it if that is what you meant.
currency follows the same whole-block rule, so {} is how its policy is
cleared. Setting currency.default changes how the next ingestion reads
amounts marked with a symbol that names several currencies ($, ¥, kr);
amounts already extracted as ambiguous stay that way until their file is
re-ingested, because the catalog records what a past extraction could read.
Ordinary workspace names are mutable without changing identity or storage;
platform-provisioned workspace names remain fixed.
The domain and label list are deliberately not mutable here. They are part of the versioned config record stamped
onto every derived artifact, so editing them in place would re-describe
material that was derived under the old one.
{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}
{
"error": {
"code": "invalid_request",
"detail": null,
"message": "Request body has extra fields that this operation does not accept.",
"request_id": "req-01j9k2n3p4q5r6s7t8v9",
"retryable": false
}
}
Authorizations
X-API-Key
string
header
required
Path Parameters
workspace_id
string<uuid>
required
Workspace identifier.
Body
application/json
Change a workspace's mutable configuration.
Presence-aware: a field omitted from the body is left exactly as it is, so a
caller changing one block cannot clear another by not mentioning it. A field
that is supplied replaces its block whole — the rule set_key_grants
follows for label grants, which is what keeps turning a policy off the same
operation as turning it on, with no add/remove asymmetry to get wrong.
The display name of an ordinary workspace (platform-provisioned names stay fixed),
the knowledge-graph, currency and ledger-understanding policies and the global
context are mutable. The domain and the label list are not: both are part of the versioned config
record that every derived artifact is stamped with, so editing them in place
would silently re-describe material that was derived under the old one.
currency
CurrencyPolicy · object | null
The workspace's complete new currency-reading policy, or omitted to leave it unchanged. Whole-block like knowledge_graph: an empty object resets to the USD default, and {"default": null} is how the policy is cleared to assume nothing. Applies from the next ingestion onwards: amounts already extracted as ambiguous stay that way until their file is re-ingested, since the catalog records what a past extraction could read.
Show child attributes
global_context
string | null
The workspace's new global context, or omitted to leave it unchanged; "" clears it. Standing background for every query in this workspace — how its journals are keyed, which entity it covers, what an auditor already knows. A je-testing or search request that omits context runs with this text; a request that sends context replaces it for that run, and "" runs with none. Empty means none. Surrounding whitespace is stripped.
Maximum string length: 20000
knowledge_graph
KnowledgeGraphConfig · object | null
The workspace's complete new knowledge-graph policy, or omitted to leave it unchanged. Supplying it replaces every field it holds, so send the block read back from the workspace with your edits applied rather than only the key you are changing.
Show child attributes
ledger_understanding
LedgerUnderstandingConfig · object | null
The workspace's complete new ledger-understanding policy, or omitted to leave it unchanged. Whole-block like knowledge_graph. Turning the trigger off stops future ingestions chaining a run; it never refuses an explicit one, and it does not withdraw a report already measured.
Show child attributes
name
string
New display name for an ordinary workspace. Platform-provisioned names are fixed. Omit to keep the current name; null is not accepted.
Required string length: 1 - 200
Response
Successful Response
A provisioned workspace, as the API returns it.
Storage metadata identifies the durable backend without exposing credentials.
access
AccessConfig · object
required
A workspace's access-control setting, chosen once at creation.
labels = [] is the default and means no filtering at all — no
classification pass at ingestion, no filter clause at retrieval, and
Coverage reports nothing. A workspace that does not need document-level
access control should not pay for a classification that always returns the
same answer.
Coverage reporting is always strict: whenever the gate withholds candidates,
the response says so in counts and label names. A silently narrowed answer
is the failure mode this platform exists to prevent, so there is no opt-out.
Show child attributes
config_version
integer
required
created_at
string<date-time>
required
currency
CurrencyPolicy · object
required
How this workspace's documents should be read where they leave a currency open.
Extraction never converts an amount and never invents a currency: one whose
currency the source does not state is recorded as ambiguous with no
value, so it matches no amount filter. New workspaces default to
DEFAULT_WORKSPACE_CURRENCY (USD), so a corpus that writes every total as a
bare $900.00 and names a currency nowhere is filterable out of the box.
Set default to another ISO code to change the reading, or to null to
assume nothing — an amount whose currency the source never states then stays
ambiguous rather than being read as USD.
Show child attributes
domain_id
string<uuid>
required
domain_slug
string
required
domain_version
integer
required
knowledge_graph
KnowledgeGraphConfig · object
required
A workspace's knowledge-graph build policy.
The defaults keep the whole corpus in scope and build the graph after every
ingestion, so fact search and deep search have it to navigate by. Set
auto_build=false for a workspace that builds only on request.
exclude_path_prefixes and exclude_categories are the workspace-wide
skip rules a file's graph_inclusion can override — a file matching either
is left out of the graph corpus unless it is explicitly include\ d.
Show child attributes
name
string
required
owner_user_id
string<uuid> | null
required
The console user who owns the workspace, or null for an organization-owned integration workspace.
share_count
integer
required
Number of users explicitly granted workspace access; excludes the owner.
Required range: x >= 0
status
enum<string>
required
Lifecycle states visible on the API surface.
deleted is a final internal state; a deleted workspace never appears in
any list or get response — it is as if it never existed.
Available options:
active,
deleting
updated_at
string<date-time>
required
workspace_id
string<uuid>
required
global_context
string
default:""
Standing background for every query in this workspace — how its journals are keyed, which entity it covers, what an auditor already knows. A je-testing or search request that omits context runs with this text; a request that sends context replaces it for that run, and "" runs with none. Empty means none. Surrounding whitespace is stripped.
ledger_understanding
LedgerUnderstandingConfig · object
When this workspace understands its general ledger — table and column roles, the journal key and its balance proof, and the integrity battery. A workspace configured before this block existed reads back the default.
Show child attributes
purpose
enum<string> | null
Set when the platform provisioned this workspace on a person's behalf rather than at a caller's request. Such a workspace cannot be deleted. Null for every workspace created through this API.
Available options:
perception_playground
storage
ManagedWorkspaceStorage · object
The workspace's durable storage backend and external connection health.
ManagedWorkspaceStorage
TenantBucketWorkspaceStorage
ExternalWorkspaceStorage
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NDI Platform API","description":"Document intelligence platform API — parse, split, classify, extract, and ground information from any document.","colors":{"primary":"#111111","light":"#737373","dark":"#E5E5E5"},"favicon":"https://mintcdn.com/nace-ai/RoMHjaneGKdnwusm/favicon.png?fit=max\u0026auto=format\u0026n=RoMHjaneGKdnwusm\u0026q=85\u0026s=9b5d6ee38930c58bd4cc7e964e66a5b0","api":{"openapi":"openapi.json","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl"],"autogenerate":true}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"footer":{"socials":{}},"seo":{"metatags":{"robots":"noindex"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nace-ai","hasAudioNarration":false,"actualSubdomain":"nace-ai","customDomains":["docs.ndi.nace.ai"],"gitSource":{"type":"github","owner":"yeranaceai","repo":"ndi-service-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10f60a9ffae5051c4197fa"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b14b4f195b29a8b67136491","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":106},{"language":"default","tag":"Documentation","count":44},{"language":"default","tag":"SDKs","count":36},{"language":"default","tag":"Core methods","count":28},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Workspaces and files","count":25},{"language":"default","tag":"Catalog","count":22},{"language":"default","tag":"Tools and search","count":21},{"language":"default","tag":"Jobs and usage","count":16},{"language":"default","tag":"Concepts","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/workspaces/update_workspace","slug":"/api-reference/workspaces/update_workspace","pageMetadata":{"title":"update_workspace","description":"Change a workspace's mutable configuration. Cost class: fast.\n\nPresence-aware, and whole-block: an omitted field is left alone, a supplied\none replaces its block entirely. Read the workspace, edit the block, send it\nback — partial blocks fall back to the schema defaults, which is how a caller\nflipping ``auto_build`` would otherwise wipe its own exclusion rules.\n\nGraph builds are explicit by default: a build happens when\n``POST /v1/workspaces/{id}/knowledge-graph/builds`` asks for one. Turning\n``knowledge_graph.auto_build`` on hands that trigger to ingestion instead, for\na workspace that wants a graph over everything it ingests and accepts the bill\nfor one per ingestion. Either way a build already in flight is unaffected —\ncancel it if that is what you meant.\n\n``currency`` follows the same whole-block rule, so ``{}`` is how its policy is\ncleared. Setting ``currency.default`` changes how the *next* ingestion reads\namounts marked with a symbol that names several currencies ($, ¥, kr);\namounts already extracted as ambiguous stay that way until their file is\nre-ingested, because the catalog records what a past extraction could read.\n\nOrdinary workspace names are mutable without changing identity or storage;\nplatform-provisioned workspace names remain fixed.\nThe domain and label list are deliberately not mutable here. They are part of the versioned config record stamped\nonto every derived artifact, so editing them in place would re-describe\nmaterial that was derived under the old one.","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/update_workspace","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n em: \"em\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Change a workspace’s mutable configuration. Cost class: fast.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Presence-aware, and whole-block: an omitted field is left alone, a supplied\\none replaces its block entirely. Read the workspace, edit the block, send it\\nback — partial blocks fall back to the schema defaults, which is how a caller\\nflipping \", _jsx(_components.code, {\n children: \"auto_build\"\n }), \" would otherwise wipe its own exclusion rules.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Graph builds are explicit by default: a build happens when\\n\", _jsx(_components.code, {\n children: \"POST /v1/workspaces/{id}/knowledge-graph/builds\"\n }), \" asks for one. Turning\\n\", _jsx(_components.code, {\n children: \"knowledge_graph.auto_build\"\n }), \" on hands that trigger to ingestion instead, for\\na workspace that wants a graph over everything it ingests and accepts the bill\\nfor one per ingestion. Either way a build already in flight is unaffected —\\ncancel it if that is what you meant.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"currency\"\n }), \" follows the same whole-block rule, so \", _jsx(_components.code, {\n children: \"{}\"\n }), \" is how its policy is\\ncleared. Setting \", _jsx(_components.code, {\n children: \"currency.default\"\n }), \" changes how the \", _jsx(_components.em, {\n children: \"next\"\n }), \" ingestion reads\\namounts marked with a symbol that names several currencies ($, ¥, kr);\\namounts already extracted as ambiguous stay that way until their file is\\nre-ingested, because the catalog records what a past extraction could read.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Ordinary workspace names are mutable without changing identity or storage;\\nplatform-provisioned workspace names remain fixed.\\nThe domain and label list are deliberately not mutable here. They are part of the versioned config record stamped\\nonto every derived artifact, so editing them in place would re-describe\\nmaterial that was derived under the old one.\"\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"update_workspace","description":"Change a workspace's mutable configuration. Cost class: fast.\n\nPresence-aware, and whole-block: an omitted field is left alone, a supplied\none replaces its block entirely. Read the workspace, edit the block, send it\nback — partial blocks fall back to the schema defaults, which is how a caller\nflipping ``auto_build`` would otherwise wipe its own exclusion rules.\n\nGraph builds are explicit by default: a build happens when\n``POST /v1/workspaces/{id}/knowledge-graph/builds`` asks for one. Turning\n``knowledge_graph.auto_build`` on hands that trigger to ingestion instead, for\na workspace that wants a graph over everything it ingests and accepts the bill\nfor one per ingestion. Either way a build already in flight is unaffected —\ncancel it if that is what you meant.\n\n``currency`` follows the same whole-block rule, so ``{}`` is how its policy is\ncleared. Setting ``currency.default`` changes how the *next* ingestion reads\namounts marked with a symbol that names several currencies ($, ¥, kr);\namounts already extracted as ambiguous stay that way until their file is\nre-ingested, because the catalog records what a past extraction could read.\n\nOrdinary workspace names are mutable without changing identity or storage;\nplatform-provisioned workspace names remain fixed.\nThe domain and label list are deliberately not mutable here. They are part of the versioned config record stamped\nonto every derived artifact, so editing them in place would re-describe\nmaterial that was derived under the old one.","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/update_workspace","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Change a workspace's mutable configuration. Cost class: fast.\n\nPresence-aware, and whole-block: an omitted field is left alone, a supplied\none replaces its block entirely. Read the workspace, edit the block, send it\nback — partial blocks fall back to the schema defaults, which is how a caller\nflipping ``auto_build`` would otherwise wipe its own exclusion rules.\n\nGraph builds are explicit by default: a build happens when\n``POST /v1/workspaces/{id}/knowledge-graph/builds`` asks for one. Turning\n``knowledge_graph.auto_build`` on hands that trigger to ingestion instead, for\na workspace that wants a graph over everything it ingests and accepts the bill\nfor one per ingestion. Either way a build already in flight is unaffected —\ncancel it if that is what you meant.\n\n``currency`` follows the same whole-block rule, so ``{}`` is how its policy is\ncleared. Setting ``currency.default`` changes how the *next* ingestion reads\namounts marked with a symbol that names several currencies ($, ¥, kr);\namounts already extracted as ambiguous stay that way until their file is\nre-ingested, because the catalog records what a past extraction could read.\n\nOrdinary workspace names are mutable without changing identity or storage;\nplatform-provisioned workspace names remain fixed.\nThe domain and label list are deliberately not mutable here. They are part of the versioned config record stamped\nonto every derived artifact, so editing them in place would re-describe\nmaterial that was derived under the old one.","operationId":"update_workspace_v1_workspaces__workspace_id__patch","parameters":["d44fd25a-f55a-43ae-860d-af82d399db00"],"requestBody":"5cea0b95-1c69-4e92-84e0-b8a4334b4ee1","responses":{"200":"369086bd-a168-4d44-b797-757a0d94fab9","504":"d1f832a8-c8b6-489a-b990-5c225bfeba93","default":"dcfc7e62-f337-491c-b225-21badd4059fd"},"security":["e8eaeefc-d046-447f-b8ee-44012ea683e8"],"summary":"update_workspace","tags":["workspaces"],"method":"patch","type":"path","servers":["6c99b8bf-ff01-4286-94d9-dfdad7f24155"],"path":"/v1/workspaces/{workspace_id}","baseUrlOptions":["https://ndi-api.nace.ai"],"title":"update_workspace","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d44fd25a-f55a-43ae-860d-af82d399db00":{"description":"Workspace identifier.","in":"path","name":"workspace_id","required":true,"schema":{"description":"Workspace identifier.","format":"uuid","title":"Workspace Id","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"Change a workspace's mutable configuration.\n\nPresence-aware: a field omitted from the body is left exactly as it is, so a\ncaller changing one block cannot clear another by not mentioning it. A field\nthat *is* supplied replaces its block whole — the rule ``set_key_grants``\nfollows for label grants, which is what keeps turning a policy off the same\noperation as turning it on, with no add/remove asymmetry to get wrong.\n\nThe display name of an ordinary workspace (platform-provisioned names stay fixed),\nthe knowledge-graph, currency and ledger-understanding policies and the global\ncontext are mutable. The domain and the label list are not: both are part of the versioned config\nrecord that every derived artifact is stamped with, so editing them in place\nwould silently re-describe material that was derived under the old one.","properties":{"currency":{"oneOf":[{"type":"object","title":"CurrencyPolicy","description":"The workspace's complete new currency-reading policy, or omitted to leave it unchanged. Whole-block like ``knowledge_graph``: an empty object resets to the USD default, and ``{\"default\": null}`` is how the policy is cleared to assume nothing. Applies from the next ingestion onwards: amounts already extracted as ambiguous stay that way until their file is re-ingested, since the catalog records what a past extraction could read.","properties":{"default":{"oneOf":[{"type":"string","title":"Default","description":"ISO 4217 code, e.g. 'USD'.","default":"USD","pattern":"^[A-Z]{3}$","uniqueKey":"currency.oneOf.0.default.oneOf.0","typeLabel":"string"},{"type":"null","title":"Default","description":"Which currency to read when a document marks an amount with a symbol that names several currencies ($ for USD/CAD/AUD/…, ¥ for JPY/CNY, kr for SEK/NOK/…) and states no ISO code anywhere. Defaults to 'USD'; set another ISO code to change it, or null to leave such an amount ambiguous (and so unfilterable). A resolved amount is recorded with 'currency_source: assumed' in the file's metadata so the assumption stays visible. It only ever disambiguates, never invents: an amount written '€900' is still EUR, a '$900' amount in a EUR-default workspace stays ambiguous (a dollar sign is not a way of writing euros), and an amount carrying no currency marker at all is never given one.","default":"USD","uniqueKey":"currency.oneOf.0.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency.oneOf.0.default","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"currency.oneOf.0","typeLabel":"CurrencyPolicy · object"},{"type":"null","description":"The workspace's complete new currency-reading policy, or omitted to leave it unchanged. Whole-block like ``knowledge_graph``: an empty object resets to the USD default, and ``{\"default\": null}`` is how the policy is cleared to assume nothing. Applies from the next ingestion onwards: amounts already extracted as ambiguous stay that way until their file is re-ingested, since the catalog records what a past extraction could read.","uniqueKey":"currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency","typeLabel":"CurrencyPolicy · object | null"},"global_context":{"oneOf":[{"type":"string","title":"Global Context","description":"The workspace's new global context, or omitted to leave it unchanged; `\"\"` clears it. Standing background for every query in this workspace — how its journals are keyed, which entity it covers, what an auditor already knows. A je-testing or search request that omits `context` runs with this text; a request that sends `context` replaces it for that run, and `\"\"` runs with none. Empty means none. Surrounding whitespace is stripped.","maxLength":20000,"uniqueKey":"global_context.oneOf.0","typeLabel":"string"},{"type":"null","title":"Global Context","description":"The workspace's new global context, or omitted to leave it unchanged; `\"\"` clears it. Standing background for every query in this workspace — how its journals are keyed, which entity it covers, what an auditor already knows. A je-testing or search request that omits `context` runs with this text; a request that sends `context` replaces it for that run, and `\"\"` runs with none. Empty means none. Surrounding whitespace is stripped.","uniqueKey":"global_context.oneOf.1","typeLabel":"null"}],"uniqueKey":"global_context","typeLabel":"string | null"},"knowledge_graph":{"oneOf":[{"type":"object","title":"KnowledgeGraphConfig","description":"The workspace's complete new knowledge-graph policy, or omitted to leave it unchanged. Supplying it replaces every field it holds, so send the block read back from the workspace with your edits applied rather than only the key you are changing.","properties":{"auto_build":{"default":true,"description":"Build the graph automatically after each ingestion completes. On by default; turn it off to build only on request (a build is billable and long-running). Ingestion skips the automatic build once the graph corpus reaches the deployment's kg.auto_build.max_corpus_files limit; an explicit build still runs.","title":"Auto Build","type":"boolean","uniqueKey":"knowledge_graph.oneOf.0.auto_build","typeLabel":"boolean"},"exclude_categories":{"description":"Files whose category is any of these are kept out of the graph corpus (override per file).","items":{"maxLength":1024,"type":"string","uniqueKey":"knowledge_graph.oneOf.0.exclude_categories.items.[INDEX]","typeLabel":"string"},"maxItems":128,"title":"Exclude Categories","type":"array","uniqueKey":"knowledge_graph.oneOf.0.exclude_categories","typeLabel":"string[]"},"exclude_path_prefixes":{"description":"Files whose path starts with any of these are kept out of the graph corpus (override per file).","items":{"maxLength":1024,"type":"string","uniqueKey":"knowledge_graph.oneOf.0.exclude_path_prefixes.items.[INDEX]","typeLabel":"string"},"maxItems":128,"title":"Exclude Path Prefixes","type":"array","uniqueKey":"knowledge_graph.oneOf.0.exclude_path_prefixes","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"knowledge_graph.oneOf.0","typeLabel":"KnowledgeGraphConfig · object"},{"type":"null","description":"The workspace's complete new knowledge-graph policy, or omitted to leave it unchanged. Supplying it replaces every field it holds, so send the block read back from the workspace with your edits applied rather than only the key you are changing.","uniqueKey":"knowledge_graph.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_graph","typeLabel":"KnowledgeGraphConfig · object | null"},"ledger_understanding":{"oneOf":[{"type":"object","title":"LedgerUnderstandingConfig","description":"The workspace's complete new ledger-understanding policy, or omitted to leave it unchanged. Whole-block like ``knowledge_graph``. Turning the trigger off stops future ingestions chaining a run; it never refuses an explicit one, and it does not withdraw a report already measured.","properties":{"engine":{"default":"measured","description":"Discovery method; selected packages always run measured validation.","enum":["measured","llm"],"title":"Engine","type":"string","uniqueKey":"ledger_understanding.oneOf.0.engine","typeLabel":"enum\u003cstring>"},"gl_parsing":{"default":true,"description":"Whether the stage should also map each journal's account/debit-credit groups to balanced sub-journals and publish the mapping as a derived table.","title":"Gl Parsing","type":"boolean","uniqueKey":"ledger_understanding.oneOf.0.gl_parsing","typeLabel":"boolean"},"package_confirmation":{"default":"required","description":"Who confirms an llm-discovered package before GL parsing: a person, or the model on its own. When a person must, parsing runs only on the mapping that person confirmed.","enum":["required","automatic"],"title":"Package Confirmation","type":"string","uniqueKey":"ledger_understanding.oneOf.0.package_confirmation","typeLabel":"enum\u003cstring>"},"package_scope":{"additionalProperties":false,"description":"Default package selection for understanding, including ingestion-triggered runs.","properties":{"path_prefix":{"oneOf":[{"type":"string","title":"Path Prefix","description":"Folder containing the package, relative to the workspace root.","uniqueKey":"ledger_understanding.oneOf.0.package_scope.path_prefix.oneOf.0","typeLabel":"string"},{"type":"null","title":"Path Prefix","description":"Folder containing the package, relative to the workspace root.","uniqueKey":"ledger_understanding.oneOf.0.package_scope.path_prefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.oneOf.0.package_scope.path_prefix","typeLabel":"string | null"},"paths":{"description":"Exact source paths in the package, added to every path under the prefix.","items":{"type":"string","uniqueKey":"ledger_understanding.oneOf.0.package_scope.paths.items.[INDEX]","typeLabel":"string"},"title":"Paths","type":"array","uniqueKey":"ledger_understanding.oneOf.0.package_scope.paths","typeLabel":"string[]"},"selection_id":{"oneOf":[{"type":"string","title":"Selection Id","description":"Protected, immutable source-role selection reference.","format":"uuid","uniqueKey":"ledger_understanding.oneOf.0.package_scope.selection_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Selection Id","description":"Protected, immutable source-role selection reference.","uniqueKey":"ledger_understanding.oneOf.0.package_scope.selection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.oneOf.0.package_scope.selection_id","typeLabel":"string\u003cuuid> | null"}},"title":"LedgerPackageScope","type":"object","uniqueKey":"ledger_understanding.oneOf.0.package_scope","typeLabel":"LedgerPackageScope · object"},"prepared_relationships":{"description":"Reviewed large-table relationships to prepare before JET starts. Empty disables preparation.","items":{"additionalProperties":false,"description":"One reviewed large-table relationship ledger understanding should prepare.","properties":{"bucket_count":{"description":"Number of hash buckets materialized on each side.","exclusiveMinimum":0,"maximum":1024,"title":"Bucket Count","type":"integer","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].bucket_count","typeLabel":"integer"},"keys":{"description":"Ordered equality key components.","items":{"additionalProperties":false,"description":"One ordered equality component of a prepared relationship.","properties":{"left_column":{"description":"Column on the left table.","minLength":1,"title":"Left Column","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_column","typeLabel":"string"},"right_column":{"description":"Column on the right table.","minLength":1,"title":"Right Column","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_column","typeLabel":"string"},"left_normalization":{"oneOf":[{"type":"object","title":"PreparedIdentityNormalizationConfig","description":"Compare a VARCHAR key exactly as stored.","properties":{"kind":{"const":"identity","default":"identity","description":"Keep the stored text unchanged.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.0.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.0","typeLabel":"PreparedIdentityNormalizationConfig · object"},{"type":"object","title":"PreparedLeftPadNormalizationConfig","description":"Apply the declared single-character left padding before comparison.","required":["width","fill"],"properties":{"fill":{"description":"Single character used for padding.","maxLength":1,"minLength":1,"title":"Fill","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1.fill","typeLabel":"string"},"width":{"description":"Width of the normalized key.","exclusiveMinimum":0,"maximum":1024,"title":"Width","type":"integer","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1.width","typeLabel":"integer"},"kind":{"const":"left_pad","default":"left_pad","description":"Left-pad the stored text to a fixed width.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1","typeLabel":"PreparedLeftPadNormalizationConfig · object"}],"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization","typeLabel":"PreparedIdentityNormalizationConfig · object | PreparedLeftPadNormalizationConfig · object"},"right_normalization":{"oneOf":[{"type":"object","title":"PreparedIdentityNormalizationConfig","description":"Compare a VARCHAR key exactly as stored.","properties":{"kind":{"const":"identity","default":"identity","description":"Keep the stored text unchanged.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.0.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.0","typeLabel":"PreparedIdentityNormalizationConfig · object"},{"type":"object","title":"PreparedLeftPadNormalizationConfig","description":"Apply the declared single-character left padding before comparison.","required":["width","fill"],"properties":{"fill":{"description":"Single character used for padding.","maxLength":1,"minLength":1,"title":"Fill","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1.fill","typeLabel":"string"},"width":{"description":"Width of the normalized key.","exclusiveMinimum":0,"maximum":1024,"title":"Width","type":"integer","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1.width","typeLabel":"integer"},"kind":{"const":"left_pad","default":"left_pad","description":"Left-pad the stored text to a fixed width.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1","typeLabel":"PreparedLeftPadNormalizationConfig · object"}],"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization","typeLabel":"PreparedIdentityNormalizationConfig · object | PreparedLeftPadNormalizationConfig · object"}},"required":["left_column","right_column"],"title":"PreparedKeyConfig","type":"object","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys.items.[INDEX]","typeLabel":"PreparedKeyConfig · object"},"maxItems":8,"minItems":1,"title":"Keys","type":"array","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].keys","typeLabel":"PreparedKeyConfig · object[]"},"left":{"additionalProperties":false,"description":"Workspace table used as the left side.","properties":{"path":{"description":"Workspace path or published dataset root.","minLength":1,"title":"Path","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].left.path","typeLabel":"string"},"component":{"oneOf":[{"type":"string","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].left.component.oneOf.0","typeLabel":"string"},{"type":"null","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].left.component.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].left.component","typeLabel":"string | null"}},"required":["path"],"title":"PreparedTableSelectionConfig","type":"object","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].left","typeLabel":"PreparedTableSelectionConfig · object"},"name":{"description":"Stable name for the prepared relationship.","maxLength":100,"minLength":1,"title":"Name","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].name","typeLabel":"string"},"right":{"additionalProperties":false,"description":"Workspace table used as the right side.","properties":{"path":{"description":"Workspace path or published dataset root.","minLength":1,"title":"Path","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].right.path","typeLabel":"string"},"component":{"oneOf":[{"type":"string","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].right.component.oneOf.0","typeLabel":"string"},{"type":"null","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].right.component.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].right.component","typeLabel":"string | null"}},"required":["path"],"title":"PreparedTableSelectionConfig","type":"object","isRequired":true,"uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX].right","typeLabel":"PreparedTableSelectionConfig · object"}},"required":["name","left","right","keys","bucket_count"],"title":"PreparedRelationshipConfig","type":"object","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships.items.[INDEX]","typeLabel":"PreparedRelationshipConfig · object"},"maxItems":4,"title":"Prepared Relationships","type":"array","uniqueKey":"ledger_understanding.oneOf.0.prepared_relationships","typeLabel":"PreparedRelationshipConfig · object[]"},"trigger":{"default":"auto","description":"When an ingestion should chain the stage: only for a workspace that holds a journal-line table, after every ingestion that landed files, or never.","enum":["auto","always","off"],"title":"Trigger","type":"string","uniqueKey":"ledger_understanding.oneOf.0.trigger","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.oneOf.0","typeLabel":"LedgerUnderstandingConfig · object"},{"type":"null","description":"The workspace's complete new ledger-understanding policy, or omitted to leave it unchanged. Whole-block like ``knowledge_graph``. Turning the trigger off stops future ingestions chaining a run; it never refuses an explicit one, and it does not withdraw a report already measured.","uniqueKey":"ledger_understanding.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding","typeLabel":"LedgerUnderstandingConfig · object | null"},"name":{"description":"New display name for an ordinary workspace. Platform-provisioned names are fixed. Omit to keep the current name; null is not accepted.","maxLength":200,"minLength":1,"title":"Name","type":"string","uniqueKey":"name","typeLabel":"string"}},"title":"UpdateWorkspaceRequest","type":"object","uniqueKey":"","typeLabel":"UpdateWorkspaceRequest · object"},"examples":{"Example":{"title":"Example","value":{"currency":{"default":"USD"},"global_context":"\u003cstring>","knowledge_graph":{"auto_build":true,"exclude_categories":["\u003cstring>"],"exclude_path_prefixes":["\u003cstring>"]},"ledger_understanding":{"engine":"measured","gl_parsing":true,"package_confirmation":"required","package_scope":{"path_prefix":"\u003cstring>","paths":["\u003cstring>"],"selection_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"prepared_relationships":[{"bucket_count":123,"keys":[{"left_column":"\u003cstring>","right_column":"\u003cstring>","left_normalization":{"kind":"identity"},"right_normalization":{"kind":"identity"}}],"left":{"path":"\u003cstring>","component":"\u003cstring>"},"name":"\u003cstring>","right":{"path":"\u003cstring>","component":"\u003cstring>"}}],"trigger":"auto"},"name":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"369086bd-a168-4d44-b797-757a0d94fab9":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"A provisioned workspace, as the API returns it.\n\nStorage metadata identifies the durable backend without exposing credentials.","properties":{"access":{"additionalProperties":false,"description":"A workspace's access-control setting, chosen once at creation.\n\n``labels = []`` is the default and means **no filtering at all** — no\nclassification pass at ingestion, no filter clause at retrieval, and\n``Coverage`` reports nothing. A workspace that does not need document-level\naccess control should not pay for a classification that always returns the\nsame answer.\n\nCoverage reporting is always strict: whenever the gate withholds candidates,\nthe response says so in counts and label names. A silently narrowed answer\nis the failure mode this platform exists to prevent, so there is no opt-out.","properties":{"default_label":{"oneOf":[{"type":"string","title":"Default Label","description":"Applied when the classifier cannot decide. Required whenever labels is non-empty.","uniqueKey":"access.default_label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Default Label","description":"Applied when the classifier cannot decide. Required whenever labels is non-empty.","uniqueKey":"access.default_label.oneOf.1","typeLabel":"null"}],"uniqueKey":"access.default_label","typeLabel":"string | null"},"labels":{"items":{"additionalProperties":false,"description":"One label in a workspace's unordered list.","properties":{"description":{"description":"This string IS the classifier's prompt.","title":"Description","type":"string","isRequired":true,"uniqueKey":"access.labels.items.[INDEX].description","typeLabel":"string"},"name":{"maxLength":64,"pattern":"^[a-z0-9]+(?:_[a-z0-9]+)*$","title":"Name","type":"string","isRequired":true,"uniqueKey":"access.labels.items.[INDEX].name","typeLabel":"string"}},"required":["name","description"],"title":"AccessLabel","type":"object","uniqueKey":"access.labels.items.[INDEX]","typeLabel":"AccessLabel · object"},"maxItems":16,"title":"Labels","type":"array","uniqueKey":"access.labels","typeLabel":"AccessLabel · object[]"}},"title":"AccessConfig","type":"object","isRequired":true,"uniqueKey":"access","typeLabel":"AccessConfig · object"},"config_version":{"title":"Config Version","type":"integer","isRequired":true,"uniqueKey":"config_version","typeLabel":"integer"},"created_at":{"format":"date-time","title":"Created At","type":"string","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"currency":{"additionalProperties":false,"description":"How this workspace's documents should be read where they leave a currency open.\n\nExtraction never converts an amount and never invents a currency: one whose\ncurrency the source does not state is recorded as ``ambiguous`` with no\nvalue, so it matches no amount filter. New workspaces default to\n``DEFAULT_WORKSPACE_CURRENCY`` (USD), so a corpus that writes every total as a\nbare ``$900.00`` and names a currency nowhere is filterable out of the box.\nSet ``default`` to another ISO code to change the reading, or to ``null`` to\nassume nothing — an amount whose currency the source never states then stays\n``ambiguous`` rather than being read as USD.","properties":{"default":{"oneOf":[{"type":"string","title":"Default","description":"ISO 4217 code, e.g. 'USD'.","default":"USD","pattern":"^[A-Z]{3}$","uniqueKey":"currency.default.oneOf.0","typeLabel":"string"},{"type":"null","title":"Default","description":"Which currency to read when a document marks an amount with a symbol that names several currencies ($ for USD/CAD/AUD/…, ¥ for JPY/CNY, kr for SEK/NOK/…) and states no ISO code anywhere. Defaults to 'USD'; set another ISO code to change it, or null to leave such an amount ambiguous (and so unfilterable). A resolved amount is recorded with 'currency_source: assumed' in the file's metadata so the assumption stays visible. It only ever disambiguates, never invents: an amount written '€900' is still EUR, a '$900' amount in a EUR-default workspace stays ambiguous (a dollar sign is not a way of writing euros), and an amount carrying no currency marker at all is never given one.","default":"USD","uniqueKey":"currency.default.oneOf.1","typeLabel":"null"}],"uniqueKey":"currency.default","typeLabel":"string | null"}},"title":"CurrencyPolicy","type":"object","isRequired":true,"uniqueKey":"currency","typeLabel":"CurrencyPolicy · object"},"domain_id":{"format":"uuid","title":"Domain Id","type":"string","isRequired":true,"uniqueKey":"domain_id","typeLabel":"string\u003cuuid>"},"domain_slug":{"title":"Domain Slug","type":"string","isRequired":true,"uniqueKey":"domain_slug","typeLabel":"string"},"domain_version":{"title":"Domain Version","type":"integer","isRequired":true,"uniqueKey":"domain_version","typeLabel":"integer"},"knowledge_graph":{"additionalProperties":false,"description":"A workspace's knowledge-graph build policy.\n\nThe defaults keep the whole corpus in scope and build the graph after every\ningestion, so fact search and deep search have it to navigate by. Set\n``auto_build=false`` for a workspace that builds only on request.\n``exclude_path_prefixes`` and ``exclude_categories`` are the workspace-wide\nskip rules a file's ``graph_inclusion`` can override — a file matching either\nis left out of the graph corpus unless it is explicitly ``include``\\ d.","properties":{"auto_build":{"default":true,"description":"Build the graph automatically after each ingestion completes. On by default; turn it off to build only on request (a build is billable and long-running). Ingestion skips the automatic build once the graph corpus reaches the deployment's kg.auto_build.max_corpus_files limit; an explicit build still runs.","title":"Auto Build","type":"boolean","uniqueKey":"knowledge_graph.auto_build","typeLabel":"boolean"},"exclude_categories":{"description":"Files whose category is any of these are kept out of the graph corpus (override per file).","items":{"maxLength":1024,"type":"string","uniqueKey":"knowledge_graph.exclude_categories.items.[INDEX]","typeLabel":"string"},"maxItems":128,"title":"Exclude Categories","type":"array","uniqueKey":"knowledge_graph.exclude_categories","typeLabel":"string[]"},"exclude_path_prefixes":{"description":"Files whose path starts with any of these are kept out of the graph corpus (override per file).","items":{"maxLength":1024,"type":"string","uniqueKey":"knowledge_graph.exclude_path_prefixes.items.[INDEX]","typeLabel":"string"},"maxItems":128,"title":"Exclude Path Prefixes","type":"array","uniqueKey":"knowledge_graph.exclude_path_prefixes","typeLabel":"string[]"}},"title":"KnowledgeGraphConfig","type":"object","isRequired":true,"uniqueKey":"knowledge_graph","typeLabel":"KnowledgeGraphConfig · object"},"name":{"title":"Name","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"owner_user_id":{"oneOf":[{"type":"string","title":"Owner User Id","description":"The console user who owns the workspace, or null for an organization-owned integration workspace.","format":"uuid","isRequired":true,"uniqueKey":"owner_user_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Owner User Id","description":"The console user who owns the workspace, or null for an organization-owned integration workspace.","isRequired":true,"uniqueKey":"owner_user_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"owner_user_id","typeLabel":"string\u003cuuid> | null"},"share_count":{"description":"Number of users explicitly granted workspace access; excludes the owner.","minimum":0,"title":"Share Count","type":"integer","isRequired":true,"uniqueKey":"share_count","typeLabel":"integer"},"status":{"description":"Lifecycle states visible on the API surface.\n\n``deleted`` is a final internal state; a deleted workspace never appears in\nany list or ``get`` response — it is as if it never existed.","enum":["active","deleting"],"title":"WorkspaceStatus","type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"updated_at":{"format":"date-time","title":"Updated At","type":"string","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"workspace_id":{"format":"uuid","title":"Workspace Id","type":"string","isRequired":true,"uniqueKey":"workspace_id","typeLabel":"string\u003cuuid>"},"global_context":{"default":"","description":"Standing background for every query in this workspace — how its journals are keyed, which entity it covers, what an auditor already knows. A je-testing or search request that omits `context` runs with this text; a request that sends `context` replaces it for that run, and `\"\"` runs with none. Empty means none. Surrounding whitespace is stripped.","title":"Global Context","type":"string","uniqueKey":"global_context","typeLabel":"string"},"ledger_understanding":{"additionalProperties":false,"description":"When this workspace understands its general ledger — table and column roles, the journal key and its balance proof, and the integrity battery. A workspace configured before this block existed reads back the default.","properties":{"engine":{"default":"measured","description":"Discovery method; selected packages always run measured validation.","enum":["measured","llm"],"title":"Engine","type":"string","uniqueKey":"ledger_understanding.engine","typeLabel":"enum\u003cstring>"},"gl_parsing":{"default":true,"description":"Whether the stage should also map each journal's account/debit-credit groups to balanced sub-journals and publish the mapping as a derived table.","title":"Gl Parsing","type":"boolean","uniqueKey":"ledger_understanding.gl_parsing","typeLabel":"boolean"},"package_confirmation":{"default":"required","description":"Who confirms an llm-discovered package before GL parsing: a person, or the model on its own. When a person must, parsing runs only on the mapping that person confirmed.","enum":["required","automatic"],"title":"Package Confirmation","type":"string","uniqueKey":"ledger_understanding.package_confirmation","typeLabel":"enum\u003cstring>"},"package_scope":{"additionalProperties":false,"description":"Default package selection for understanding, including ingestion-triggered runs.","properties":{"path_prefix":{"oneOf":[{"type":"string","title":"Path Prefix","description":"Folder containing the package, relative to the workspace root.","uniqueKey":"ledger_understanding.package_scope.path_prefix.oneOf.0","typeLabel":"string"},{"type":"null","title":"Path Prefix","description":"Folder containing the package, relative to the workspace root.","uniqueKey":"ledger_understanding.package_scope.path_prefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.package_scope.path_prefix","typeLabel":"string | null"},"paths":{"description":"Exact source paths in the package, added to every path under the prefix.","items":{"type":"string","uniqueKey":"ledger_understanding.package_scope.paths.items.[INDEX]","typeLabel":"string"},"title":"Paths","type":"array","uniqueKey":"ledger_understanding.package_scope.paths","typeLabel":"string[]"},"selection_id":{"oneOf":[{"type":"string","title":"Selection Id","description":"Protected, immutable source-role selection reference.","format":"uuid","uniqueKey":"ledger_understanding.package_scope.selection_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Selection Id","description":"Protected, immutable source-role selection reference.","uniqueKey":"ledger_understanding.package_scope.selection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.package_scope.selection_id","typeLabel":"string\u003cuuid> | null"}},"title":"LedgerPackageScope","type":"object","uniqueKey":"ledger_understanding.package_scope","typeLabel":"LedgerPackageScope · object"},"prepared_relationships":{"description":"Reviewed large-table relationships to prepare before JET starts. Empty disables preparation.","items":{"additionalProperties":false,"description":"One reviewed large-table relationship ledger understanding should prepare.","properties":{"bucket_count":{"description":"Number of hash buckets materialized on each side.","exclusiveMinimum":0,"maximum":1024,"title":"Bucket Count","type":"integer","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].bucket_count","typeLabel":"integer"},"keys":{"description":"Ordered equality key components.","items":{"additionalProperties":false,"description":"One ordered equality component of a prepared relationship.","properties":{"left_column":{"description":"Column on the left table.","minLength":1,"title":"Left Column","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_column","typeLabel":"string"},"right_column":{"description":"Column on the right table.","minLength":1,"title":"Right Column","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_column","typeLabel":"string"},"left_normalization":{"oneOf":[{"type":"object","title":"PreparedIdentityNormalizationConfig","description":"Compare a VARCHAR key exactly as stored.","properties":{"kind":{"const":"identity","default":"identity","description":"Keep the stored text unchanged.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.0.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.0","typeLabel":"PreparedIdentityNormalizationConfig · object"},{"type":"object","title":"PreparedLeftPadNormalizationConfig","description":"Apply the declared single-character left padding before comparison.","required":["width","fill"],"properties":{"fill":{"description":"Single character used for padding.","maxLength":1,"minLength":1,"title":"Fill","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1.fill","typeLabel":"string"},"width":{"description":"Width of the normalized key.","exclusiveMinimum":0,"maximum":1024,"title":"Width","type":"integer","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1.width","typeLabel":"integer"},"kind":{"const":"left_pad","default":"left_pad","description":"Left-pad the stored text to a fixed width.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization.oneOf.1","typeLabel":"PreparedLeftPadNormalizationConfig · object"}],"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].left_normalization","typeLabel":"PreparedIdentityNormalizationConfig · object | PreparedLeftPadNormalizationConfig · object"},"right_normalization":{"oneOf":[{"type":"object","title":"PreparedIdentityNormalizationConfig","description":"Compare a VARCHAR key exactly as stored.","properties":{"kind":{"const":"identity","default":"identity","description":"Keep the stored text unchanged.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.0.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.0","typeLabel":"PreparedIdentityNormalizationConfig · object"},{"type":"object","title":"PreparedLeftPadNormalizationConfig","description":"Apply the declared single-character left padding before comparison.","required":["width","fill"],"properties":{"fill":{"description":"Single character used for padding.","maxLength":1,"minLength":1,"title":"Fill","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1.fill","typeLabel":"string"},"width":{"description":"Width of the normalized key.","exclusiveMinimum":0,"maximum":1024,"title":"Width","type":"integer","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1.width","typeLabel":"integer"},"kind":{"const":"left_pad","default":"left_pad","description":"Left-pad the stored text to a fixed width.","title":"Kind","type":"string","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1.kind","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization.oneOf.1","typeLabel":"PreparedLeftPadNormalizationConfig · object"}],"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX].right_normalization","typeLabel":"PreparedIdentityNormalizationConfig · object | PreparedLeftPadNormalizationConfig · object"}},"required":["left_column","right_column"],"title":"PreparedKeyConfig","type":"object","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys.items.[INDEX]","typeLabel":"PreparedKeyConfig · object"},"maxItems":8,"minItems":1,"title":"Keys","type":"array","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].keys","typeLabel":"PreparedKeyConfig · object[]"},"left":{"additionalProperties":false,"description":"Workspace table used as the left side.","properties":{"path":{"description":"Workspace path or published dataset root.","minLength":1,"title":"Path","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].left.path","typeLabel":"string"},"component":{"oneOf":[{"type":"string","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].left.component.oneOf.0","typeLabel":"string"},{"type":"null","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].left.component.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].left.component","typeLabel":"string | null"}},"required":["path"],"title":"PreparedTableSelectionConfig","type":"object","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].left","typeLabel":"PreparedTableSelectionConfig · object"},"name":{"description":"Stable name for the prepared relationship.","maxLength":100,"minLength":1,"title":"Name","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].name","typeLabel":"string"},"right":{"additionalProperties":false,"description":"Workspace table used as the right side.","properties":{"path":{"description":"Workspace path or published dataset root.","minLength":1,"title":"Path","type":"string","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].right.path","typeLabel":"string"},"component":{"oneOf":[{"type":"string","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].right.component.oneOf.0","typeLabel":"string"},{"type":"null","title":"Component","description":"Worksheet or component when the path has more than one table.","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].right.component.oneOf.1","typeLabel":"null"}],"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].right.component","typeLabel":"string | null"}},"required":["path"],"title":"PreparedTableSelectionConfig","type":"object","isRequired":true,"uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX].right","typeLabel":"PreparedTableSelectionConfig · object"}},"required":["name","left","right","keys","bucket_count"],"title":"PreparedRelationshipConfig","type":"object","uniqueKey":"ledger_understanding.prepared_relationships.items.[INDEX]","typeLabel":"PreparedRelationshipConfig · object"},"maxItems":4,"title":"Prepared Relationships","type":"array","uniqueKey":"ledger_understanding.prepared_relationships","typeLabel":"PreparedRelationshipConfig · object[]"},"trigger":{"default":"auto","description":"When an ingestion should chain the stage: only for a workspace that holds a journal-line table, after every ingestion that landed files, or never.","enum":["auto","always","off"],"title":"Trigger","type":"string","uniqueKey":"ledger_understanding.trigger","typeLabel":"enum\u003cstring>"}},"title":"LedgerUnderstandingConfig","type":"object","uniqueKey":"ledger_understanding","typeLabel":"LedgerUnderstandingConfig · object"},"purpose":{"oneOf":[{"type":"string","title":"WorkspacePurpose","description":"Set when the platform provisioned this workspace on a person's behalf rather than at a caller's request. Such a workspace cannot be deleted. Null for every workspace created through this API.","enum":["perception_playground"],"uniqueKey":"purpose.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Set when the platform provisioned this workspace on a person's behalf rather than at a caller's request. Such a workspace cannot be deleted. Null for every workspace created through this API.","uniqueKey":"purpose.oneOf.1","typeLabel":"null"}],"uniqueKey":"purpose","typeLabel":"enum\u003cstring> | null"},"storage":{"oneOf":[{"type":"object","title":"ManagedWorkspaceStorage","description":"The workspace's durable storage backend and external connection health.","properties":{"type":{"const":"managed","default":"managed","title":"Type","type":"string","uniqueKey":"storage.oneOf.0.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"storage.oneOf.0","typeLabel":"ManagedWorkspaceStorage · object"},{"type":"object","title":"TenantBucketWorkspaceStorage","description":"The workspace's durable storage backend and external connection health.","required":["location"],"properties":{"location":{"description":"Workspace namespace in the tenant's configured bucket.","title":"Location","type":"string","isRequired":true,"uniqueKey":"storage.oneOf.1.location","typeLabel":"string"},"provider":{"const":"s3","default":"s3","title":"Provider","type":"string","uniqueKey":"storage.oneOf.1.provider","typeLabel":"string"},"type":{"const":"tenant_bucket","default":"tenant_bucket","title":"Type","type":"string","uniqueKey":"storage.oneOf.1.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"storage.oneOf.1","typeLabel":"TenantBucketWorkspaceStorage · object"},{"type":"object","title":"ExternalWorkspaceStorage","description":"The workspace's durable storage backend and external connection health.","properties":{"connection_id":{"oneOf":[{"type":"string","title":"Connection Id","description":"Reusable storage connection bound permanently to this workspace; each workspace has its own exclusive namespace. Null when the caller cannot view the storage connection.","format":"uuid","uniqueKey":"storage.oneOf.2.connection_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","title":"Connection Id","description":"Reusable storage connection bound permanently to this workspace; each workspace has its own exclusive namespace. Null when the caller cannot view the storage connection.","uniqueKey":"storage.oneOf.2.connection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"storage.oneOf.2.connection_id","typeLabel":"string\u003cuuid> | null"},"health":{"oneOf":[{"type":"string","title":"Health","description":"Current connection authorization state. Null when the caller cannot view the storage connection.","enum":["draft","ready","degraded","revoked"],"uniqueKey":"storage.oneOf.2.health.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Health","description":"Current connection authorization state. Null when the caller cannot view the storage connection.","uniqueKey":"storage.oneOf.2.health.oneOf.1","typeLabel":"null"}],"uniqueKey":"storage.oneOf.2.health","typeLabel":"enum\u003cstring> | null"},"location":{"oneOf":[{"type":"string","title":"Location","description":"Exclusive namespace containing this workspace's durable objects. Null when the caller cannot view the storage connection.","uniqueKey":"storage.oneOf.2.location.oneOf.0","typeLabel":"string"},{"type":"null","title":"Location","description":"Exclusive namespace containing this workspace's durable objects. Null when the caller cannot view the storage connection.","uniqueKey":"storage.oneOf.2.location.oneOf.1","typeLabel":"null"}],"uniqueKey":"storage.oneOf.2.location","typeLabel":"string | null"},"provider":{"oneOf":[{"type":"string","title":"Provider","description":"Customer object storage provider. Null when the caller cannot view the storage connection.","enum":["s3","azure_blob","s3_compatible","gcs"],"uniqueKey":"storage.oneOf.2.provider.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Provider","description":"Customer object storage provider. Null when the caller cannot view the storage connection.","uniqueKey":"storage.oneOf.2.provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"storage.oneOf.2.provider","typeLabel":"enum\u003cstring> | null"},"type":{"const":"external","default":"external","title":"Type","type":"string","uniqueKey":"storage.oneOf.2.type","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"storage.oneOf.2","typeLabel":"ExternalWorkspaceStorage · object"}],"uniqueKey":"storage","typeLabel":"ManagedWorkspaceStorage · object | TenantBucketWorkspaceStorage · object | ExternalWorkspaceStorage · object"}},"required":["workspace_id","owner_user_id","share_count","name","domain_id","domain_slug","domain_version","access","knowledge_graph","currency","config_version","status","created_at","updated_at"],"title":"Workspace","type":"object","uniqueKey":"","typeLabel":"Workspace · object"},"examples":{"Example":{"title":"Example","value":{"access":{"default_label":"\u003cstring>","labels":[{"description":"\u003cstring>","name":"\u003cstring>"}]},"config_version":123,"created_at":"2023-11-07T05:31:56Z","currency":{"default":"USD"},"domain_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","domain_slug":"\u003cstring>","domain_version":123,"knowledge_graph":{"auto_build":true,"exclude_categories":["\u003cstring>"],"exclude_path_prefixes":["\u003cstring>"]},"name":"\u003cstring>","owner_user_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","share_count":1,"status":"active","updated_at":"2023-11-07T05:31:56Z","workspace_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","global_context":"","ledger_understanding":{"engine":"measured","gl_parsing":true,"package_confirmation":"required","package_scope":{"path_prefix":"\u003cstring>","paths":["\u003cstring>"],"selection_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"prepared_relationships":[{"bucket_count":123,"keys":[{"left_column":"\u003cstring>","right_column":"\u003cstring>","left_normalization":{"kind":"identity"},"right_normalization":{"kind":"identity"}}],"left":{"path":"\u003cstring>","component":"\u003cstring>"},"name":"\u003cstring>","right":{"path":"\u003cstring>","component":"\u003cstring>"}}],"trigger":"auto"},"purpose":"perception_playground","storage":{"type":"managed"}}}},"exampleType":"generated"}},"description":"Successful Response","exampleType":"generated"},"d1f832a8-c8b6-489a-b990-5c225bfeba93":{"content":{"application/json":{"schema":{"description":"Every non-2xx body on ``/v1``.","example":{"error":{"code":"invalid_request","detail":null,"message":"Request body has extra fields that this operation does not accept.","request_id":"req-01j9k2n3p4q5r6s7t8v9","retryable":false}},"properties":{"error":{"description":"The error object, per spec 12 §1.8.","properties":{"code":{"description":"Every error the ``/v1`` surface can return.\n\nClients must treat this as an **open** enum: a new member is an additive\nchange (spec 12 §9), and a client that crashes on an unknown code makes\nevery future error a breaking change.","enum":["storage_connection_not_found","storage_connection_in_use","storage_limit_exceeded","storage_conflict","ingestion_superseded","storage_auth_required","storage_unavailable","scan_required","scan_rejected","scan_unavailable","invalid_request","unsupported_file_type","file_too_large","invalid_schema","invalid_sql","invalid_path_prefix","command_not_permitted","batch_too_large","domain_validation_failed","default_label_required","wait_required_for_zero_retention","ledger_decision_invalid","tenant_required","partner_required","workspace_not_found","file_not_found","job_not_found","upload_not_found","node_not_found","schema_not_found","domain_not_found","session_not_found","access_label_not_found","ledger_understanding_not_found","ledger_table_not_found","tenant_not_found","path_conflict","schema_version_conflict","access_label_name_taken","workspace_name_taken","access_label_in_use","upload_expired","file_not_ingested","workspace_deleting","workspace_not_deletable","ingestion_in_progress","job_not_cancellable","confirmation_required","domain_not_published","domain_in_use","reserved_domain_slug","kg_not_built","kg_build_in_progress","ledger_understanding_in_progress","ledger_understanding_version_outdated","session_busy","tenant_limit_reached","range_not_satisfiable","result_expired","access_denied","tenant_disabled","access_backstop_violation","access_mode_not_implemented","rate_limited","concurrency_limit_reached","quota_exceeded","corrupt_file","zero_byte_file","encrypted_file","csv_dialect_ambiguous","csv_parse_failed","parse_failed","ocr_failed","conversion_failed","sheetless_workbook","unplayable_media","unclassified_pages","job_cancelled","job_timeout","queue_timeout","funding_expired","model_call_limit_exceeded","upstream_unavailable","internal_error","unauthorized","not_implemented"],"title":"ErrorCode","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human- and model-readable; says what to do differently.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether retrying the identical request could succeed.","title":"Retryable","type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"detail":{"oneOf":[{"type":"object","title":"Detail","description":"Structured payload, when the code carries one.","additionalProperties":true,"uniqueKey":"error.detail.oneOf.0","typeLabel":"Detail · object"},{"type":"null","title":"Detail","description":"Structured payload, when the code carries one.","uniqueKey":"error.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detail","typeLabel":"Detail · object | null"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Per-request correlation id; matches the ``X-Request-Id`` header. Null only when the error was minted outside any HTTP request, e.g. by a worker.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Per-request correlation id; matches the ``X-Request-Id`` header. Null only when the error was minted outside any HTTP request, e.g. by a worker.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","retryable"],"title":"Error","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorEnvelope","type":"object","uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","detail":null,"message":"Request body has extra fields that this operation does not accept.","request_id":"req-01j9k2n3p4q5r6s7t8v9","retryable":false}}}},"exampleType":"generated"}},"description":"Gateway Timeout","exampleType":"generated"},"dcfc7e62-f337-491c-b225-21badd4059fd":{"content":{"application/json":{"example":{"error":{"code":"invalid_request","detail":null,"message":"Request body has extra fields that this operation does not accept.","request_id":"req-01j9k2n3p4q5r6s7t8v9","retryable":false}},"schema":{"description":"Every non-2xx body on ``/v1``.","example":{"error":{"code":"invalid_request","detail":null,"message":"Request body has extra fields that this operation does not accept.","request_id":"req-01j9k2n3p4q5r6s7t8v9","retryable":false}},"properties":{"error":{"description":"The error object, per spec 12 §1.8.","properties":{"code":{"description":"Every error the ``/v1`` surface can return.\n\nClients must treat this as an **open** enum: a new member is an additive\nchange (spec 12 §9), and a client that crashes on an unknown code makes\nevery future error a breaking change.","enum":["storage_connection_not_found","storage_connection_in_use","storage_limit_exceeded","storage_conflict","ingestion_superseded","storage_auth_required","storage_unavailable","scan_required","scan_rejected","scan_unavailable","invalid_request","unsupported_file_type","file_too_large","invalid_schema","invalid_sql","invalid_path_prefix","command_not_permitted","batch_too_large","domain_validation_failed","default_label_required","wait_required_for_zero_retention","ledger_decision_invalid","tenant_required","partner_required","workspace_not_found","file_not_found","job_not_found","upload_not_found","node_not_found","schema_not_found","domain_not_found","session_not_found","access_label_not_found","ledger_understanding_not_found","ledger_table_not_found","tenant_not_found","path_conflict","schema_version_conflict","access_label_name_taken","workspace_name_taken","access_label_in_use","upload_expired","file_not_ingested","workspace_deleting","workspace_not_deletable","ingestion_in_progress","job_not_cancellable","confirmation_required","domain_not_published","domain_in_use","reserved_domain_slug","kg_not_built","kg_build_in_progress","ledger_understanding_in_progress","ledger_understanding_version_outdated","session_busy","tenant_limit_reached","range_not_satisfiable","result_expired","access_denied","tenant_disabled","access_backstop_violation","access_mode_not_implemented","rate_limited","concurrency_limit_reached","quota_exceeded","corrupt_file","zero_byte_file","encrypted_file","csv_dialect_ambiguous","csv_parse_failed","parse_failed","ocr_failed","conversion_failed","sheetless_workbook","unplayable_media","unclassified_pages","job_cancelled","job_timeout","queue_timeout","funding_expired","model_call_limit_exceeded","upstream_unavailable","internal_error","unauthorized","not_implemented"],"title":"ErrorCode","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"description":"Human- and model-readable; says what to do differently.","title":"Message","type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"description":"Whether retrying the identical request could succeed.","title":"Retryable","type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"detail":{"oneOf":[{"type":"object","title":"Detail","description":"Structured payload, when the code carries one.","additionalProperties":true,"uniqueKey":"error.detail.oneOf.0","typeLabel":"Detail · object"},{"type":"null","title":"Detail","description":"Structured payload, when the code carries one.","uniqueKey":"error.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.detail","typeLabel":"Detail · object | null"},"request_id":{"oneOf":[{"type":"string","title":"Request Id","description":"Per-request correlation id; matches the ``X-Request-Id`` header. Null only when the error was minted outside any HTTP request, e.g. by a worker.","uniqueKey":"error.request_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Request Id","description":"Per-request correlation id; matches the ``X-Request-Id`` header. Null only when the error was minted outside any HTTP request, e.g. by a worker.","uniqueKey":"error.request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.request_id","typeLabel":"string | null"}},"required":["code","message","retryable"],"title":"Error","type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"required":["error"],"title":"ErrorEnvelope","type":"object","uniqueKey":"","typeLabel":"ErrorEnvelope · object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"invalid_request","detail":null,"message":"Request body has extra fields that this operation does not accept.","request_id":"req-01j9k2n3p4q5r6s7t8v9","retryable":false}}}},"exampleType":"examples"}},"description":"Typed error envelope used by every 4xx and 5xx. ``error.code`` distinguishes the failure; HTTP status is a consequence of the code.","exampleType":"examples"}},"security":{"e8eaeefc-d046-447f-b8ee-44012ea683e8":{"APIKeyHeader":{"in":"header","name":"X-API-Key","type":"apiKey","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"6c99b8bf-ff01-4286-94d9-dfdad7f24155":{"url":"https://ndi-api.nace.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"X-API-Key","type":"apiKey","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"X-API-Key"}],"title":"APIKeyHeader"}]},"originalFileLocation":"openapi.json"},"subdomain":"nace-ai","siteName":"NDI Platform API","title":"update_workspace - NDI Platform API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-06T01:06:01.856Z","originalFileLocation":"api-reference/workspaces/update_workspace.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=\"Change a workspace\u0026#x27;s mutable configuration. Cost class: fast. Presence-aware, and whole-block: an omitted field is left alone, a supplied one replaces its block entirely. Read the workspace, edit the block, send it back — partial blocks fall back to the schema defaults, which is how a caller flipping auto_build would otherwise wipe its own exclusion rules. Graph builds are explicit by default: a build happens when POST /v1/workspaces/{id}/knowledge-graph/builds asks for one. Turning knowledge_graph.auto_build on hands that trigger to ingestion instead, for a workspace that wants a graph over everything it ingests and accepts the bill for one per ingestion. Either way a build already in flight is unaffected — cancel it if that is what you meant. currency follows the same whole-block rule, so {} is how its policy is cleared. Setting currency.default changes how the next ingestion reads amounts marked with a symbol that names several currencies ($, ¥, kr); amounts already extracted as ambiguous stay that way until their file is re-ingested, because the catalog records what a past extraction could read. Ordinary workspace names are mutable without changing identity or storage; platform-provisioned workspace names remain fixed. The domain and label list are deliberately not mutable here. They are part of the versioned config record stamped onto every derived artifact, so editing them in place would re-describe material that was derived under the old one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NDI Platform API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_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/nace-ai/ON_ODtu5ozmA-6iq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"update_workspace - NDI Platform API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change a workspace\u0026#x27;s mutable configuration. Cost class: fast. Presence-aware, and whole-block: an omitted field is left alone, a supplied one replaces its block entirely. Read the workspace, edit the block, send it back — partial blocks fall back to the schema defaults, which is how a caller flipping auto_build would otherwise wipe its own exclusion rules. Graph builds are explicit by default: a build happens when POST /v1/workspaces/{id}/knowledge-graph/builds asks for one. Turning knowledge_graph.auto_build on hands that trigger to ingestion instead, for a workspace that wants a graph over everything it ingests and accepts the bill for one per ingestion. Either way a build already in flight is unaffected — cancel it if that is what you meant. currency follows the same whole-block rule, so {} is how its policy is cleared. Setting currency.default changes how the next ingestion reads amounts marked with a symbol that names several currencies ($, ¥, kr); amounts already extracted as ambiguous stay that way until their file is re-ingested, because the catalog records what a past extraction could read. Ordinary workspace names are mutable without changing identity or storage; platform-provisioned workspace names remain fixed. The domain and label list are deliberately not mutable here. They are part of the versioned config record stamped onto every derived artifact, so editing them in place would re-describe material that was derived under the old one.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NDI Platform API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nace-ai.mintlify.site/_mintlify/api/og/v2?division=Workspaces+and+files\u0026amp;title=update_workspace\u0026amp;description=Change+a+workspace%27s+mutable+configuration.+Cost+class%3A+fast.%0A%0APresence-aware%2C+and+whole-block%3A+an+omitted+field+is+left+alone%2C+a+supplied%0Aone+replaces+its+bloc\u0026amp;theme=8e0aab37bff8a500df6616b2\u0026amp;signature=ddc5c102967cf3895109ad5d69ac0d702d15d2202953bacd36cc36012c74bfa9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"update_workspace - NDI Platform API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change a workspace\u0026#x27;s mutable configuration. Cost class: fast. Presence-aware, and whole-block: an omitted field is left alone, a supplied one replaces its block entirely. Read the workspace, edit the block, send it back — partial blocks fall back to the schema defaults, which is how a caller flipping auto_build would otherwise wipe its own exclusion rules. Graph builds are explicit by default: a build happens when POST /v1/workspaces/{id}/knowledge-graph/builds asks for one. Turning knowledge_graph.auto_build on hands that trigger to ingestion instead, for a workspace that wants a graph over everything it ingests and accepts the bill for one per ingestion. Either way a build already in flight is unaffected — cancel it if that is what you meant. currency follows the same whole-block rule, so {} is how its policy is cleared. Setting currency.default changes how the next ingestion reads amounts marked with a symbol that names several currencies ($, ¥, kr); amounts already extracted as ambiguous stay that way until their file is re-ingested, because the catalog records what a past extraction could read. Ordinary workspace names are mutable without changing identity or storage; platform-provisioned workspace names remain fixed. The domain and label list are deliberately not mutable here. They are part of the versioned config record stamped onto every derived artifact, so editing them in place would re-describe material that was derived under the old one.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nace-ai.mintlify.site/_mintlify/api/og/v2?division=Workspaces+and+files\u0026amp;title=update_workspace\u0026amp;description=Change+a+workspace%27s+mutable+configuration.+Cost+class%3A+fast.%0A%0APresence-aware%2C+and+whole-block%3A+an+omitted+field+is+left+alone%2C+a+supplied%0Aone+replaces+its+bloc\u0026amp;theme=8e0aab37bff8a500df6616b2\u0026amp;signature=ddc5c102967cf3895109ad5d69ac0d702d15d2202953bacd36cc36012c74bfa9\">\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/nace-ai/ON_ODtu5ozmA-6iq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NDI Platform API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workspaces/update_workspace.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ndi.nace.ai/#organization\",\"name\":\"NDI Platform API\",\"url\":\"https://docs.ndi.nace.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ndi.nace.ai#website\",\"name\":\"NDI Platform API\",\"url\":\"https://docs.ndi.nace.ai\",\"publisher\":{\"@id\":\"https://docs.ndi.nace.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace#webpage\",\"url\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace\",\"name\":\"update_workspace\",\"description\":\"Change a workspace's mutable configuration. Cost class: fast. Presence-aware, and whole-block: an omitted field is left alone, a supplied one replaces its block entirely. Read the workspace, edit the block, send it back — partial blocks fall back to the schema defaults, which is how a caller flipping auto_build would otherwise wipe its own exclusion rules. Graph builds are explicit by default: a build happens when POST /v1/workspaces/{id}/knowledge-graph/builds asks for one. Turning knowledge_graph.auto_build on hands that trigger to ingestion instead, for a workspace that wants a graph over everything it ingests and accepts the bill for one per ingestion. Either way a build already in flight is unaffected — cancel it if that is what you meant. currency follows the same whole-block rule, so {} is how its policy is cleared. Setting currency.default changes how the next ingestion reads amounts marked with a symbol that names several currencies ($, ¥, kr); amounts already extracted as ambiguous stay that way until their file is re-ingested, because the catalog records what a past extraction could read. Ordinary workspace names are mutable without changing identity or storage; platform-provisioned workspace names remain fixed. The domain and label list are deliberately not mutable here. They are part of the versioned config record stamped onto every derived artifact, so editing them in place would re-describe material that was derived under the old one.\",\"dateModified\":\"2026-12-06T01:06:01.856Z\",\"isPartOf\":{\"@id\":\"https://docs.ndi.nace.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workspaces and files\",\"item\":\"https://docs.ndi.nace.ai/api-reference/workspaces\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"update_workspace\",\"item\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace#apireference\",\"headline\":\"update_workspace\",\"name\":\"update_workspace\",\"description\":\"Change a workspace's mutable configuration. Cost class: fast. Presence-aware, and whole-block: an omitted field is left alone, a supplied one replaces its block entirely. Read the workspace, edit the block, send it back — partial blocks fall back to the schema defaults, which is how a caller flipping auto_build would otherwise wipe its own exclusion rules. Graph builds are explicit by default: a build happens when POST /v1/workspaces/{id}/knowledge-graph/builds asks for one. Turning knowledge_graph.auto_build on hands that trigger to ingestion instead, for a workspace that wants a graph over everything it ingests and accepts the bill for one per ingestion. Either way a build already in flight is unaffected — cancel it if that is what you meant. currency follows the same whole-block rule, so {} is how its policy is cleared. Setting currency.default changes how the next ingestion reads amounts marked with a symbol that names several currencies ($, ¥, kr); amounts already extracted as ambiguous stay that way until their file is re-ingested, because the catalog records what a past extraction could read. Ordinary workspace names are mutable without changing identity or storage; platform-provisioned workspace names remain fixed. The domain and label list are deliberately not mutable here. They are part of the versioned config record stamped onto every derived artifact, so editing them in place would re-describe material that was derived under the old one.\",\"url\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/update_workspace#webpage\"},\"dateModified\":\"2026-12-06T01:06:01.856Z\",\"publisher\":{\"@id\":\"https://docs.ndi.nace.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ndi.nace.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NDI Platform API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NDI Platform API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/workspaces/update_workspace.md","siteName":"NDI Platform API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Conventions","pages":[{"title":"API conventions","href":"/api-reference/overview"}]},{"group":"Granular operations","pages":[{"title":"Uploads","href":"/api-reference/uploads"},{"title":"Document operations","href":"/api-reference/document-operations"},{"title":"create_upload","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/uploads","href":"/api-reference/document-operations/create_upload"},{"title":"parse","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/parse","href":"/api-reference/document-operations/parse"},{"title":"split","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/split","href":"/api-reference/document-operations/split"},{"title":"classify","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/classify","href":"/api-reference/document-operations/classify"},{"title":"extract","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/extract","href":"/api-reference/document-operations/extract"},{"title":"validate_extract_schema","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/extract/schema-validation","href":"/api-reference/document-operations/validate_extract_schema"},{"title":"ground","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/ground","href":"/api-reference/document-operations/ground"}]},{"group":"Decisions","pages":[{"title":"Drex (Decision Model)","href":"/api-reference/systemone"},{"title":"evaluate_systemone","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/systemone","href":"/api-reference/systemone/evaluate_systemone"}]},{"group":"Catalog","pages":[{"title":"Domains","href":"/api-reference/domains"},{"title":"Access labels","href":"/api-reference/access-labels"},{"title":"Extraction schemas","href":"/api-reference/extraction-schemas"},{"title":"list_domains","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/domains","href":"/api-reference/domains/list_domains"},{"title":"generate_domain","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains/generate","href":"/api-reference/domains/generate_domain"},{"title":"suggest_domain_description","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains/suggest-description","href":"/api-reference/domains/suggest_domain_description"},{"title":"create_domain","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains","href":"/api-reference/domains/create_domain"},{"title":"get_domain","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/domains/{domain_id}","href":"/api-reference/domains/get_domain"},{"title":"update_domain","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/domains/{domain_id}","href":"/api-reference/domains/update_domain"},{"title":"publish_domain","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/domains/{domain_id}/publish","href":"/api-reference/domains/publish_domain"},{"title":"list_access_labels","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/access-labels","href":"/api-reference/access-labels/list_access_labels"},{"title":"create_access_label","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/access-labels","href":"/api-reference/access-labels/create_access_label"},{"title":"get_access_label","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/access-labels/{access_label_id}","href":"/api-reference/access-labels/get_access_label"},{"title":"update_access_label","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/access-labels/{access_label_id}","href":"/api-reference/access-labels/update_access_label"},{"title":"delete_access_label","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/access-labels/{access_label_id}","href":"/api-reference/access-labels/delete_access_label"},{"title":"list_extraction_schemas","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/extraction-schemas","href":"/api-reference/extraction-schemas/list_extraction_schemas"},{"title":"create_extraction_schema","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/extraction-schemas","href":"/api-reference/extraction-schemas/create_extraction_schema"},{"title":"get_extraction_schema","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/extraction-schemas/{schema_id}","href":"/api-reference/extraction-schemas/get_extraction_schema"},{"title":"delete_extraction_schema","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/extraction-schemas/{schema_id}","href":"/api-reference/extraction-schemas/delete_extraction_schema"},{"title":"list_extraction_schema_versions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/extraction-schemas/{schema_id}/versions","href":"/api-reference/extraction-schemas/list_extraction_schema_versions"},{"title":"create_extraction_schema_version","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/extraction-schemas/{schema_id}/versions","href":"/api-reference/extraction-schemas/create_extraction_schema_version"},{"title":"get_extraction_schema_version","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/extraction-schemas/{schema_id}/versions/{version}","href":"/api-reference/extraction-schemas/get_extraction_schema_version"}]},{"group":"Workspaces and files","pages":[{"title":"Workspaces","href":"/api-reference/workspaces"},{"title":"Files","href":"/api-reference/files"},{"title":"create_workspace","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces","href":"/api-reference/workspaces/create_workspace"},{"title":"list_workspaces","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces","href":"/api-reference/workspaces/list_workspaces"},{"title":"get_workspace","description":"Read one workspace. Cost class: fast.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/get_workspace"},{"title":"update_workspace","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/update_workspace"},{"title":"get_workspace_stats","description":"Compute workspace content statistics. Cost class: fast.\n\nReturns file counts, byte totals, ingestion timestamps, and expiry\ninformation — enough for a caller to determine whether the workspace needs\ningestion or a re-ingest without paging through ``list_files``.\n\n``kg_nodes`` / ``kg_edges`` describe the workspace's published knowledge\ngraph, and are zero until a build has finished one. They come from the\nbuild's own record rather than the graph itself, so this stays a fast read;\nan unreachable graph store reports zero rather than failing the request.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/stats","href":"/api-reference/workspaces/get_workspace_stats"},{"title":"delete_workspace","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/workspaces/{workspace_id}","href":"/api-reference/workspaces/delete_workspace"},{"title":"create_upload_grant","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/upload-grants","href":"/api-reference/files/create_upload_grant"},{"title":"upload_file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/files","href":"/api-reference/files/upload_file"},{"title":"list_files","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/files","href":"/api-reference/files/list_files"},{"title":"get_file","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/files/{file_id}","href":"/api-reference/files/get_file"},{"title":"get_file_metadata","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/files/{file_id}/metadata","href":"/api-reference/files/get_file_metadata"},{"title":"get_file_output","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/files/{file_id}/outputs/{output_id}","href":"/api-reference/files/get_file_output"},{"title":"list_output_members","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/files/{file_id}/outputs/{output_id}/members","href":"/api-reference/files/list_output_members"},{"title":"get_file_versions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/files/{file_id}/versions","href":"/api-reference/files/get_file_versions"},{"title":"replace_file","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/workspaces/{workspace_id}/files/{file_id}","href":"/api-reference/files/replace_file"},{"title":"delete_file","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/workspaces/{workspace_id}/files/{file_id}","href":"/api-reference/files/delete_file"},{"title":"create_upload_session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/upload-sessions","href":"/api-reference/files/create_upload_session"},{"title":"upload_session_part","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/workspaces/{workspace_id}/upload-sessions/{session_id}/parts/{part_number}","href":"/api-reference/files/upload_session_part"},{"title":"get_upload_session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/upload-sessions/{session_id}","href":"/api-reference/files/get_upload_session"},{"title":"complete_upload_session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/upload-sessions/{session_id}/complete","href":"/api-reference/files/complete_upload_session"},{"title":"abort_upload_session","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/workspaces/{workspace_id}/upload-sessions/{session_id}","href":"/api-reference/files/abort_upload_session"},{"title":"get_artifact_content","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/artifacts/content","href":"/api-reference/artifacts/get_artifact_content"},{"title":"get_artifact_rows","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces/{workspace_id}/artifacts/rows","href":"/api-reference/artifacts/get_artifact_rows"}]},{"group":"Ingestion and graph","pages":[{"title":"Ingestion","href":"/api-reference/ingestion"},{"title":"Knowledge graph build","href":"/api-reference/knowledge-graph"},{"title":"ingest","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/ingestions","href":"/api-reference/ingestion/ingest"},{"title":"reconcile","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/reconciliations","href":"/api-reference/ingestion/reconcile"},{"title":"build_knowledge_graph","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/knowledge-graph/builds","href":"/api-reference/knowledge-graph/build_knowledge_graph"}]},{"group":"Tools and search","pages":[{"title":"File tools","href":"/api-reference/file-tools"},{"title":"Fact and deep search (deprecated)","href":"/api-reference/intelligent-search"},{"title":"Filtered search (deprecated)","href":"/api-reference/filtered-search"},{"title":"Journal-entry testing","href":"/api-reference/je-testing"},{"title":"Ledger understanding","href":"/api-reference/ledger-understanding"},{"title":"Automatic search","href":"/api-reference/automatic-search"},{"title":"QA","href":"/api-reference/qa"},{"title":"folder_metadata","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/folder-metadata","href":"/api-reference/tools/folder_metadata"},{"title":"file_metadata","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/file-metadata","href":"/api-reference/tools/file_metadata"},{"title":"catalog","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/catalog","href":"/api-reference/tools/catalog"},{"title":"locate","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/locate","href":"/api-reference/tools/locate"},{"title":"read_file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/read-file","href":"/api-reference/tools/read_file"},{"title":"run_sql","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/run-sql","href":"/api-reference/tools/run_sql"},{"title":"qa_file","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/qa-file","href":"/api-reference/tools/qa_file"},{"title":"query_tables","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/tools/query-tables","href":"/api-reference/tools/query_tables"},{"title":"deep_search","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/deep-search","href":"/api-reference/intelligent-search/deep_search"},{"title":"fact_search","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/fact-search","href":"/api-reference/intelligent-search/fact_search"},{"title":"filtered_search","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/filtered-search","href":"/api-reference/filtered-search/filtered_search"},{"title":"je_testing","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/je-testing","href":"/api-reference/je-testing/je_testing"},{"title":"automatic_search","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/automatic-search","href":"/api-reference/intelligent-search/automatic_search"},{"title":"qa","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces/{workspace_id}/qa","href":"/api-reference/intelligent-search/qa"}]},{"group":"Jobs and usage","pages":[{"title":"Jobs","href":"/api-reference/jobs"},{"title":"Usage","href":"/api-reference/usage"},{"title":"list_jobs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs","href":"/api-reference/operations/list_jobs"},{"title":"get_job","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}","href":"/api-reference/operations/get_job"},{"title":"update_job","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/jobs/{job_id}","href":"/api-reference/operations/update_job"},{"title":"delete_job","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/jobs/{job_id}","href":"/api-reference/operations/delete_job"},{"title":"get_job_request","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/request","href":"/api-reference/operations/get_job_request"},{"title":"cancel_job","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/jobs/{job_id}/cancel","href":"/api-reference/operations/cancel_job"},{"title":"stream_job_events","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/events","href":"/api-reference/operations/stream_job_events"},{"title":"get_ground_crop_content","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/ground-crops/{artifact_ref}","href":"/api-reference/operations/get_ground_crop_content"},{"title":"get_ground_transcript_content","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/ground-transcript/{artifact_ref}","href":"/api-reference/operations/get_ground_transcript_content"},{"title":"get_parse_transcript_content","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/parse-transcript/{artifact_ref}","href":"/api-reference/operations/get_parse_transcript_content"},{"title":"get_converted_pdf_content","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/converted-pdf/{artifact_ref}","href":"/api-reference/operations/get_converted_pdf_content"},{"title":"get_spreadsheet_cell_map_content","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/jobs/{job_id}/spreadsheet-cell-maps/{artifact_ref}","href":"/api-reference/operations/get_spreadsheet_cell_map_content"},{"title":"get_usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/operations/get_usage"},{"title":"get_usage_overview","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage/overview","href":"/api-reference/operations/get_usage_overview"}]},{"group":"Partners","pages":[{"title":"Tenants","href":"/api-reference/tenants"},{"title":"list_tenants","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/tenants","href":"/api-reference/tenants/list_tenants"},{"title":"put_tenant","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/tenants/{external_ref}","href":"/api-reference/tenants/put_tenant"},{"title":"get_tenant","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/tenants/{external_ref}","href":"/api-reference/tenants/get_tenant"},{"title":"delete_tenant","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/tenants/{external_ref}","href":"/api-reference/tenants/delete_tenant"}]}]},{"tab":"SDKs","versions":[{"version":"Python","groups":[{"group":"Get started","pages":[{"title":"Python SDK","href":"/sdks/python"}]},{"group":"Core methods","pages":[{"title":"Upload","href":"/sdks/python/upload"},{"title":"Parse","href":"/sdks/python/parse"},{"title":"Extract","href":"/sdks/python/extract"},{"title":"Split","href":"/sdks/python/split"},{"title":"Classify","href":"/sdks/python/classify"},{"title":"Ground","href":"/sdks/python/ground"},{"title":"Workspaces","href":"/sdks/python/workspaces"},{"title":"Storage connections","href":"/sdks/python/storage-connections"},{"title":"Deep search (deprecated)","href":"/sdks/python/search"},{"title":"Journal-entry testing","href":"/sdks/python/je-testing"},{"title":"Ledger understanding","href":"/sdks/python/ledger-understanding"},{"title":"Automatic search","href":"/sdks/python/automatic-search"},{"title":"QA","href":"/sdks/python/qa"},{"title":"Drex (Decision Model)","href":"/sdks/python/systemone"}]},{"group":"Async and utilities","pages":[{"title":"Async client","href":"/sdks/python/async"},{"title":"Job management","href":"/sdks/python/job-management"},{"title":"Error handling","href":"/sdks/python/error-handling"}]}]},{"version":"TypeScript","pages":[{"title":"TypeScript","href":"/sdks/typescript"}]}]}]},"basePath":"","title":"update_workspace - NDI Platform API","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}