Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search.
Tenant Metadata Schema
You can optionally provide a tenant_metadata_schema to define custom fields that will be
indexed in the vector store. Each field can be configured with:
enable_match: Enable text filtering on this field
enable_dense_embedding: Create dense embeddings for semantic similarity search
enable_sparse_embedding: Create sparse embeddings (BM25) for keyword search
Create a new tenant. If you pass tenant_id as a query parameter, that ID will be used. If not provided, the service generates a new tenant_id and returns it.
Hit the Try it button to try this API now in our playground. It’s the best way to check the full request and response in one place, customize your parameters, and generate ready-to-use code snippets.
Important: When a tenant is created, Cortex automatically creates a DEFAULT sub-tenant that acts as a global space for that tenant. Any documents ingested or API calls made with the tenant_id but without specifying a sub_tenant_id will automatically reference this default sub-tenant.
No Separate API Required: Cortex doesn’t require a separate API call to create additional sub-tenants. Sub-tenants are created automatically when you first use a new sub_tenant_id that doesn’t exist yet.
// Use user IDs as sub-tenant IDs for personal workspacessub_tenant_id: "user_12345"sub_tenant_id: "user_67890"
For B2B Applications (Departments/Teams):
// Use descriptive department or team namessub_tenant_id: "engineering"sub_tenant_id: "sales"sub_tenant_id: "hr"sub_tenant_id: "marketing"
For Project-Based Organizations:
// Use project identifierssub_tenant_id: "project_alpha"sub_tenant_id: "client_acme_corp"
Naming Convention: Use consistent prefixes like user_, dept_, or project_ to make the purpose of each sub-tenant clear. Avoid special characters and keep names descriptive but concise.
Important: Tenant metadata keys are immutable once set during tenant creation. Choose your keys carefully as they cannot be modified later. Document metadata remains fully flexible and can be set per document during upload.
The following keywords are reserved and cannot be used as keys in tenant_metadata_schema:
source_id
source_title
source_url
source_type
source_collection
source_owner
source_collaborator
source_upload_time
source_last_updated_time
chunk_id
chunk_uuid
chunk_content
document_metadata
base_metadata
layout
description
These keywords are used internally by Cortex for document processing and search functionality. Using any of these reserved keywords as tenant metadata keys will result in an error during tenant creation.
Schema: Practice area, client ID, confidentiality level, jurisdiction
Query: “Find all corporate law documents for client ACME that are not confidential”
Filter: practice_area = "corporate_law" AND client_id = "ACME" AND confidentiality_level != "confidential"
Schema: Product line, team, component, priority, tags
Query: “Show me all high-priority API documentation from the backend team”
Filter: product_line = "API" AND team = "backend" AND priority >= 4
Schema: Department, employee type, salary band, status
Query: “Find all active full-time employees in the Engineering department”
Filter: department = "Engineering" AND employee_type = "full_time" AND status = "active"
Schema Immutability: Once you create a tenant with a metadata schema, the keys cannot be changed. However, you can:
Add new fields to document metadata (fully flexible)
Update values for existing tenant metadata fields
Create new sub-tenants with different schemas if needed
Note:
The tenant_metadata_schema field in the request body is optional but recommended for enterprise setups. It defines immutable tenant-level metadata keys that will apply to all documents in this tenant.
For more detailed information about metadata usage, filtering, and querying, see our Metadata documentation.
Returns the final tenant_id and a confirmation message
Note: If your use case is to directly upload and search embeddings (without document/text ingestion), use the dedicated embeddings-tenant endpoint instead: /embeddings/create_tenant. This sets sub_tenant_id = tenant_id and prepares the tenant for embeddings-first workloads.
Schema definition for tenant metadata fields. Each field can be configured for: filtering (enable_match), semantic search (enable_dense_embedding), and/or keyword search (enable_sparse_embedding). Fields with embeddings enabled must be VARCHAR type.
default:Tenant created and infra provisioning triggered
Summary message
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cortex SDK","colors":{"primary":"#7C3AED","light":"#A78BFA","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/cortex-ad5578da/93r4PO4gUrI78Ocp/logo/light.svg?fit=max\u0026auto=format\u0026n=93r4PO4gUrI78Ocp\u0026q=85\u0026s=714ff10a4ad07c6395ce3055058ad6b0","dark":"https://mintcdn.com/cortex-ad5578da/93r4PO4gUrI78Ocp/logo/dark.svg?fit=max\u0026auto=format\u0026n=93r4PO4gUrI78Ocp\u0026q=85\u0026s=60bcfb5d423a574bd4d5d9e215e9c9ab"},"favicon":"/favicon.svg","navbar":{"links":[{"label":"Support","href":"mailto:founders@usecortex.ai"}],"primary":{"type":"button","label":"Website","href":"https://www.usecortex.ai"}},"contextual":{"options":["copy","chatgpt","claude","perplexity"]},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cortex-ad5578da","hasAudioNarration":false,"actualSubdomain":"cortex-ad5578da","customDomains":[],"gitSource":{"type":"github","owner":"usefindr","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae929af9035b3471a2599bb:success","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Guides","count":19},{"language":"default","tag":"Essentials","count":11},{"language":"default","tag":"Embeddings","count":5},{"language":"default","tag":"Knowledge Management","count":5},{"language":"default","tag":"Use Cases","count":5},{"language":"default","tag":"Knowledge Ingestion","count":4},{"language":"default","tag":"Query \u0026 Retrieval","count":3},{"language":"default","tag":"API Documentation","count":3},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"*,*::before,*::after{box-sizing:border-box}#content-side-layout div.code-group{display:none}.panel.w-full.xl\\:w-\\[28rem\\].mb-6.relative.max-h-\\[calc\\(100\\%-32px\\)\\].overflow-y-auto:has(#table-of-contents-custom){max-height:none!important;overflow:visible!important}:where(.mt-8.lg\\:mt-0.flex.flex-col.gap-6.xl\\:hidden.max-h-\\[30rem\\]),:where([class*=\"mt-8\"][class*=\"lg:mt-0\"][class*=\"flex\"][class*=\"flex-col\"][class*=\"gap-6\"][class*=\"xl:hidden\"][class*=\"max-h-[30rem]\"]){display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;width:0!important;padding:0!important;margin:0!important;position:absolute!important;clip:rect(0, 0, 0, 0)!important;overflow:hidden!important}#content-side-layout{max-width:18rem!important}#content-area{width:calc(100% - 20rem)!important}#chat-assistant-sheet{display:none!important}#navbar{position:fixed}@media (min-width: 1024px){#header.relative{margin-top:7rem}}"}],"page":{"pagePath":"api-reference/endpoint/create-tenant","slug":"/api-reference/endpoint/create-tenant","pageMetadata":{"title":"Create Tenant","openapi":"POST /tenants/create","description":"Create a tenant for your account.\n\nUse this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search.\n\n**Tenant Metadata Schema**\n\nYou can optionally provide a `tenant_metadata_schema` to define custom fields that will be\nindexed in the vector store. Each field can be configured with:\n\n- `enable_match`: Enable text filtering on this field\n- `enable_dense_embedding`: Create dense embeddings for semantic similarity search\n- `enable_sparse_embedding`: Create sparse embeddings (BM25) for keyword search\n\n**Example Request:**\n```json\n{\n \"tenant_id\": \"my-tenant\",\n \"tenant_metadata_schema\": [\n {\n \"name\": \"category\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 256,\n \"enable_match\": true\n },\n {\n \"name\": \"product_description\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 4096,\n \"enable_dense_embedding\": true,\n \"enable_sparse_embedding\": true\n }\n ]\n}\n```\n\nExpected outcome:\n- A tenant is created and returned with its identifier.\n- If tenant_metadata_schema is provided, the vector store collection will include\n the specified custom fields with their configured search capabilities.\n- If the tenant already exists, you receive a success message with the existing identifier.","href":"/api-reference/endpoint/create-tenant"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a tenant for your account.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search.\"\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Tenant Metadata Schema\"\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"You can optionally provide a \", _jsx(_components.code, {\n children: \"tenant_metadata_schema\"\n }), \" to define custom fields that will be\\nindexed in the vector store. Each field can be configured with:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"enable_match\"\n }), \": Enable text filtering on this field\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"enable_dense_embedding\"\n }), \": Create dense embeddings for semantic similarity search\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"enable_sparse_embedding\"\n }), \": Create sparse embeddings (BM25) for keyword search\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example Request:\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"18\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"18\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"tenant_id\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"my-tenant\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"tenant_metadata_schema\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"category\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"data_type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"VARCHAR\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"max_length\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \"256\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"enable_match\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"true\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"product_description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"data_type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"VARCHAR\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"max_length\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \"4096\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"enable_dense_embedding\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"true\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"enable_sparse_embedding\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"true\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: \"Expected outcome:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"A tenant is created and returned with its identifier.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"If tenant_metadata_schema is provided, the vector store collection will include\\nthe specified custom fields with their configured search capabilities.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"If the tenant already exists, you receive a success message with the existing identifier.\"\n }), \"\\n\"]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const TableOfContents=({title=`On this page`,items,minHeadingLevel=2,maxHeadingLevel=3,className=``,activeClassName=`text-primary dark:text-primary-light border-primary dark:border-primary-light hover:border-primary dark:hover:border-primary-light`,inactiveClassName=`hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300`})=>{const _components={a:`a`,..._provideComponents()};const[toc,setToc]=useState(items??[]);const[activeId,setActiveId]=useState(``);useEffect(()=>{if(items\u0026\u0026items.length)return;if(typeof document===`undefined`)return;const selectors=[];for(let lvl=minHeadingLevel;lvl\u003c=maxHeadingLevel;lvl++){selectors.push(`h${lvl}`)}const nodes=Array.from(document.querySelectorAll(selectors.join(`,`))).filter(el=>el.id);const built=[];let currentTop=null;nodes.forEach(el=>{const level=Number(el.tagName.slice(1));const node={id:el.id,label:el.textContent.trim(),href:`#${el.id}`,children:[]};if(level===minHeadingLevel){built.push(node);currentTop=node}else if(level>minHeadingLevel\u0026\u0026currentTop){currentTop.children.push(node)}else{built.push(node)}});setToc(built)},[items,minHeadingLevel,maxHeadingLevel]);useEffect(()=>{if(typeof document===`undefined`)return;const applyHash=()=>{const h=window.location.hash.replace(`#`,``);if(h)setActiveId(h)};applyHash();const observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{if(entry.isIntersecting){setActiveId(entry.target.id)}})},{rootMargin:`0px 0px -70% 0px`,threshold:.1});const ids=toc.flatMap(i=>[i,...i.children??[]]).map(i=>i.id);ids.forEach(id=>{const el=document.getElementById(id);if(el)observer.observe(el)});window.addEventListener(`hashchange`,applyHash);return()=>{window.removeEventListener(`hashchange`,applyHash);observer.disconnect()}},[toc]);const Item=({node,depth=0})=>{const isActive=activeId===node.id;return _jsxs(`li`,{className:`toc-item mint-relative mint-ml-6`,\"data-depth\":depth,children:[_jsx(_components.a,{href:node.href,className:`mint-py-1 mint-block mint-font-medium ${isActive?activeClassName:inactiveClassName}`,style:depth>0?{marginLeft:`${depth}rem`}:{},onClick:()=>setActiveId(node.id),children:node.label}),node.children\u0026\u0026node.children.length>0\u0026\u0026_jsx(_Fragment,{children:node.children.map(child=>_jsx(Item,{node:child,depth:depth+1},child.href))})]})};const data=toc\u0026\u0026toc.length?toc:items||[];return _jsx(`div`,{className:`mint-text-gray-600 mint-text-sm mint-leading-6 mint-w-[18rem] mint-pb-4 mint--mt-10 mint-pt-10 mint-hidden xl:mint-block ${className}`,id:`table-of-contents-custom`,children:_jsxs(`ul`,{id:`table-of-contents-custom-content`,className:`toc`,children:[_jsx(`li`,{className:`toc-item mint-relative`,children:_jsxs(`div`,{className:`mint-text-gray-700 dark:mint-text-gray-300 mint-font-medium mint-flex mint-items-center mint-space-x-2 mint-py-1`,children:[_jsxs(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,xmlns:`http://www.w3.org/2000/svg`,className:`mint-h-3 mint-w-3`,children:[_jsx(`path`,{d:`M2.44434 12.6665H13.5554`,strokeLinecap:`round`,strokeLinejoin:`round`}),_jsx(`path`,{d:`M2.44434 3.3335H13.5554`,strokeLinecap:`round`,strokeLinejoin:`round`}),_jsx(`path`,{d:`M2.44434 8H7.33323`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),_jsx(`span`,{children:title})]})}),data.map(node=>_jsx(Item,{node},node.href))]})})};function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Tab,Table,Tabs,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a new tenant. If you pass `,_jsx(_components.code,{children:`tenant_id`}),` as a query parameter, that ID will be used. If not provided, the service generates a new `,_jsx(_components.code,{children:`tenant_id`}),` and returns it.`]}),`\n`,_jsxs(Tip,{children:[` Hit the `,_jsx(_components.code,{children:`Try it`}),` button to try this API now in our playground. It’s the best way to check the full request and response in one place, customize your parameters, and generate ready-to-use code snippets.`]}),`\n`,_jsx(Heading,{level:`3`,id:`examples`,children:`Examples`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`API Request`,id:`api-request`,children:_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://api.usecortex.ai/tenants/create'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'accept: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-d `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tenant_id\": \"string\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),_jsx(Tab,{title:`Python (Sync)`,id:`python-sync`,children:_jsx(CodeBlock,{filename:``,expandable:`true`,numberOfLines:`24`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Async usage is similar, just use async_client and await`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`tenant_response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.user.create_tenant(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tenant_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tenant_1234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tenant_metadata_schema`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"compliance_framework\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data_classification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important`}),`: When a tenant is created, Cortex automatically creates a `,_jsx(_components.strong,{children:`DEFAULT sub-tenant`}),` that acts as a global space for that tenant. Any documents ingested or API calls made with the `,_jsx(_components.code,{children:`tenant_id`}),` but without specifying a `,_jsx(_components.code,{children:`sub_tenant_id`}),` will automatically reference this default sub-tenant.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`creating-additional-sub-tenants`,children:`Creating Additional Sub-Tenants`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`No Separate API Required`}),`: Cortex doesn’t require a separate API call to create additional sub-tenants. Sub-tenants are created automatically when you first use a new `,_jsx(_components.code,{children:`sub_tenant_id`}),` that doesn’t exist yet.`]}),`\n`,_jsx(Heading,{level:`3`,id:`how-sub-tenant-creation-works`,children:`How Sub-Tenant Creation Works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Automatic Creation`}),`: When you upload content with a `,_jsx(_components.code,{children:`sub_tenant_id`}),` that doesn’t exist, Cortex automatically creates that sub-tenant`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`First Upload Triggers Creation`}),`: The first API call with a new `,_jsx(_components.code,{children:`sub_tenant_id`}),` will create the sub-tenant and then process your content`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Immediate Availability`}),`: Once created, the sub-tenant is immediately available for all subsequent operations`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`sub-tenant-id-best-practices`,children:`Sub-Tenant ID Best Practices`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For B2C Applications (Individual Users):`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Use user IDs as sub-tenant IDs for personal workspaces`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_12345\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_67890\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For B2B Applications (Departments/Teams):`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Use descriptive department or team names`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"engineering\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sales\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hr\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"marketing\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For Project-Based Organizations:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Use project identifiers`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"project_alpha\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#C8C8C8`},children:`sub_tenant_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"client_acme_corp\"`})]}),`\n`]})})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Naming Convention`}),`: Use consistent prefixes like `,_jsx(_components.code,{children:`user_`}),`, `,_jsx(_components.code,{children:`dept_`}),`, or `,_jsx(_components.code,{children:`project_`}),` to make the purpose of each sub-tenant clear. Avoid special characters and keep names descriptive but concise.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important`}),`: Tenant metadata keys are `,_jsx(_components.strong,{children:`immutable`}),` once set during tenant creation. Choose your keys carefully as they cannot be modified later. Document metadata remains fully flexible and can be set per document during upload.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`reserved-keywords`,children:`Reserved Keywords`}),`\n`,_jsxs(_components.p,{children:[`The following keywords are `,_jsx(_components.strong,{children:`reserved`}),` and cannot be used as keys in `,_jsx(_components.code,{children:`tenant_metadata_schema`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_id`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_title`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_url`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_type`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_collection`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_owner`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_collaborator`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_upload_time`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`source_last_updated_time`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`chunk_id`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`chunk_uuid`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`chunk_content`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`document_metadata`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`base_metadata`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`layout`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`description`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`These keywords are used internally by Cortex for document processing and search functionality. Using any of these reserved keywords as tenant metadata keys will result in an error during tenant creation.`}),`\n`,_jsx(Heading,{level:`2`,id:`metadata-schema-structure`,children:`Metadata Schema Structure`}),`\n`,_jsxs(_components.p,{children:[`Each schema object in the `,_jsx(_components.code,{children:`tenant_metadata_schema`}),` array should specify:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`key`}),`: The metadata field name (immutable once set)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`type`}),`: Data type (see supported types below)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`searchable`}),`: Whether this field can be used in search queries`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`filterable`}),`: Whether this field can be used for filtering`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-metadata-types`,children:`Supported Metadata Types`}),`\n`,_jsx(_components.p,{children:`Cortex supports a comprehensive range of data types for metadata fields:`}),`\n`,_jsx(Heading,{level:`3`,id:`primitive-types`,children:`Primitive Types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example Values`}),_jsx(_components.th,{children:`Use Cases`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`string`})}),_jsx(_components.td,{children:`Text data`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`\"Engineering\"`}),`, `,_jsx(_components.code,{children:`\"SOC2\"`}),`, `,_jsx(_components.code,{children:`\"confidential\"`})]}),_jsx(_components.td,{children:`Categorical data, identifiers, labels`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`number`})}),_jsx(_components.td,{children:`Numeric values`}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`5`}),`, `,_jsx(_components.code,{children:`100.5`}),`, `,_jsx(_components.code,{children:`2024`})]}),_jsx(_components.td,{children:`Quantitative metrics, versions, priorities`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`boolean`})}),_jsx(_components.td,{children:`True/false values`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),`, `,_jsx(_components.code,{children:`false`})]}),_jsx(_components.td,{children:`Binary flags, status indicators`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`date`})}),_jsx(_components.td,{children:`Date/time values`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`\"2024-01-15T10:30:00Z\"`})}),_jsx(_components.td,{children:`Temporal data, audit trails`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`complex-types`,children:`Complex Types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Example Values`}),_jsx(_components.th,{children:`Use Cases`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`object`})}),_jsx(_components.td,{children:`Structured data`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{\"city\": \"SF\", \"country\": \"USA\"}`})}),_jsx(_components.td,{children:`Hierarchical relationships, nested data`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`array`})}),_jsx(_components.td,{children:`Multiple values`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`[\"security\", \"api\", \"compliance\"]`})}),_jsx(_components.td,{children:`Multi-value attributes, tags, categories`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`searchable-vs-filterable-flags`,children:`Searchable vs Filterable Flags`}),`\n`,_jsxs(_components.p,{children:[`Understanding the difference between `,_jsx(_components.code,{children:`searchable`}),` and `,_jsx(_components.code,{children:`filterable`}),` is crucial for optimal metadata design:`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`1. Searchable Fields`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Fields that can be used in `,_jsx(_components.strong,{children:`semantic search queries`}),` and `,_jsx(_components.strong,{children:`QnA operations`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Behavior`}),`: Content is indexed for AI-powered search and question answering`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use When`}),`: You want users to find documents by asking questions about these fields`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Example`}),`: `,_jsx(_components.code,{children:`\"Which documents are from the Engineering department?\"`})]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// ✅ Can be searched semantically`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`2. Filterable Fields`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Fields that can be used for `,_jsx(_components.strong,{children:`precise filtering`}),` and `,_jsx(_components.strong,{children:`exact matching`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Behavior`}),`: Content is indexed for fast exact-match filtering operations`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use When`}),`: You want to narrow down results with precise criteria`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Example`}),`: `,_jsx(_components.code,{children:`department = \"Engineering\" AND status = \"active\"`})]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data_classification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// ❌ Not semantically searchable`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ✅ Can be filtered exactly`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`3. Combined Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"compliance_framework\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// ✅ \"Find SOC2 compliance documents\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // ✅ compliance_framework = \"SOC2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`comprehensive-examples`,children:`Comprehensive Examples`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Enterprise Setup - Multi-Department Organization`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`44`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`44`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"compliance_framework\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data_classification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"business_unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"retention_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"is_confidential\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boolean\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"created_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Legal Firm Setup - Client and Case Management`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`38`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`38`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"practice_area\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"client_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"confidentiality_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jurisdiction\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"case_priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"requires_approval\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boolean\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Engineering Team Setup - Project and Component Management`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`38`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`38`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"product_line\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"team\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"component\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"priority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"number\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"is_critical\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boolean\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"array\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Simple Setup - Basic Organization`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"organization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"filterable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`metadata-best-practices`,children:`Metadata Best Practices`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`1. Naming Conventions`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use snake_case`}),`: `,_jsx(_components.code,{children:`business_unit`}),` instead of `,_jsx(_components.code,{children:`businessUnit`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Be descriptive`}),`: `,_jsx(_components.code,{children:`data_classification_level`}),` instead of `,_jsx(_components.code,{children:`classification`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use consistent prefixes`}),`: `,_jsx(_components.code,{children:`compliance_*`}),`, `,_jsx(_components.code,{children:`security_*`}),`, `,_jsx(_components.code,{children:`business_*`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`2. Type Selection Guidelines`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Strings`}),`: For categorical data, identifiers, and labels`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Numbers`}),`: For quantitative metrics, versions, and priorities`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Booleans`}),`: For binary flags and status indicators`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dates`}),`: For temporal data and audit trails`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Arrays`}),`: For multi-value fields like tags and categories`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Objects`}),`: For structured, hierarchical data`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`3. Searchable vs Filterable Strategy`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Make searchable`}),`: Fields users will ask questions about`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Make filterable`}),`: Fields used for precise result narrowing`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Combine both`}),`: For fields used in both semantic search and filtering`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Filterable only`}),`: For sensitive data or exact-match requirements`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`4. Performance Considerations`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Limit total fields`}),`: Keep metadata schema focused and purposeful`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use appropriate types`}),`: Choose the most specific type for your data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Consider query patterns`}),`: Design for your most common use cases`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Plan for growth`}),`: Design schema to accommodate future needs`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-metadata-works-in-practice`,children:`How Metadata Works in Practice`}),`\n`,_jsx(_components.p,{children:`Once you’ve defined your tenant metadata schema, here’s how it works with your documents:`}),`\n`,_jsx(Heading,{level:`3`,id:`document-upload-with-metadata`,children:`Document Upload with Metadata`}),`\n`,_jsx(_components.p,{children:`When you upload documents, you’ll provide both tenant and document metadata:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tenant_metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"department\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Engineering\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"compliance_framework\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SOC2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data_classification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"internal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"business_unit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Product\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"retention_period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_confidential\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-15T10:30:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"document_metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"API Security Guidelines v2.1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"author\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Dr. Sarah Chen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"document_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"technical_specification\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.1.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"approved\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`query-examples`,children:`Query Examples`}),`\n`,_jsx(_components.p,{children:`With the metadata schema defined above, users can perform sophisticated queries:`}),`\n`,_jsx(Heading,{level:`4`,id:`semantic-search-searchable-fields`,children:`Semantic Search (Searchable Fields)`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Find all engineering documents about security compliance\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Searches through `,_jsx(_components.code,{children:`department`}),` (searchable: true)`]}),`\n`,_jsxs(_components.li,{children:[`Searches through `,_jsx(_components.code,{children:`compliance_framework`}),` (searchable: true)`]}),`\n`,_jsx(_components.li,{children:`Searches through document content and titles`}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`precise-filtering-filterable-fields`,children:`Precise Filtering (Filterable Fields)`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`department = \"Engineering\" AND data_classification = \"internal\" AND is_confidential = false`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Exact match on `,_jsx(_components.code,{children:`department`}),` (filterable: true)`]}),`\n`,_jsxs(_components.li,{children:[`Exact match on `,_jsx(_components.code,{children:`data_classification`}),` (filterable: true)`]}),`\n`,_jsxs(_components.li,{children:[`Exact match on `,_jsx(_components.code,{children:`is_confidential`}),` (filterable: true)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`combined-queries`,children:`Combined Queries`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Show me all SOC2 compliance documents from the Product business unit\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Semantic search for “SOC2 compliance” (searchable fields)`}),`\n`,_jsxs(_components.li,{children:[`Precise filter: `,_jsx(_components.code,{children:`business_unit = \"Product\"`}),` (filterable: true)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`real-world-use-cases`,children:`Real-World Use Cases`}),`\n`,_jsx(Heading,{level:`4`,id:`1-legal-document-management`,children:`1. Legal Document Management`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Schema`}),`: Practice area, client ID, confidentiality level, jurisdiction\n`,_jsx(_components.strong,{children:`Query`}),`: “Find all corporate law documents for client ACME that are not confidential”\n`,_jsx(_components.strong,{children:`Filter`}),`: `,_jsx(_components.code,{children:`practice_area = \"corporate_law\" AND client_id = \"ACME\" AND confidentiality_level != \"confidential\"`})]}),`\n`,_jsx(Heading,{level:`4`,id:`2-engineering-documentation`,children:`2. Engineering Documentation`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Schema`}),`: Product line, team, component, priority, tags\n`,_jsx(_components.strong,{children:`Query`}),`: “Show me all high-priority API documentation from the backend team”\n`,_jsx(_components.strong,{children:`Filter`}),`: `,_jsx(_components.code,{children:`product_line = \"API\" AND team = \"backend\" AND priority >= 4`})]}),`\n`,_jsx(Heading,{level:`4`,id:`3-hr-document-management`,children:`3. HR Document Management`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Schema`}),`: Department, employee type, salary band, status\n`,_jsx(_components.strong,{children:`Query`}),`: “Find all active full-time employees in the Engineering department”\n`,_jsx(_components.strong,{children:`Filter`}),`: `,_jsx(_components.code,{children:`department = \"Engineering\" AND employee_type = \"full_time\" AND status = \"active\"`})]}),`\n`,_jsx(Heading,{level:`3`,id:`metadata-inheritance`,children:`Metadata Inheritance`}),`\n`,_jsx(_components.p,{children:`All documents in your tenant automatically inherit the tenant metadata schema you define. This means:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Consistency`}),`: Every document will have the same tenant metadata structure`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Compliance`}),`: Organizational policies are enforced across all documents`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Queryability`}),`: You can always filter and search by tenant-level attributes`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scalability`}),`: New documents automatically follow your established schema`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`migration-and-updates`,children:`Migration and Updates`}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Schema Immutability`}),`: Once you create a tenant with a metadata schema, the keys cannot be changed. However, you can:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Add new fields to document metadata (fully flexible)`}),`\n`,_jsx(_components.li,{children:`Update values for existing tenant metadata fields`}),`\n`,_jsx(_components.li,{children:`Create new sub-tenants with different schemas if needed`}),`\n`]})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`tenant_metadata_schema`}),` field in the request body is optional but recommended for enterprise setups. It defines immutable tenant-level metadata keys that will apply to all documents in this tenant.`]}),`\n`,_jsxs(_components.li,{children:[`For more detailed information about metadata usage, filtering, and querying, see our `,_jsx(_components.a,{href:`/essentials/metadata`,children:`Metadata documentation`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`sample-response`,children:`Sample Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Tenant '99155#$@e2' created successfully.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tenant_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"B1SlKQ2j2l1aWYLa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`functionality`,children:`Functionality`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Accepts an optional `,_jsx(_components.code,{children:`tenant_id`}),` via query`]}),`\n`,_jsxs(_components.li,{children:[`Generates a new `,_jsx(_components.code,{children:`tenant_id`}),` if none is provided`]}),`\n`,_jsx(_components.li,{children:`Creates and persists the tenant`}),`\n`,_jsxs(_components.li,{children:[`Returns the final `,_jsx(_components.code,{children:`tenant_id`}),` and a confirmation message`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[`Note: If your use case is to directly upload and search embeddings (without document/text ingestion), use the dedicated embeddings-tenant endpoint instead: `,_jsx(_components.code,{children:`/embeddings/create_tenant`}),`. This sets `,_jsx(_components.code,{children:`sub_tenant_id = tenant_id`}),` and prepares the tenant for embeddings-first workloads.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(_components.p,{children:[`All endpoints return consistent error responses following the standard format. For detailed error information, see our `,_jsx(_components.a,{href:`/api-reference/error-responses`,children:`Error Responses`}),` documentation.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{TableOfContents,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Tenant","openapi":"POST /tenants/create","description":"Create a tenant for your account.\n\nUse this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search.\n\n**Tenant Metadata Schema**\n\nYou can optionally provide a `tenant_metadata_schema` to define custom fields that will be\nindexed in the vector store. Each field can be configured with:\n\n- `enable_match`: Enable text filtering on this field\n- `enable_dense_embedding`: Create dense embeddings for semantic similarity search\n- `enable_sparse_embedding`: Create sparse embeddings (BM25) for keyword search\n\n**Example Request:**\n```json\n{\n \"tenant_id\": \"my-tenant\",\n \"tenant_metadata_schema\": [\n {\n \"name\": \"category\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 256,\n \"enable_match\": true\n },\n {\n \"name\": \"product_description\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 4096,\n \"enable_dense_embedding\": true,\n \"enable_sparse_embedding\": true\n }\n ]\n}\n```\n\nExpected outcome:\n- A tenant is created and returned with its identifier.\n- If tenant_metadata_schema is provided, the vector store collection will include\n the specified custom fields with their configured search capabilities.\n- If the tenant already exists, you receive a success message with the existing identifier.","href":"/api-reference/endpoint/create-tenant"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[151,3472,")=>null;function _cr"]]},"panelMdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const TableOfContents=({title=`On this page`,items,minHeadingLevel=2,maxHeadingLevel=3,className=``,activeClassName=`text-primary dark:text-primary-light border-primary dark:border-primary-light hover:border-primary dark:hover:border-primary-light`,inactiveClassName=`hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300`})=>{const _components={a:`a`,..._provideComponents()};const[toc,setToc]=useState(items??[]);const[activeId,setActiveId]=useState(``);useEffect(()=>{if(items\u0026\u0026items.length)return;if(typeof document===`undefined`)return;const selectors=[];for(let lvl=minHeadingLevel;lvl\u003c=maxHeadingLevel;lvl++){selectors.push(`h${lvl}`)}const nodes=Array.from(document.querySelectorAll(selectors.join(`,`))).filter(el=>el.id);const built=[];let currentTop=null;nodes.forEach(el=>{const level=Number(el.tagName.slice(1));const node={id:el.id,label:el.textContent.trim(),href:`#${el.id}`,children:[]};if(level===minHeadingLevel){built.push(node);currentTop=node}else if(level>minHeadingLevel\u0026\u0026currentTop){currentTop.children.push(node)}else{built.push(node)}});setToc(built)},[items,minHeadingLevel,maxHeadingLevel]);useEffect(()=>{if(typeof document===`undefined`)return;const applyHash=()=>{const h=window.location.hash.replace(`#`,``);if(h)setActiveId(h)};applyHash();const observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{if(entry.isIntersecting){setActiveId(entry.target.id)}})},{rootMargin:`0px 0px -70% 0px`,threshold:.1});const ids=toc.flatMap(i=>[i,...i.children??[]]).map(i=>i.id);ids.forEach(id=>{const el=document.getElementById(id);if(el)observer.observe(el)});window.addEventListener(`hashchange`,applyHash);return()=>{window.removeEventListener(`hashchange`,applyHash);observer.disconnect()}},[toc]);const Item=({node,depth=0})=>{const isActive=activeId===node.id;return _jsxs(`li`,{className:`toc-item mint-relative mint-ml-6`,\"data-depth\":depth,children:[_jsx(_components.a,{href:node.href,className:`mint-py-1 mint-block mint-font-medium ${isActive?activeClassName:inactiveClassName}`,style:depth>0?{marginLeft:`${depth}rem`}:{},onClick:()=>setActiveId(node.id),children:node.label}),node.children\u0026\u0026node.children.length>0\u0026\u0026_jsx(_Fragment,{children:node.children.map(child=>_jsx(Item,{node:child,depth:depth+1},child.href))})]})};const data=toc\u0026\u0026toc.length?toc:items||[];return _jsx(`div`,{className:`mint-text-gray-600 mint-text-sm mint-leading-6 mint-w-[18rem] mint-pb-4 mint--mt-10 mint-pt-10 mint-hidden xl:mint-block ${className}`,id:`table-of-contents-custom`,children:_jsxs(`ul`,{id:`table-of-contents-custom-content`,className:`toc`,children:[_jsx(`li`,{className:`toc-item mint-relative`,children:_jsxs(`div`,{className:`mint-text-gray-700 dark:mint-text-gray-300 mint-font-medium mint-flex mint-items-center mint-space-x-2 mint-py-1`,children:[_jsxs(`svg`,{width:`16`,height:`16`,viewBox:`0 0 16 16`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,xmlns:`http://www.w3.org/2000/svg`,className:`mint-h-3 mint-w-3`,children:[_jsx(`path`,{d:`M2.44434 12.6665H13.5554`,strokeLinecap:`round`,strokeLinejoin:`round`}),_jsx(`path`,{d:`M2.44434 3.3335H13.5554`,strokeLinecap:`round`,strokeLinejoin:`round`}),_jsx(`path`,{d:`M2.44434 8H7.33323`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),_jsx(`span`,{children:title})]})}),data.map(node=>_jsx(Item,{node},node.href))]})})};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(_MdxComponentBoundary,{name:`TableOfContents`,children:_jsx(TableOfContents,{})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{TableOfContents,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Tenant","openapi":"POST /tenants/create","description":"Create a tenant for your account.\n\nUse this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search.\n\n**Tenant Metadata Schema**\n\nYou can optionally provide a `tenant_metadata_schema` to define custom fields that will be\nindexed in the vector store. Each field can be configured with:\n\n- `enable_match`: Enable text filtering on this field\n- `enable_dense_embedding`: Create dense embeddings for semantic similarity search\n- `enable_sparse_embedding`: Create sparse embeddings (BM25) for keyword search\n\n**Example Request:**\n```json\n{\n \"tenant_id\": \"my-tenant\",\n \"tenant_metadata_schema\": [\n {\n \"name\": \"category\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 256,\n \"enable_match\": true\n },\n {\n \"name\": \"product_description\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 4096,\n \"enable_dense_embedding\": true,\n \"enable_sparse_embedding\": true\n }\n ]\n}\n```\n\nExpected outcome:\n- A tenant is created and returned with its identifier.\n- If tenant_metadata_schema is provided, the vector store collection will include\n the specified custom fields with their configured search capabilities.\n- If the tenant already exists, you receive a success message with the existing identifier.","href":"/api-reference/endpoint/create-tenant"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[19,69,"jsx:_jsx}=arguments["],[151,3472,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Examples","slug":"examples","depth":3,"children":[]},{"title":"Creating Additional Sub-Tenants","slug":"creating-additional-sub-tenants","depth":2,"children":[{"title":"How Sub-Tenant Creation Works","slug":"how-sub-tenant-creation-works","depth":3,"children":[]},{"title":"Sub-Tenant ID Best Practices","slug":"sub-tenant-id-best-practices","depth":3,"children":[]}]},{"title":"Reserved Keywords","slug":"reserved-keywords","depth":2,"children":[]},{"title":"Metadata Schema Structure","slug":"metadata-schema-structure","depth":2,"children":[]},{"title":"Supported Metadata Types","slug":"supported-metadata-types","depth":2,"children":[{"title":"Primitive Types","slug":"primitive-types","depth":3,"children":[]},{"title":"Complex Types","slug":"complex-types","depth":3,"children":[]}]},{"title":"Searchable vs Filterable Flags","slug":"searchable-vs-filterable-flags","depth":2,"children":[]},{"title":"Comprehensive Examples","slug":"comprehensive-examples","depth":2,"children":[]},{"title":"Metadata Best Practices","slug":"metadata-best-practices","depth":2,"children":[]},{"title":"How Metadata Works in Practice","slug":"how-metadata-works-in-practice","depth":2,"children":[{"title":"Document Upload with Metadata","slug":"document-upload-with-metadata","depth":3,"children":[]},{"title":"Query Examples","slug":"query-examples","depth":3,"children":[]},{"title":"Semantic Search (Searchable Fields)","slug":"semantic-search-searchable-fields","depth":4,"children":[]},{"title":"Precise Filtering (Filterable Fields)","slug":"precise-filtering-filterable-fields","depth":4,"children":[]},{"title":"Combined Queries","slug":"combined-queries","depth":4,"children":[]},{"title":"Real-World Use Cases","slug":"real-world-use-cases","depth":3,"children":[]},{"title":"1. Legal Document Management","slug":"1-legal-document-management","depth":4,"children":[]},{"title":"2. Engineering Documentation","slug":"2-engineering-documentation","depth":4,"children":[]},{"title":"3. HR Document Management","slug":"3-hr-document-management","depth":4,"children":[]},{"title":"Metadata Inheritance","slug":"metadata-inheritance","depth":3,"children":[]},{"title":"Migration and Updates","slug":"migration-and-updates","depth":3,"children":[]}]},{"title":"Sample Response","slug":"sample-response","depth":2,"children":[{"title":"Functionality","slug":"functionality","depth":3,"children":[]}]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[]}],"panel":{"content":"export const TableOfContents = ({title = 'On this page', items, minHeadingLevel = 2, maxHeadingLevel = 3, className = '', activeClassName = 'text-primary dark:text-primary-light border-primary dark:border-primary-light hover:border-primary dark:hover:border-primary-light', inactiveClassName = 'hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300'}) => {\n const [toc, setToc] = useState(items ?? []);\n const [activeId, setActiveId] = useState('');\n useEffect(() => {\n if (items \u0026\u0026 items.length) return;\n if (typeof document === 'undefined') return;\n const selectors = [];\n for (let lvl = minHeadingLevel; lvl \u003c= maxHeadingLevel; lvl++) {\n selectors.push(`h${lvl}`);\n }\n const nodes = Array.from(document.querySelectorAll(selectors.join(','))).filter(el => el.id);\n const built = [];\n let currentTop = null;\n nodes.forEach(el => {\n const level = Number(el.tagName.slice(1));\n const node = {\n id: el.id,\n label: el.textContent.trim(),\n href: `#${el.id}`,\n children: []\n };\n if (level === minHeadingLevel) {\n built.push(node);\n currentTop = node;\n } else if (level > minHeadingLevel \u0026\u0026 currentTop) {\n currentTop.children.push(node);\n } else {\n built.push(node);\n }\n });\n setToc(built);\n }, [items, minHeadingLevel, maxHeadingLevel]);\n useEffect(() => {\n if (typeof document === 'undefined') return;\n const applyHash = () => {\n const h = window.location.hash.replace('#', '');\n if (h) setActiveId(h);\n };\n applyHash();\n const observer = new IntersectionObserver(entries => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n setActiveId(entry.target.id);\n }\n });\n }, {\n rootMargin: '0px 0px -70% 0px',\n threshold: 0.1\n });\n const ids = toc.flatMap(i => [i, ...i.children ?? []]).map(i => i.id);\n ids.forEach(id => {\n const el = document.getElementById(id);\n if (el) observer.observe(el);\n });\n window.addEventListener('hashchange', applyHash);\n return () => {\n window.removeEventListener('hashchange', applyHash);\n observer.disconnect();\n };\n }, [toc]);\n const Item = ({node, depth = 0}) => {\n const isActive = activeId === node.id;\n return \u003cli className=\"toc-item relative ml-6\" data-depth={depth}>\n \u003ca href={node.href} className={`py-1 block font-medium ${isActive ? activeClassName : inactiveClassName}`} style={depth > 0 ? {\n marginLeft: `${depth}rem`\n } : {}} onClick={() => setActiveId(node.id)}>\n {node.label}\n \u003c/a>\n {node.children \u0026\u0026 node.children.length > 0 \u0026\u0026 \u003c>\n {node.children.map(child => \u003cItem node={child} depth={depth + 1} key={child.href} />)}\n \u003c/>}\n \u003c/li>;\n };\n const data = toc \u0026\u0026 toc.length ? toc : items || [];\n return \u003cdiv className={`text-gray-600 text-sm leading-6 w-[18rem] pb-4 -mt-10 pt-10 hidden xl:block ${className}`} id=\"table-of-contents-custom\">\n \u003cul id=\"table-of-contents-custom-content\" className=\"toc\">\n \u003cli className=\"toc-item relative\">\n \u003cdiv className=\"text-gray-700 dark:text-gray-300 font-medium flex items-center space-x-2 py-1\">\n \u003csvg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" xmlns=\"http://www.w3.org/2000/svg\" className=\"h-3 w-3\">\n \u003cpath d=\"M2.44434 12.6665H13.5554\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\u003c/path>\n \u003cpath d=\"M2.44434 3.3335H13.5554\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\u003c/path>\n \u003cpath d=\"M2.44434 8H7.33323\" strokeLinecap=\"round\" strokeLinejoin=\"round\">\u003c/path>\n \u003c/svg>\n \u003cspan>{title}\u003c/span>\n \u003c/div>\n \u003c/li>\n {data.map(node => \u003cItem node={node} key={node.href} />)}\n \u003c/ul>\n \u003c/div>;\n};\n\n\u003cTableOfContents />\n"},"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-relative {\n position: relative\n}\n.mint--mt-10 {\n margin-top: -2.5rem\n}\n.mint-ml-6 {\n margin-left: 1.5rem\n}\n.mint-block {\n display: block\n}\n.mint-flex {\n display: flex\n}\n.mint-hidden {\n display: none\n}\n.mint-h-3 {\n height: 0.75rem\n}\n.mint-w-3 {\n width: 0.75rem\n}\n.mint-w-\\[18rem\\] {\n width: 18rem\n}\n.mint-items-center {\n align-items: center\n}\n.mint-space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))\n}\n.mint-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem\n}\n.mint-pb-4 {\n padding-bottom: 1rem\n}\n.mint-pt-10 {\n padding-top: 2.5rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.mint-font-medium {\n font-weight: 500\n}\n.mint-leading-6 {\n line-height: 1.5rem\n}\n.mint-text-gray-600 {\n --tw-text-opacity: 1;\n color: rgb(75 85 99 / var(--tw-text-opacity, 1))\n}\n.mint-text-gray-700 {\n --tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--tw-text-opacity, 1))\n}\n.dark\\:mint-text-gray-300:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(209 213 219 / var(--tw-text-opacity, 1))\n}\n@media (min-width: 1280px) {\n .xl\\:mint-block {\n display: block\n }\n}","openApiReferenceData":{"operation":{"tags":["tenants"],"summary":"Create Tenant","description":"Create a tenant for your account.\n\nUse this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search.\n\n**Tenant Metadata Schema**\n\nYou can optionally provide a `tenant_metadata_schema` to define custom fields that will be\nindexed in the vector store. Each field can be configured with:\n\n- `enable_match`: Enable text filtering on this field\n- `enable_dense_embedding`: Create dense embeddings for semantic similarity search\n- `enable_sparse_embedding`: Create sparse embeddings (BM25) for keyword search\n\n**Example Request:**\n```json\n{\n \"tenant_id\": \"my-tenant\",\n \"tenant_metadata_schema\": [\n {\n \"name\": \"category\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 256,\n \"enable_match\": true\n },\n {\n \"name\": \"product_description\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 4096,\n \"enable_dense_embedding\": true,\n \"enable_sparse_embedding\": true\n }\n ]\n}\n```\n\nExpected outcome:\n- A tenant is created and returned with its identifier.\n- If tenant_metadata_schema is provided, the vector store collection will include\n the specified custom fields with their configured search capabilities.\n- If the tenant already exists, you receive a success message with the existing identifier.","operationId":"create_tenant_tenants_create_post","requestBody":"89e0687e-08e5-4a6c-a204-5414659c55cc","responses":{"200":"1dcac934-04e7-43a8-bdf2-a9957f5b74f2","400":"06294aab-fd4c-4b1f-a576-4fb2b0f549aa","401":"6c99dfa0-73d7-41f0-9408-5b6775a7a461","403":"d4544151-8ef4-4df1-9875-4d64b61f3f56","404":"ead27fff-8966-4cca-aaa4-6b3b46468164","422":"4af80651-dbd8-46b6-ae26-6bb2ac88bb67","500":"5b76955a-c5f5-4848-8cd7-251bc32a43a5","503":"b584b9fe-e97c-43f5-8edd-5438be25a569"},"security":["7ddf42f3-1680-4597-8d93-293d2268be0a"],"method":"post","type":"path","servers":["27177c36-ced5-48ec-934a-74f1d3c21f2f","ec4a38bd-f056-41fa-92b7-9e831f0c977f","c80917a8-4b03-45cd-ba80-6a4329afc4a3"],"path":"/tenants/create","baseUrlOptions":["/","https://api.usecortex.ai","https://preprod.usecortex.ai"],"title":"Create Tenant","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"tenant_id":{"type":"string","minLength":1,"title":"Tenant Id","description":"Unique tenant identifier","example":"tenant_1234","isRequired":true,"uniqueKey":"tenant_id","typeLabel":"string"},"is_embeddings_tenant":{"type":"boolean","title":"Is Embeddings Tenant","description":"True to create embeddings tenant","default":false,"example":true,"uniqueKey":"is_embeddings_tenant","typeLabel":"boolean"},"embeddings_dimension":{"oneOf":[{"type":"integer","title":"Embeddings Dimension","description":"Embedding dimensions for embeddings tenant. Not required for non-embeddings (is_embeddings_tenant=False) tenants","default":1536,"uniqueKey":"embeddings_dimension.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Embeddings Dimension","description":"Embedding dimensions for embeddings tenant. Not required for non-embeddings (is_embeddings_tenant=False) tenants","default":1536,"uniqueKey":"embeddings_dimension.oneOf.1","typeLabel":"null"}],"uniqueKey":"embeddings_dimension","typeLabel":"integer | null"},"tenant_metadata_schema":{"oneOf":[{"type":"array","items":{"properties":{"name":{"type":"string","title":"Name","description":"Property name (used as field name in Milvus)","example":"\u003cname>","isRequired":true,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].name","typeLabel":"string"},"data_type":{"type":"string","enum":["BOOL","INT8","INT16","INT32","INT64","FLOAT","DOUBLE","VARCHAR","JSON","ARRAY","FLOAT_VECTOR","SPARSE_FLOAT_VECTOR"],"title":"MilvusDataType","description":"Milvus data type. Use VARCHAR for text fields that need embeddings.","default":"VARCHAR","uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].data_type","typeLabel":"enum\u003cstring>"},"max_length":{"type":"integer","title":"Max Length","description":"Max length for VARCHAR fields. Increase for longer text content.","default":1024,"example":1,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].max_length","typeLabel":"integer"},"enable_analyzer":{"type":"boolean","title":"Enable Analyzer","description":"Enable text analyzer for full-text search capabilities","default":false,"example":true,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].enable_analyzer","typeLabel":"boolean"},"enable_match":{"type":"boolean","title":"Enable Match","description":"Enable TEXT_MATCH filtering on this field","default":false,"example":true,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].enable_match","typeLabel":"boolean"},"enable_dense_embedding":{"type":"boolean","title":"Enable Dense Embedding","description":"Create a dense embedding field (FLOAT_VECTOR) for semantic similarity search. Only applicable to VARCHAR fields. A corresponding '{name}_embedding' field will be created.","default":false,"example":true,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].enable_dense_embedding","typeLabel":"boolean"},"enable_sparse_embedding":{"type":"boolean","title":"Enable Sparse Embedding","description":"Create a sparse embedding field (BM25) for keyword search. Only applicable to VARCHAR fields. A corresponding '{name}_sparse' field and BM25 function will be created.","default":false,"example":true,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].enable_sparse_embedding","typeLabel":"boolean"},"nullable":{"type":"boolean","title":"Nullable","description":"Whether field can be null","default":true,"example":true,"uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX].nullable","typeLabel":"boolean"}},"type":"object","required":["name"],"title":"CustomPropertyDefinition","description":"Definition for custom/dynamic properties on a collection.\n\nUse this to define tenant metadata fields that can enhance search capabilities:\n- enable_dense_embedding: Creates a dense vector field for semantic similarity search\n- enable_sparse_embedding: Creates a sparse vector field for BM25 keyword search\n\nExample:\n CustomPropertyDefinition(\n name=\"product_description\",\n data_type=MilvusDataType.VARCHAR,\n max_length=4096,\n enable_dense_embedding=True, # Enables semantic search on this field\n enable_sparse_embedding=True, # Enables keyword search on this field\n )","uniqueKey":"tenant_metadata_schema.oneOf.0.items.[INDEX]","typeLabel":"CustomPropertyDefinition · object"},"title":"Tenant Metadata Schema","description":"Schema definition for tenant metadata fields. Each field can be configured for: filtering (enable_match), semantic search (enable_dense_embedding), and/or keyword search (enable_sparse_embedding). Fields with embeddings enabled must be VARCHAR type.","example":[{"data_type":"VARCHAR","enable_match":true,"max_length":256,"name":"category"},{"data_type":"VARCHAR","enable_dense_embedding":true,"enable_sparse_embedding":true,"max_length":4096,"name":"product_description"}],"uniqueKey":"tenant_metadata_schema.oneOf.0","typeLabel":"CustomPropertyDefinition · object[]"},{"type":"null","title":"Tenant Metadata Schema","description":"Schema definition for tenant metadata fields. Each field can be configured for: filtering (enable_match), semantic search (enable_dense_embedding), and/or keyword search (enable_sparse_embedding). Fields with embeddings enabled must be VARCHAR type.","example":[{"data_type":"VARCHAR","enable_match":true,"max_length":256,"name":"category"},{"data_type":"VARCHAR","enable_dense_embedding":true,"enable_sparse_embedding":true,"max_length":4096,"name":"product_description"}],"uniqueKey":"tenant_metadata_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"tenant_metadata_schema","typeLabel":"CustomPropertyDefinition · object[] | null"}},"type":"object","required":["tenant_id"],"title":"TenantCreateRequest","description":"Request model for creating a tenant with optional metadata schema.\n\nThe tenant_metadata_schema allows you to define custom fields that will be indexed\nin Milvus with configurable search capabilities:\n\nExample:\n {\n \"tenant_id\": \"my-tenant\",\n \"tenant_metadata_schema\": [\n {\n \"name\": \"category\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 256,\n \"enable_match\": true\n },\n {\n \"name\": \"product_description\",\n \"data_type\": \"VARCHAR\",\n \"max_length\": 4096,\n \"enable_dense_embedding\": true,\n \"enable_sparse_embedding\": true\n }\n ]\n }","uniqueKey":"","typeLabel":"TenantCreateRequest · object"},"examples":{"Example":{"title":"Example","value":{"tenant_id":"tenant_1234","is_embeddings_tenant":true,"embeddings_dimension":1536,"tenant_metadata_schema":[{"data_type":"VARCHAR","enable_match":true,"max_length":256,"name":"category"},{"data_type":"VARCHAR","enable_dense_embedding":true,"enable_sparse_embedding":true,"max_length":4096,"name":"product_description"}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"1dcac934-04e7-43a8-bdf2-a9957f5b74f2":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"tenant_id":{"type":"string","title":"Tenant Id","description":"Identifier provided by user","example":"tenant_1234","isRequired":true,"uniqueKey":"tenant_id","typeLabel":"string"},"infra":{"properties":{"scheduler_status":{"type":"boolean","title":"Scheduler Status","example":true,"isRequired":true,"uniqueKey":"infra.scheduler_status","typeLabel":"boolean"},"graph_status":{"type":"boolean","title":"Graph Status","example":true,"isRequired":true,"uniqueKey":"infra.graph_status","typeLabel":"boolean"},"vectorstore_status":{"type":"object","_tupleOriginal":true,"properties":{"[0]":{"type":"boolean","uniqueKey":"infra.vectorstore_status.[0]","typeLabel":"boolean"},"[1]":{"type":"boolean","uniqueKey":"infra.vectorstore_status.[1]","typeLabel":"boolean"}},"title":"Vectorstore Status","example":[],"isRequired":true,"uniqueKey":"infra.vectorstore_status","typeLabel":"Vectorstore Status · tuple"}},"type":"object","required":["scheduler_status","graph_status","vectorstore_status"],"title":"Infra","description":"Infra status","isRequired":true,"uniqueKey":"infra","typeLabel":"Infra · object"},"metadata_schema":{"oneOf":[{"type":"object","title":"TenantMetadataSchemaInfo","description":"Summary of configured tenant metadata schema (if provided)","required":["field_count"],"properties":{"field_count":{"type":"integer","title":"Field Count","description":"Number of custom metadata fields configured","example":1,"isRequired":true,"uniqueKey":"metadata_schema.oneOf.0.field_count","typeLabel":"integer"},"dense_embedding_fields":{"items":{"type":"string","uniqueKey":"metadata_schema.oneOf.0.dense_embedding_fields.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Dense Embedding Fields","description":"Fields with dense embeddings enabled for semantic search","example":[],"uniqueKey":"metadata_schema.oneOf.0.dense_embedding_fields","typeLabel":"string[]"},"sparse_embedding_fields":{"items":{"type":"string","uniqueKey":"metadata_schema.oneOf.0.sparse_embedding_fields.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Sparse Embedding Fields","description":"Fields with sparse embeddings enabled for keyword search","example":[],"uniqueKey":"metadata_schema.oneOf.0.sparse_embedding_fields","typeLabel":"string[]"}},"uniqueKey":"metadata_schema.oneOf.0","typeLabel":"TenantMetadataSchemaInfo · object"},{"type":"null","description":"Summary of configured tenant metadata schema (if provided)","uniqueKey":"metadata_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata_schema","typeLabel":"TenantMetadataSchemaInfo · object | null"},"message":{"type":"string","title":"Message","description":"Summary message","default":"Tenant created and infra provisioning triggered","uniqueKey":"message","typeLabel":"string"}},"type":"object","required":["tenant_id","infra"],"title":"TenantCreateResponse","uniqueKey":"","typeLabel":"TenantCreateResponse · object"},"examples":{"Example":{"title":"Example","value":{"tenant_id":"tenant_1234","infra":{"scheduler_status":true,"graph_status":true,"vectorstore_status":[]},"metadata_schema":{"field_count":1,"dense_embedding_fields":[],"sparse_embedding_fields":[]},"message":"Tenant created and infra provisioning triggered"}}},"exampleType":"generated"}},"exampleType":"generated"},"06294aab-fd4c-4b1f-a576-4fb2b0f549aa":{"description":"Bad Request - Invalid input parameters","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6c99dfa0-73d7-41f0-9408-5b6775a7a461":{"description":"Unauthorized - Authentication required","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d4544151-8ef4-4df1-9875-4d64b61f3f56":{"description":"Forbidden - Access denied","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ead27fff-8966-4cca-aaa4-6b3b46468164":{"description":"Not Found - Resource does not exist","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4af80651-dbd8-46b6-ae26-6bb2ac88bb67":{"description":"Unprocessable Entity - Validation failed","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"5b76955a-c5f5-4848-8cd7-251bc32a43a5":{"description":"Internal Server Error","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b584b9fe-e97c-43f5-8edd-5438be25a569":{"description":"Service Unavailable","content":{"application/json":{"schema":{"properties":{"detail":{"properties":{"success":{"type":"boolean","title":"Success","default":false,"example":true,"uniqueKey":"detail.success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","default":"Error occurred","uniqueKey":"detail.message","typeLabel":"string"},"error_code":{"oneOf":[{"type":"string","title":"Error Code","uniqueKey":"detail.error_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error Code","uniqueKey":"detail.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail.error_code","typeLabel":"string | null"}},"type":"object","title":"ErrorResponse","isRequired":true,"uniqueKey":"detail","typeLabel":"ErrorResponse · object"}},"type":"object","required":["detail"],"title":"ActualErrorResponse","uniqueKey":"","typeLabel":"ActualErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"detail":{"success":true,"message":"Error occurred","error_code":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7ddf42f3-1680-4597-8d93-293d2268be0a":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"27177c36-ced5-48ec-934a-74f1d3c21f2f":{"url":"/","description":"Local","x-fern-server-name":"cortex-backend-local"},"ec4a38bd-f056-41fa-92b7-9e831f0c977f":{"url":"https://api.usecortex.ai","description":"Production","x-fern-server-name":"cortex-prod","x-fern-audiences":["public"]},"c80917a8-4b03-45cd-ba80-6a4329afc4a3":{"url":"https://preprod.usecortex.ai","description":"Staging","x-fern-server-name":"cortex-staging"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"cortex-ad5578da","siteName":"Cortex SDK","title":"Create Tenant - Cortex SDK","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-21T16:45:18.087Z","originalFileLocation":"api-reference/endpoint/create-tenant.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=\"Create a tenant for your account. Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search. Tenant Metadata Schema You can optionally provide a tenant_metadata_schema to define custom fields that will be indexed in the vector store. Each field can be configured with: - enable_match: Enable text filtering on this field - enable_dense_embedding: Create dense embeddings for semantic similarity search - enable_sparse_embedding: Create sparse embeddings (BM25) for keyword search Example Request: json { \u0026quot;tenant_id\u0026quot;: \u0026quot;my-tenant\u0026quot;, \u0026quot;tenant_metadata_schema\u0026quot;: [ { \u0026quot;name\u0026quot;: \u0026quot;category\u0026quot;, \u0026quot;data_type\u0026quot;: \u0026quot;VARCHAR\u0026quot;, \u0026quot;max_length\u0026quot;: 256, \u0026quot;enable_match\u0026quot;: true }, { \u0026quot;name\u0026quot;: \u0026quot;product_description\u0026quot;, \u0026quot;data_type\u0026quot;: \u0026quot;VARCHAR\u0026quot;, \u0026quot;max_length\u0026quot;: 4096, \u0026quot;enable_dense_embedding\u0026quot;: true, \u0026quot;enable_sparse_embedding\u0026quot;: true } ] } Expected outcome: - A tenant is created and returned with its identifier. - If tenant_metadata_schema is provided, the vector store collection will include the specified custom fields with their configured search capabilities. - If the tenant already exists, you receive a success message with the existing identifier.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cortex SDK\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_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/cortex-ad5578da/ALVAenBL80cTIEFP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Tenant - Cortex SDK\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a tenant for your account. Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search. Tenant Metadata Schema You can optionally provide a tenant_metadata_schema to define custom fields that will be indexed in the vector store. Each field can be configured with: - enable_match: Enable text filtering on this field - enable_dense_embedding: Create dense embeddings for semantic similarity search - enable_sparse_embedding: Create sparse embeddings (BM25) for keyword search Example Request: json { \u0026quot;tenant_id\u0026quot;: \u0026quot;my-tenant\u0026quot;, \u0026quot;tenant_metadata_schema\u0026quot;: [ { \u0026quot;name\u0026quot;: \u0026quot;category\u0026quot;, \u0026quot;data_type\u0026quot;: \u0026quot;VARCHAR\u0026quot;, \u0026quot;max_length\u0026quot;: 256, \u0026quot;enable_match\u0026quot;: true }, { \u0026quot;name\u0026quot;: \u0026quot;product_description\u0026quot;, \u0026quot;data_type\u0026quot;: \u0026quot;VARCHAR\u0026quot;, \u0026quot;max_length\u0026quot;: 4096, \u0026quot;enable_dense_embedding\u0026quot;: true, \u0026quot;enable_sparse_embedding\u0026quot;: true } ] } Expected outcome: - A tenant is created and returned with its identifier. - If tenant_metadata_schema is provided, the vector store collection will include the specified custom fields with their configured search capabilities. - If the tenant already exists, you receive a success message with the existing identifier.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cortex SDK\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cortex-ad5578da.mintlify.site/_mintlify/api/og/v2?division=Tenant+Management\u0026amp;title=Create+Tenant\u0026amp;description=Create+a+tenant+for+your+account.%0A%0AUse+this+endpoint+to+initialize+a+tenant+space+you+can+use+for+ingestion%2C+embeddings%2C+and+search.%0A%0A**Tenant+Metadata+Schema**\u0026amp;theme=cb97804abd2d20d4ce133d0c\u0026amp;signature=14e4b1b6635a57187ac4c19a5793d59ba5d843d5a5b1f04859b0c4583cf14665\">\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 Tenant - Cortex SDK\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a tenant for your account. Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search. Tenant Metadata Schema You can optionally provide a tenant_metadata_schema to define custom fields that will be indexed in the vector store. Each field can be configured with: - enable_match: Enable text filtering on this field - enable_dense_embedding: Create dense embeddings for semantic similarity search - enable_sparse_embedding: Create sparse embeddings (BM25) for keyword search Example Request: json { \u0026quot;tenant_id\u0026quot;: \u0026quot;my-tenant\u0026quot;, \u0026quot;tenant_metadata_schema\u0026quot;: [ { \u0026quot;name\u0026quot;: \u0026quot;category\u0026quot;, \u0026quot;data_type\u0026quot;: \u0026quot;VARCHAR\u0026quot;, \u0026quot;max_length\u0026quot;: 256, \u0026quot;enable_match\u0026quot;: true }, { \u0026quot;name\u0026quot;: \u0026quot;product_description\u0026quot;, \u0026quot;data_type\u0026quot;: \u0026quot;VARCHAR\u0026quot;, \u0026quot;max_length\u0026quot;: 4096, \u0026quot;enable_dense_embedding\u0026quot;: true, \u0026quot;enable_sparse_embedding\u0026quot;: true } ] } Expected outcome: - A tenant is created and returned with its identifier. - If tenant_metadata_schema is provided, the vector store collection will include the specified custom fields with their configured search capabilities. - If the tenant already exists, you receive a success message with the existing identifier.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cortex-ad5578da.mintlify.site/_mintlify/api/og/v2?division=Tenant+Management\u0026amp;title=Create+Tenant\u0026amp;description=Create+a+tenant+for+your+account.%0A%0AUse+this+endpoint+to+initialize+a+tenant+space+you+can+use+for+ingestion%2C+embeddings%2C+and+search.%0A%0A**Tenant+Metadata+Schema**\u0026amp;theme=cb97804abd2d20d4ce133d0c\u0026amp;signature=14e4b1b6635a57187ac4c19a5793d59ba5d843d5a5b1f04859b0c4583cf14665\">\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/cortex-ad5578da/ALVAenBL80cTIEFP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cortex SDK\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create-tenant.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cortex-ad5578da.mintlify.app/#organization\",\"name\":\"Cortex SDK\",\"url\":\"https://cortex-ad5578da.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cortex-ad5578da/93r4PO4gUrI78Ocp/logo/light.svg?fit=max\u0026auto=format\u0026n=93r4PO4gUrI78Ocp\u0026q=85\u0026s=714ff10a4ad07c6395ce3055058ad6b0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cortex-ad5578da.mintlify.app#website\",\"name\":\"Cortex SDK\",\"url\":\"https://cortex-ad5578da.mintlify.app\",\"publisher\":{\"@id\":\"https://cortex-ad5578da.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant#webpage\",\"url\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant\",\"name\":\"Create Tenant\",\"description\":\"Create a tenant for your account. Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search. Tenant Metadata Schema You can optionally provide a tenant_metadata_schema to define custom fields that will be indexed in the vector store. Each field can be configured with: - enable_match: Enable text filtering on this field - enable_dense_embedding: Create dense embeddings for semantic similarity search - enable_sparse_embedding: Create sparse embeddings (BM25) for keyword search Example Request: json { \\\"tenant_id\\\": \\\"my-tenant\\\", \\\"tenant_metadata_schema\\\": [ { \\\"name\\\": \\\"category\\\", \\\"data_type\\\": \\\"VARCHAR\\\", \\\"max_length\\\": 256, \\\"enable_match\\\": true }, { \\\"name\\\": \\\"product_description\\\", \\\"data_type\\\": \\\"VARCHAR\\\", \\\"max_length\\\": 4096, \\\"enable_dense_embedding\\\": true, \\\"enable_sparse_embedding\\\": true } ] } Expected outcome: - A tenant is created and returned with its identifier. - If tenant_metadata_schema is provided, the vector store collection will include the specified custom fields with their configured search capabilities. - If the tenant already exists, you receive a success message with the existing identifier.\",\"dateModified\":\"2026-01-21T16:45:18.087Z\",\"isPartOf\":{\"@id\":\"https://cortex-ad5578da.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cortex SDK\",\"item\":\"https://cortex-ad5578da.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Tenant\",\"item\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant#apireference\",\"headline\":\"Create Tenant\",\"name\":\"Create Tenant\",\"description\":\"Create a tenant for your account. Use this endpoint to initialize a tenant space you can use for ingestion, embeddings, and search. Tenant Metadata Schema You can optionally provide a tenant_metadata_schema to define custom fields that will be indexed in the vector store. Each field can be configured with: - enable_match: Enable text filtering on this field - enable_dense_embedding: Create dense embeddings for semantic similarity search - enable_sparse_embedding: Create sparse embeddings (BM25) for keyword search Example Request: json { \\\"tenant_id\\\": \\\"my-tenant\\\", \\\"tenant_metadata_schema\\\": [ { \\\"name\\\": \\\"category\\\", \\\"data_type\\\": \\\"VARCHAR\\\", \\\"max_length\\\": 256, \\\"enable_match\\\": true }, { \\\"name\\\": \\\"product_description\\\", \\\"data_type\\\": \\\"VARCHAR\\\", \\\"max_length\\\": 4096, \\\"enable_dense_embedding\\\": true, \\\"enable_sparse_embedding\\\": true } ] } Expected outcome: - A tenant is created and returned with its identifier. - If tenant_metadata_schema is provided, the vector store collection will include the specified custom fields with their configured search capabilities. - If the tenant already exists, you receive a success message with the existing identifier.\",\"url\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant\",\"mainEntityOfPage\":{\"@id\":\"https://cortex-ad5578da.mintlify.app/api-reference/endpoint/create-tenant#webpage\"},\"dateModified\":\"2026-01-21T16:45:18.087Z\",\"publisher\":{\"@id\":\"https://cortex-ad5578da.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://cortex-ad5578da.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cortex SDK\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Cortex SDK","nav":{"global":{},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Error Responses","href":"/api-reference/error-responses"},{"title":"SDKs - Node and Python","description":"Official TypeScript/Node.js and Python SDKs so that you can integrate Cortex AI into your application with ease.","href":"/api-reference/sdks"}]},{"group":"Tenant Management","pages":[{"title":"Create Tenant","openapi":"POST /tenants/create","href":"/api-reference/endpoint/create-tenant"},{"title":"Get Tenant Stats","openapi":"GET /tenants/stats","description":"Retrieve usage stats for your tenant.\n\nUse this endpoint to check whether a tenant exists and view core metrics like total\nindexed objects and vector dimension. This helps you validate\nsetup and monitor ingestion.\n\nExpected outcome\n\nYou receive the current object count and vector dimension for the tenant.\nIf the tenant does not exist, you get a not-found error.","href":"/api-reference/endpoint/tenant-stats"}]},{"group":"Knowledge Ingestion","pages":[{"title":"Upload Document","openapi":"POST /ingestion/upload-document","href":"/api-reference/endpoint/upload-document"},{"title":"Upload Content","openapi":"POST /ingestion/upload-content","href":"/api-reference/endpoint/upload-content"},{"title":"Upload App Sources","openapi":"POST /upload/upload_app_sources","href":"/api-reference/endpoint/upload-app"},{"title":"Verify Processing","openapi":"POST /ingestion/verify-processing","href":"/api-reference/endpoint/verify-processing"}]},{"group":"Query \u0026 Retrieval","pages":[{"title":"Hybrid Search","openapi":"POST /search/hybrid-search","href":"/api-reference/endpoint/hybrid-search"},{"title":"Full Text Search","openapi":"POST /search/full-text-search","href":"/api-reference/endpoint/full-text-search"},{"title":"QnA","openapi":"POST /search/qna","tag":"DEPRECATING","href":"/api-reference/endpoint/qna"}]},{"group":"Knowledge Management","pages":[{"title":"List Sources","openapi":"GET /list/list-sources","href":"/api-reference/endpoint/list-sources"},{"title":"List Sources By ID","openapi":"POST /list/list-sources-by-id","href":"/api-reference/endpoint/list-sources-by-id"},{"title":"Fetch Content","openapi":"POST /fetch/fetch-source-content","href":"/api-reference/endpoint/fetch-source-content"},{"title":"Delete Sources","openapi":"DELETE /delete/delete-sources","href":"/api-reference/endpoint/delete-sources"},{"title":"Graph Relations By Source Id","openapi":"GET /list/graph-relations-by-id","href":"/api-reference/endpoint/graph-relations"}]},{"group":"Embeddings","pages":[{"title":"Create Embeddings Tenant","openapi":"POST /embeddings/create_tenant","href":"/api-reference/endpoint/create-embeddings-tenant"},{"title":"Upload Embeddings","openapi":"POST /embeddings/insert-raw-embeddings","href":"/api-reference/endpoint/insert-raw-embeddings"},{"title":"Search Embeddings","openapi":"POST /embeddings/search-raw-embeddings","href":"/api-reference/endpoint/search-raw-embeddings"},{"title":"Filter Raw Embeddings","openapi":"POST /embeddings/filter-raw-embeddings","href":"/api-reference/endpoint/filter-raw-embeddings"},{"title":"Delete Embeddings","openapi":"DELETE /embeddings/delete-raw-embeddings","href":"/api-reference/endpoint/delete-raw-embeddings"}]},{"group":"User Memories","pages":[{"title":"Add User Memory","openapi":"POST /memories/add-memories","href":"/api-reference/endpoint/add-memories"},{"title":"Delete User Memory","openapi":"DELETE /memories/delete-memory","href":"/api-reference/endpoint/delete-memory"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Create Tenant - Cortex SDK","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}