{
"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
}
}
create_workspace
Provision a new workspace. Cost class: fast.
Every field has a sensible default so a caller who knows nothing creates a
working workspace with just a name. The workspace is immediately usable for
ingestion after this call; no activation step is needed.
Retry with the same Idempotency-Key and body after an interrupted response.
{
"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
Headers
Idempotency-Key
string | null
Use the same key to recover an earlier request. A replay returned as a Job carries Idempotent-Replayed: true and replayed: true without a new charge; Job credits keeps the original cost. Re-serving a settled inline tool answer reports zero credits for that call and also carries Idempotent-Replayed: true; a fresh re-execution after a transient failure carries no header. The key is kept with the job for replay and never cleared, so it must not contain personal data.
Maximum string length: 200
Body
application/json
Provision a new workspace.
Every field has a default so a caller who knows nothing creates a working
workspace with just a name. Creating a workspace ingests nothing and costs
nothing — it is a namespace plus a configuration.
name
string
required
Required string length: 1 - 200
access
AccessConfig · object
Access-label configuration. labels=[] (the default) disables filtering entirely.
Show child attributes
currency
CurrencyPolicy · object
How to read amounts whose currency the documents leave open. Defaults to USD; send default=null to assume nothing.
Show child attributes
domain_slug
string
default:generic
Domain vocabulary. Resolved to the latest published version unless pinned.
domain_version
integer | null
Pin a specific domain version. Omit to take the latest published.
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.
Maximum string length: 20000
knowledge_graph
KnowledgeGraphConfig · object
Knowledge-graph build policy. Builds are on demand unless this asks for automatic ones, so a workspace only pays for a graph someone wanted.
Show child attributes
ledger_understanding
LedgerUnderstandingConfig · object
When to understand the workspace's general ledger — table and column roles, the journal key and its balance proof, and the integrity battery. Runs automatically for a workspace that holds a journal-line table, and costs one that does not nothing.
Show child attributes
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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/workspaces/create_workspace","slug":"/api-reference/workspaces/create_workspace","pageMetadata":{"title":"create_workspace","description":"Provision a new workspace. Cost class: fast.\n\nEvery field has a sensible default so a caller who knows nothing creates a\nworking workspace with just a name. The workspace is immediately usable for\ningestion after this call; no activation step is needed.\n\nRetry with the same Idempotency-Key and body after an interrupted response.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces","href":"/api-reference/workspaces/create_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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Provision a new workspace. Cost class: fast.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Every field has a sensible default so a caller who knows nothing creates a\\nworking workspace with just a name. The workspace is immediately usable for\\ningestion after this call; no activation step is needed.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Retry with the same Idempotency-Key and body after an interrupted response.\"\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":"create_workspace","description":"Provision a new workspace. Cost class: fast.\n\nEvery field has a sensible default so a caller who knows nothing creates a\nworking workspace with just a name. The workspace is immediately usable for\ningestion after this call; no activation step is needed.\n\nRetry with the same Idempotency-Key and body after an interrupted response.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/workspaces","href":"/api-reference/workspaces/create_workspace","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Provision a new workspace. Cost class: fast.\n\nEvery field has a sensible default so a caller who knows nothing creates a\nworking workspace with just a name. The workspace is immediately usable for\ningestion after this call; no activation step is needed.\n\nRetry with the same Idempotency-Key and body after an interrupted response.","operationId":"create_workspace_v1_workspaces_post","parameters":["e9deb9e2-479e-4b3b-a8dc-2bdcbe8318e0"],"requestBody":"1113e44f-e43f-43bf-94fb-04a3a4b38453","responses":{"201":"14a6bfbd-afc9-41dd-b2b7-c2948e1d672e","504":"15abb9b0-9120-46d8-88e9-69cbabb925d0","default":"ec1ab6b0-ce11-44ba-abcb-8ec242ad52ea"},"security":["510c93fc-5007-4a96-a78a-b350410767c2"],"summary":"create_workspace","tags":["workspaces"],"method":"post","type":"path","servers":["6c99b8bf-ff01-4286-94d9-dfdad7f24155"],"path":"/v1/workspaces","baseUrlOptions":["https://ndi-api.nace.ai"],"title":"create_workspace","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"e9deb9e2-479e-4b3b-a8dc-2bdcbe8318e0":{"description":"Use the same key to recover an earlier request. A replay returned as a Job carries Idempotent-Replayed: true and replayed: true without a new charge; Job credits keeps the original cost. Re-serving a settled inline tool answer reports zero credits for that call and also carries Idempotent-Replayed: true; a fresh re-execution after a transient failure carries no header. The key is kept with the job for replay and never cleared, so it must not contain personal data.","in":"header","name":"Idempotency-Key","required":false,"schema":{"oneOf":[{"type":"string","title":"Idempotency-Key","description":"Use the same key to recover an earlier request. A replay returned as a Job carries Idempotent-Replayed: true and replayed: true without a new charge; Job credits keeps the original cost. Re-serving a settled inline tool answer reports zero credits for that call and also carries Idempotent-Replayed: true; a fresh re-execution after a transient failure carries no header. The key is kept with the job for replay and never cleared, so it must not contain personal data.","maxLength":200,"uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Idempotency-Key","description":"Use the same key to recover an earlier request. A replay returned as a Job carries Idempotent-Replayed: true and replayed: true without a new charge; Job credits keeps the original cost. Re-serving a settled inline tool answer reports zero credits for that call and also carries Idempotent-Replayed: true; a fresh re-execution after a transient failure carries no header. The key is kept with the job for replay and never cleared, so it must not contain personal data.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"Provision a new workspace.\n\nEvery field has a default so a caller who knows nothing creates a working\nworkspace with just a name. Creating a workspace ingests nothing and costs\nnothing — it is a namespace plus a configuration.","properties":{"name":{"maxLength":200,"minLength":1,"title":"Name","type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"access":{"additionalProperties":false,"description":"Access-label configuration. ``labels=[]`` (the default) disables filtering entirely.","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","uniqueKey":"access","typeLabel":"AccessConfig · object"},"currency":{"additionalProperties":false,"description":"How to read amounts whose currency the documents leave open. Defaults to USD; send default=null to assume nothing.","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","uniqueKey":"currency","typeLabel":"CurrencyPolicy · object"},"domain_slug":{"default":"generic","description":"Domain vocabulary. Resolved to the latest published version unless pinned.","title":"Domain Slug","type":"string","uniqueKey":"domain_slug","typeLabel":"string"},"domain_version":{"oneOf":[{"type":"integer","title":"Domain Version","description":"Pin a specific domain version. Omit to take the latest published.","uniqueKey":"domain_version.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Domain Version","description":"Pin a specific domain version. Omit to take the latest published.","uniqueKey":"domain_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"domain_version","typeLabel":"integer | null"},"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.","maxLength":20000,"title":"Global Context","type":"string","uniqueKey":"global_context","typeLabel":"string"},"knowledge_graph":{"additionalProperties":false,"description":"Knowledge-graph build policy. Builds are on demand unless this asks for automatic ones, so a workspace only pays for a graph someone wanted.","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","uniqueKey":"knowledge_graph","typeLabel":"KnowledgeGraphConfig · object"},"ledger_understanding":{"additionalProperties":false,"description":"When to understand the workspace's general ledger — table and column roles, the journal key and its balance proof, and the integrity battery. Runs automatically for a workspace that holds a journal-line table, and costs one that does not nothing.","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"}},"required":["name"],"title":"CreateWorkspaceRequest","type":"object","uniqueKey":"","typeLabel":"CreateWorkspaceRequest · object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","access":{"default_label":"\u003cstring>","labels":[{"description":"\u003cstring>","name":"\u003cstring>"}]},"currency":{"default":"USD"},"domain_slug":"generic","domain_version":123,"global_context":"","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"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"14a6bfbd-afc9-41dd-b2b7-c2948e1d672e":{"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"},"15abb9b0-9120-46d8-88e9-69cbabb925d0":{"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"},"ec1ab6b0-ce11-44ba-abcb-8ec242ad52ea":{"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":{"510c93fc-5007-4a96-a78a-b350410767c2":{"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":"create_workspace - NDI Platform API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-06T01:06:01.810Z","originalFileLocation":"api-reference/workspaces/create_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=\"Provision a new workspace. Cost class: fast. Every field has a sensible default so a caller who knows nothing creates a working workspace with just a name. The workspace is immediately usable for ingestion after this call; no activation step is needed. Retry with the same Idempotency-Key and body after an interrupted response.\">\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=\"create_workspace - NDI Platform API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Provision a new workspace. Cost class: fast. Every field has a sensible default so a caller who knows nothing creates a working workspace with just a name. The workspace is immediately usable for ingestion after this call; no activation step is needed. Retry with the same Idempotency-Key and body after an interrupted response.\">\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/create_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=create_workspace\u0026amp;description=Provision+a+new+workspace.+Cost+class%3A+fast.%0A%0AEvery+field+has+a+sensible+default+so+a+caller+who+knows+nothing+creates+a%0Aworking+workspace+with+just+a+name.+The\u0026amp;theme=8e0aab37bff8a500df6616b2\u0026amp;signature=34759d5555874b074faecfd97125bc7020dcb1b15d776e355dff8b73ed14918f\">\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=\"create_workspace - NDI Platform API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Provision a new workspace. Cost class: fast. Every field has a sensible default so a caller who knows nothing creates a working workspace with just a name. The workspace is immediately usable for ingestion after this call; no activation step is needed. Retry with the same Idempotency-Key and body after an interrupted response.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nace-ai.mintlify.site/_mintlify/api/og/v2?division=Workspaces+and+files\u0026amp;title=create_workspace\u0026amp;description=Provision+a+new+workspace.+Cost+class%3A+fast.%0A%0AEvery+field+has+a+sensible+default+so+a+caller+who+knows+nothing+creates+a%0Aworking+workspace+with+just+a+name.+The\u0026amp;theme=8e0aab37bff8a500df6616b2\u0026amp;signature=34759d5555874b074faecfd97125bc7020dcb1b15d776e355dff8b73ed14918f\">\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/create_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/create_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/create_workspace#webpage\",\"url\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_workspace\",\"name\":\"create_workspace\",\"description\":\"Provision a new workspace. Cost class: fast. Every field has a sensible default so a caller who knows nothing creates a working workspace with just a name. The workspace is immediately usable for ingestion after this call; no activation step is needed. Retry with the same Idempotency-Key and body after an interrupted response.\",\"dateModified\":\"2026-12-06T01:06:01.810Z\",\"isPartOf\":{\"@id\":\"https://docs.ndi.nace.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_workspace#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_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\":\"create_workspace\",\"item\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_workspace\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_workspace#apireference\",\"headline\":\"create_workspace\",\"name\":\"create_workspace\",\"description\":\"Provision a new workspace. Cost class: fast. Every field has a sensible default so a caller who knows nothing creates a working workspace with just a name. The workspace is immediately usable for ingestion after this call; no activation step is needed. Retry with the same Idempotency-Key and body after an interrupted response.\",\"url\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_workspace\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ndi.nace.ai/api-reference/workspaces/create_workspace#webpage\"},\"dateModified\":\"2026-12-06T01:06:01.810Z\",\"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/create_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","description":"Source files, versions, outputs, sessions, grants, and artifacts","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","description":"Page through the caller's workspaces, oldest-first. Cost class: fast.\n\nKeyset-paginated on ``(created_at, id)``; the cursor is opaque.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/workspaces","href":"/api-reference/workspaces/list_workspaces"},{"title":"get_workspace","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","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":"create_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"]}