{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Trieve","colors":{"primary":"#a33eb5","light":"#a33eb5","dark":"#a33eb5"},"favicon":"/icons/android-chrome-512x512-new.png","logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/trieve/icons/trieve-logo.png","dark":"https://mintlify.s3.us-west-1.amazonaws.com/trieve/icons/trieve-logo.png","href":"https://trieve.ai"},"api":{"openapi":"https://beta-api.trieve.ai/api-docs/openapi.json"},"navbar":{"links":[{"label":"Support","href":"mailto:humans@trieve.ai"},{"label":"Dashboard","href":"https://dashboard.trieve.ai"}],"primary":{"type":"github","href":"https://github.com/devflowinc/trieve"}},"footer":{"socials":{"x":"https://x.com/trieveai","discord":"https://discord.gg/eBJXXZDB8z","github":"https://github.com/devflowinc","linkedin":"https://www.linkedin.com/company/trieveai","website":"https://trieve.ai"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"TypeScript SDK","href":"https://ts-sdk.trieve.ai","icon":"js"},{"anchor":"Github","href":"https://github.com/devflowinc/trieve","icon":"github"},{"anchor":"Community","href":"https://discord.com/invite/E9sPRZqpDT","icon":"users"},{"anchor":"Blog","href":"https://trieve.ai/blog","icon":"newspaper"},{"anchor":"System Status","href":"https://status.trieve.ai","icon":"satellite-dish"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trieve","hasAudioNarration":false,"actualSubdomain":"trieve","customDomains":["docs.trieve.ai"],"gitSource":{"type":"github","owner":"devflowinc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21f60f74bd683e723c3ad0","collectionId":"94bd8055-ab4f-4535-9548-a3032b69bedc","schemaVersion":"v2"},"feedback":{"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae290ee419382350a86cdb0:success","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":139},{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Chunk","count":18},{"language":"default","tag":"Dataset","count":18},{"language":"default","tag":"Chunk Group","count":17},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Vector Inference","count":16},{"language":"default","tag":"Analytics","count":14},{"language":"default","tag":"Get Started","count":11},{"language":"default","tag":"File","count":10}]},"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img{border-radius:.25rem}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.25rem}"}],"page":{"pagePath":"api-reference/organization/get-organization","slug":"/api-reference/organization/get-organization","pageMetadata":{"openapi":"get /api/organization/{organization_id}","title":"Get Organization","description":"Fetch the details of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.","href":"/api-reference/organization/get-organization","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Fetch the details of an organization by its id. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"get /api/organization/{organization_id}","title":"Get Organization","description":"Fetch the details of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.","href":"/api-reference/organization/get-organization","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Organization"],"summary":"Get Organization","description":"Fetch the details of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.","operationId":"get_organization","parameters":["17bad915-7eab-4434-a1c2-f8fc0c572a8c","31821593-ebd4-49d2-824d-47a2785a20ce"],"responses":{"200":"80affa1c-a253-4328-8c6c-3366d280a142","400":"8689ebd3-0a0f-46ea-8821-592dcc76ad64","404":"49ebd388-6d4b-4afb-907e-fa4b73cfa5ac"},"security":["7e107c8b-5e89-4531-8d56-4b08db5dbadc"],"method":"get","type":"path","servers":["2f9b8af5-1d01-4863-b9c9-46a5af77efd6","f8cd735f-4869-4d97-9c1c-3f5db410bca0"],"path":"/api/organization/{organization_id}","baseUrlOptions":["https://api.trieve.ai","http://localhost:8090"],"title":"Get Organization","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"17bad915-7eab-4434-a1c2-f8fc0c572a8c":{"name":"TR-Organization","in":"header","description":"The organization id to use for the request","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The organization id to use for the request","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"31821593-ebd4-49d2-824d-47a2785a20ce":{"name":"organization_id","in":"path","description":"The id of the organization you want to fetch.","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"The id of the organization you want to fetch.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"80affa1c-a253-4328-8c6c-3366d280a142":{"description":"Organization with the id that was requested","content":{"application/json":{"schema":{"type":"object","required":["organization"],"properties":{"organization":{"type":"object","required":["id","name","created_at","updated_at","deleted","partner_configuration"],"properties":{"created_at":{"type":"string","format":"date-time","description":"Timestamp of the creation of the dataset","isRequired":true,"uniqueKey":"organization.created_at","typeLabel":"string\u003cdate-time>"},"deleted":{"type":"integer","format":"int32","description":"Flag to indicate if the organization has been deleted. Deletes are handled async after the flag is set so as to avoid expensive search index compaction.","isRequired":true,"uniqueKey":"organization.deleted","typeLabel":"integer\u003cint32>"},"id":{"type":"string","format":"uuid","description":"Unique identifier of the dataset, auto-generated uuid created by Trieve","isRequired":true,"uniqueKey":"organization.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the organization","isRequired":true,"uniqueKey":"organization.name","typeLabel":"string"},"partner_configuration":{"description":"Configuration of the organization for the Trieve partner program. Contact partnerships@trieve.ai for more details.","isRequired":true,"uniqueKey":"organization.partner_configuration","typeLabel":"any"},"updated_at":{"type":"string","format":"date-time","description":"Timestamp of the last update of the dataset","isRequired":true,"uniqueKey":"organization.updated_at","typeLabel":"string\u003cdate-time>"},"registerable":{"oneOf":[{"type":"boolean","description":"Flag to indicate whether or not new users may join the organization. Default is true.","uniqueKey":"organization.registerable.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Flag to indicate whether or not new users may join the organization. Default is true.","uniqueKey":"organization.registerable.oneOf.1","typeLabel":"null"}],"uniqueKey":"organization.registerable","typeLabel":"boolean | null"}},"example":{"created_at":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","name":"Trieve","partner_configuration":{"COMPANY_NAME":"Trieve","DEMO_DOMAIN":"demos.trieve.ai","FAVICON_URL":"https://cdn.trieve.ai/favicon.ico"},"registerable":true,"updated_at":"2021-01-01 00:00:00.000"},"isRequired":true,"uniqueKey":"organization","typeLabel":"object"},"plan":{"oneOf":[{"type":"object","required":["type","id","stripe_id","chunk_count","user_count","dataset_count","message_count","amount","created_at","updated_at","name","visible","file_storage"],"example":{"amount":1000,"chunk_count":1000,"created_at":"2021-01-01 00:00:00.000","dataset_count":1,"file_storage":512,"id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","message_count":1000,"messages_per_month":1000,"name":"Free","stripe_id":"plan_123","updated_at":"2021-01-01 00:00:00.000","user_count":5},"properties":{"amount":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"plan.oneOf.0.amount","typeLabel":"integer\u003cint64>"},"chunk_count":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"plan.oneOf.0.chunk_count","typeLabel":"integer\u003cint32>"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"plan.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"dataset_count":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"plan.oneOf.0.dataset_count","typeLabel":"integer\u003cint32>"},"file_storage":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"plan.oneOf.0.file_storage","typeLabel":"integer\u003cint64>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"plan.oneOf.0.id","typeLabel":"string\u003cuuid>"},"message_count":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"plan.oneOf.0.message_count","typeLabel":"integer\u003cint32>"},"name":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.0.name","typeLabel":"string"},"stripe_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.0.stripe_id","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"plan.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"user_count":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"plan.oneOf.0.user_count","typeLabel":"integer\u003cint32>"},"visible":{"type":"boolean","isRequired":true,"uniqueKey":"plan.oneOf.0.visible","typeLabel":"boolean"},"type":{"type":"string","enum":["flat"],"isRequired":true,"uniqueKey":"plan.oneOf.0.type","typeLabel":"enum\u003cstring>"},"messages_per_month":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"plan.oneOf.0.messages_per_month.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"plan.oneOf.0.messages_per_month.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.oneOf.0.messages_per_month","typeLabel":"integer\u003cint32> | null"}},"uniqueKey":"plan.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","id","name","visible","ingest_tokens_price_id","bytes_ingested_price_id","search_tokens_price_id","message_tokens_price_id","analytics_events_price_id","ocr_pages_price_id","pages_crawls_price_id","datasets_price_id","users_price_id","chunks_stored_price_id","files_storage_price_id","created_at"],"example":{"created_at":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3"},"properties":{"analytics_events_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.analytics_events_price_id","typeLabel":"string"},"bytes_ingested_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.bytes_ingested_price_id","typeLabel":"string"},"chunks_stored_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.chunks_stored_price_id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"plan.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"datasets_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.datasets_price_id","typeLabel":"string"},"files_storage_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.files_storage_price_id","typeLabel":"string"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"plan.oneOf.1.id","typeLabel":"string\u003cuuid>"},"ingest_tokens_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.ingest_tokens_price_id","typeLabel":"string"},"message_tokens_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.message_tokens_price_id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.name","typeLabel":"string"},"ocr_pages_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.ocr_pages_price_id","typeLabel":"string"},"pages_crawls_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.pages_crawls_price_id","typeLabel":"string"},"search_tokens_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.search_tokens_price_id","typeLabel":"string"},"users_price_id":{"type":"string","isRequired":true,"uniqueKey":"plan.oneOf.1.users_price_id","typeLabel":"string"},"visible":{"type":"boolean","isRequired":true,"uniqueKey":"plan.oneOf.1.visible","typeLabel":"boolean"},"type":{"type":"string","enum":["usage_based"],"isRequired":true,"uniqueKey":"plan.oneOf.1.type","typeLabel":"enum\u003cstring>"},"platform_price_amount":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"plan.oneOf.1.platform_price_amount.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"plan.oneOf.1.platform_price_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.oneOf.1.platform_price_amount","typeLabel":"integer\u003cint32> | null"},"platform_price_id":{"oneOf":[{"type":"string","uniqueKey":"plan.oneOf.1.platform_price_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"plan.oneOf.1.platform_price_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"plan.oneOf.1.platform_price_id","typeLabel":"string | null"}},"uniqueKey":"plan.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"plan.oneOf.2","typeLabel":"null"}],"uniqueKey":"plan","typeLabel":"object · object · null"},"subscription":{"oneOf":[{"type":"object","required":["type","id","stripe_id","plan_id","organization_id","created_at","updated_at"],"example":{"created_at":"2021-01-01 00:00:00.000","current_period_end":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","organization_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","plan_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","stripe_id":"sub_123","updated_at":"2021-01-01 00:00:00.000"},"properties":{"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"subscription.oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"subscription.oneOf.0.id","typeLabel":"string\u003cuuid>"},"organization_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"subscription.oneOf.0.organization_id","typeLabel":"string\u003cuuid>"},"plan_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"subscription.oneOf.0.plan_id","typeLabel":"string\u003cuuid>"},"stripe_id":{"type":"string","isRequired":true,"uniqueKey":"subscription.oneOf.0.stripe_id","typeLabel":"string"},"updated_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"subscription.oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"},"type":{"type":"string","enum":["flat"],"isRequired":true,"uniqueKey":"subscription.oneOf.0.type","typeLabel":"enum\u003cstring>"},"current_period_end":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"subscription.oneOf.0.current_period_end.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"subscription.oneOf.0.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscription.oneOf.0.current_period_end","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"subscription.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","id","organization_id","stripe_subscription_id","usage_based_plan_id","created_at","last_recorded_meter","last_cycle_timestamp","last_cycle_dataset_count","last_cycle_users_count","last_cycle_chunks_stored_mb","last_cycle_files_storage_mb"],"properties":{"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"subscription.oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"subscription.oneOf.1.id","typeLabel":"string\u003cuuid>"},"last_cycle_chunks_stored_mb":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"subscription.oneOf.1.last_cycle_chunks_stored_mb","typeLabel":"integer\u003cint64>"},"last_cycle_dataset_count":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"subscription.oneOf.1.last_cycle_dataset_count","typeLabel":"integer\u003cint64>"},"last_cycle_files_storage_mb":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"subscription.oneOf.1.last_cycle_files_storage_mb","typeLabel":"integer\u003cint64>"},"last_cycle_timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"subscription.oneOf.1.last_cycle_timestamp","typeLabel":"string\u003cdate-time>"},"last_cycle_users_count":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"subscription.oneOf.1.last_cycle_users_count","typeLabel":"integer\u003cint32>"},"last_recorded_meter":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"subscription.oneOf.1.last_recorded_meter","typeLabel":"string\u003cdate-time>"},"organization_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"subscription.oneOf.1.organization_id","typeLabel":"string\u003cuuid>"},"stripe_subscription_id":{"type":"string","isRequired":true,"uniqueKey":"subscription.oneOf.1.stripe_subscription_id","typeLabel":"string"},"usage_based_plan_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"subscription.oneOf.1.usage_based_plan_id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["usage_based"],"isRequired":true,"uniqueKey":"subscription.oneOf.1.type","typeLabel":"enum\u003cstring>"},"current_period_end":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"subscription.oneOf.1.current_period_end.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"subscription.oneOf.1.current_period_end.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscription.oneOf.1.current_period_end","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"subscription.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"subscription.oneOf.2","typeLabel":"null"}],"uniqueKey":"subscription","typeLabel":"object · object · null"}},"example":{"organization":{"created_at":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","name":"Trieve","registerable":true,"updated_at":"2021-01-01 00:00:00.000"},"plan":{"amount":1000,"chunk_count":1000,"created_at":"2021-01-01 00:00:00.000","dataset_count":1,"file_storage":512,"id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","message_count":1000,"name":"Free","stripe_id":"plan_123","updated_at":"2021-01-01 00:00:00.000","user_count":5},"subscription":{"created_at":"2021-01-01 00:00:00.000","current_period_end":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","organization_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","plan_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","stripe_id":"sub_123","updated_at":"2021-01-01 00:00:00.000"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"organization":{"created_at":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","name":"Trieve","registerable":true,"updated_at":"2021-01-01 00:00:00.000"},"plan":{"amount":1000,"chunk_count":1000,"created_at":"2021-01-01 00:00:00.000","dataset_count":1,"file_storage":512,"id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","message_count":1000,"name":"Free","stripe_id":"plan_123","updated_at":"2021-01-01 00:00:00.000","user_count":5},"subscription":{"created_at":"2021-01-01 00:00:00.000","current_period_end":"2021-01-01 00:00:00.000","id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","organization_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","plan_id":"e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3","stripe_id":"sub_123","updated_at":"2021-01-01 00:00:00.000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8689ebd3-0a0f-46ea-8821-592dcc76ad64":{"description":"Service error relating to finding the organization by id","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad Request"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Bad Request"}}},"exampleType":"generated"}},"exampleType":"generated"},"49ebd388-6d4b-4afb-907e-fa4b73cfa5ac":{"description":"Organization not found","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"example":{"message":"Bad Request"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Bad Request"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7e107c8b-5e89-4531-8d56-4b08db5dbadc":{"ApiKey":{"type":"apiKey","in":"header","name":"Authorization","scopes":["admin"]}}},"servers":{"2f9b8af5-1d01-4863-b9c9-46a5af77efd6":{"url":"https://api.trieve.ai","description":"Production server"},"f8cd735f-4869-4d97-9c1c-3f5db410bca0":{"url":"http://localhost:8090","description":"Local development server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","scopes":["admin"]},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"Authorization"}],"title":"ApiKey"}]},"originalFileLocation":"https://beta-api.trieve.ai/api-docs/openapi.json"},"subdomain":"trieve","siteName":"Trieve","title":"Get Organization - Trieve","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/organization/get-organization.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=\"Fetch the details of an organization by its id. Auth\u0026#x27;ed user or api key must have an admin or owner role for the specified dataset\u0026#x27;s organization.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trieve\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_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/trieve/UgHWr4L5TQhL9HIO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Organization - Trieve\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch the details of an organization by its id. Auth\u0026#x27;ed user or api key must have an admin or owner role for the specified dataset\u0026#x27;s organization.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trieve\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trieve.ai/api-reference/organization/get-organization\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trieve.mintlify.app/_mintlify/api/og/v2?division=Organization\u0026amp;title=Get+Organization\u0026amp;description=Fetch+the+details+of+an+organization+by+its+id.+Auth%27ed+user+or+api+key+must+have+an+admin+or+owner+role+for+the+specified+dataset%27s+organization.\u0026amp;theme=5f46ca17884f21421b93e352\u0026amp;signature=da38d357073e8b22b78993f1fe27b86a04a86a4ed625992e96ba68eeeb4aba40\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Organization - Trieve\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch the details of an organization by its id. Auth\u0026#x27;ed user or api key must have an admin or owner role for the specified dataset\u0026#x27;s organization.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trieve.mintlify.app/_mintlify/api/og/v2?division=Organization\u0026amp;title=Get+Organization\u0026amp;description=Fetch+the+details+of+an+organization+by+its+id.+Auth%27ed+user+or+api+key+must+have+an+admin+or+owner+role+for+the+specified+dataset%27s+organization.\u0026amp;theme=5f46ca17884f21421b93e352\u0026amp;signature=da38d357073e8b22b78993f1fe27b86a04a86a4ed625992e96ba68eeeb4aba40\">\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/trieve/UgHWr4L5TQhL9HIO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trieve\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#a33eb5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trieve.ai/api-reference/organization/get-organization\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/organization/get-organization.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trieve.ai/#organization\",\"name\":\"Trieve\",\"url\":\"https://docs.trieve.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/trieve/icons/trieve-logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trieve.ai#website\",\"name\":\"Trieve\",\"url\":\"https://docs.trieve.ai\",\"publisher\":{\"@id\":\"https://docs.trieve.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trieve.ai/api-reference/organization/get-organization#webpage\",\"url\":\"https://docs.trieve.ai/api-reference/organization/get-organization\",\"name\":\"Get Organization\",\"description\":\"Fetch the details of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.\",\"isPartOf\":{\"@id\":\"https://docs.trieve.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trieve.ai/api-reference/organization/get-organization#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trieve.ai/api-reference/organization/get-organization#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Organization\",\"item\":\"https://docs.trieve.ai/api-reference/organization/create-organization\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Organization\",\"item\":\"https://docs.trieve.ai/api-reference/organization/get-organization\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trieve.ai/api-reference/organization/get-organization#apireference\",\"headline\":\"Get Organization\",\"name\":\"Get Organization\",\"description\":\"Fetch the details of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.\",\"url\":\"https://docs.trieve.ai/api-reference/organization/get-organization\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trieve.ai/api-reference/organization/get-organization#webpage\"},\"publisher\":{\"@id\":\"https://docs.trieve.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trieve.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trieve\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trieve","nav":{"global":{"anchors":[{"anchor":"TypeScript SDK","href":"https://ts-sdk.trieve.ai","icon":"js"},{"anchor":"Github","href":"https://github.com/devflowinc/trieve","icon":"github"},{"anchor":"Community","href":"https://discord.com/invite/E9sPRZqpDT","icon":"users"},{"anchor":"Blog","href":"https://trieve.ai/blog","icon":"newspaper"},{"anchor":"System Status","href":"https://status.trieve.ai","icon":"satellite-dish"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/introduction"}]},{"tab":"API Reference","groups":[{"group":"Chunk","pages":[{"openapi":"post /api/chunk","title":"Create or Upsert Chunk or Chunks","href":"/api-reference/chunk/create-or-upsert-chunk-or-chunks"},{"openapi":"post /api/chunk/search","title":"Search","href":"/api-reference/chunk/search"},{"openapi":"post /api/chunk/autocomplete","title":"Autocomplete","href":"/api-reference/chunk/autocomplete"},{"openapi":"post /api/chunk/recommend","title":"Get Recommended Chunks","href":"/api-reference/chunk/get-recommended-chunks"},{"openapi":"post /api/chunks/scroll","title":"Scroll Chunks","href":"/api-reference/chunk/scroll-chunks"},{"openapi":"post /api/chunk/count","title":"Count chunks above threshold","href":"/api-reference/chunk/count-chunks-above-threshold"},{"openapi":"post /api/chunk/suggestions","title":"Generate suggested queries","href":"/api-reference/chunk/generate-suggested-queries"},{"openapi":"post /api/chunk/generate","title":"RAG on Specified Chunks","href":"/api-reference/chunk/rag-on-specified-chunks"},{"openapi":"put /api/chunk","title":"Update Chunk","href":"/api-reference/chunk/update-chunk"},{"openapi":"put /api/chunk/tracking_id/update","title":"Update Chunk By Tracking Id","href":"/api-reference/chunk/update-chunk-by-tracking-id"},{"openapi":"get /api/chunk/{chunk_id}","title":"Get Chunk By Id","href":"/api-reference/chunk/get-chunk-by-id"},{"openapi":"get /api/chunk/tracking_id/{tracking_id}","title":"Get Chunk By Tracking Id","href":"/api-reference/chunk/get-chunk-by-tracking-id"},{"openapi":"post /api/chunks/tracking","title":"Get Chunks By Tracking Ids","href":"/api-reference/chunk/get-chunks-by-tracking-ids"},{"openapi":"post /api/chunks","title":"Get Chunks By Ids","href":"/api-reference/chunk/get-chunks-by-ids"},{"openapi":"delete /api/chunk/{chunk_id}","title":"Delete Chunk","href":"/api-reference/chunk/delete-chunk"},{"openapi":"delete /api/chunk/tracking_id/{tracking_id}","title":"Delete Chunk By Tracking Id","href":"/api-reference/chunk/delete-chunk-by-tracking-id"},{"openapi":"delete /api/chunk","title":"Bulk Delete Chunks","href":"/api-reference/chunk/bulk-delete-chunk"},{"openapi":"post /api/chunk/split","title":"Split HTML Content into Chunks","href":"/api-reference/chunk/split-html-content-into-chunks"}]},{"group":"Chunk Group","pages":[{"openapi":"post /api/chunk_group","title":"Create or Upsert Group or Groups","href":"/api-reference/chunk-group/create-or-upsert-group-or-groups"},{"openapi":"post /api/chunk_group/group_oriented_search","title":"Search Over Groups","href":"/api-reference/chunk-group/search-over-groups"},{"openapi":"post /api/chunk_group/group_oriented_autocomplete","title":"Autocomplete Search Over Groups","href":"/api-reference/chunk-group/autocomplete-search-over-groups"},{"openapi":"post /api/chunk_group/search","title":"Search Within Group","href":"/api-reference/chunk-group/search-within-group"},{"openapi":"post /api/chunk_group/recommend","title":"Get Recommended Groups","href":"/api-reference/chunk-group/get-recommended-groups"},{"openapi":"post /api/chunk_group/chunk/{group_id}","title":"Add Chunk to Group","href":"/api-reference/chunk-group/add-chunk-to-group"},{"openapi":"post /api/chunk_group/tracking_id/{tracking_id}","title":"Add Chunk to Group by Tracking ID","href":"/api-reference/chunk-group/add-chunk-to-group-by-tracking-id"},{"openapi":"post /api/chunk_group/chunks","title":"Get Groups for Chunks","href":"/api-reference/chunk-group/get-groups-for-chunks"},{"openapi":"get /api/chunk_group/tracking_id/{group_tracking_id}/{page}","title":"Get Chunks in Group by Tracking ID","href":"/api-reference/chunk-group/get-chunks-in-group-by-tracking-id"},{"openapi":"get /api/chunk_group/tracking_id/{tracking_id}","title":"Get Group by Tracking ID","href":"/api-reference/chunk-group/get-group-by-tracking-id"},{"openapi":"put /api/chunk_group","title":"Update Group","href":"/api-reference/chunk-group/update-group"},{"openapi":"delete /api/chunk_group/chunk/{group_id}","title":"Remove Chunk from Group","href":"/api-reference/chunk-group/remove-chunk-from-group"},{"openapi":"delete /api/chunk_group/tracking_id/{tracking_id}","title":"Delete Group by Tracking ID","href":"/api-reference/chunk-group/delete-group-by-tracking-id"},{"openapi":"delete /api/chunk_group/{group_id}","title":"Delete Group","href":"/api-reference/chunk-group/delete-group"},{"openapi":"get /api/chunk_group/{group_id}","title":"Get Group","href":"/api-reference/chunk-group/get-group"},{"openapi":"get /api/chunk_group/{group_id}/{page}","title":"Get Chunks in Group","href":"/api-reference/chunk-group/get-chunks-in-group"},{"openapi":"get /api/dataset/groups/{dataset_id}/{page}","title":"Get Groups for Dataset","href":"/api-reference/chunk-group/get-groups-for-dataset"}]},{"group":"Topic","pages":[{"openapi":"post /api/topic","title":"Create Topic","href":"/api-reference/topic/create-topic"},{"openapi":"post /api/topic/clone","title":"Clone Topic","href":"/api-reference/topic/clone-topic"},{"openapi":"put /api/topic","title":"Update Topic","href":"/api-reference/topic/update-topic"},{"openapi":"get /api/topic/owner/{owner_id}","title":"Get All Topics for Owner ID","href":"/api-reference/topic/get-all-topics-for-owner-id"},{"openapi":"delete /api/topic/{topic_id}","title":"Delete Topic","href":"/api-reference/topic/delete-topic"}]},{"group":"Message","pages":[{"openapi":"post /api/message","title":"Create message","href":"/api-reference/message/create-message"},{"openapi":"put /api/message","title":"Edit message","href":"/api-reference/message/edit-message"},{"openapi":"patch /api/message","title":"Regenerate message","href":"/api-reference/message/regenerate-message-1"},{"openapi":"post /api/message/get_tool_function_params","title":"Get tool function parameters","href":"/api-reference/message/get-tool-function-parameters"},{"openapi":"get /api/message/{message_id}","title":"Get a message by its ID","href":"/api-reference/message/get-a-message-by-its-id"},{"openapi":"get /api/messages/{messages_topic_id}","title":"Get all messages for a given topic","href":"/api-reference/message/get-all-messages-for-a-given-topic"},{"openapi":"post /api/message/edit_image","title":"Edit Image","href":"/api-reference/message/edit-image"},{"openapi":"post /api/message/generate_message_completions","title":"Generate Message Completions","href":"/api-reference/message/generate-message-completions"},{"openapi":"post /api/message/transcribe_audio","title":"Transcribe Audio","href":"/api-reference/message/transcribe-audio"}]},{"group":"Crawl","pages":[{"openapi":"get /api/crawl","title":"Get all crawl requests for a dataset","href":"/api-reference/crawl/get-all-crawl-requests-for-a-dataset"},{"openapi":"put /api/crawl","title":"Update a crawl request","href":"/api-reference/crawl/update-a-crawl-request"},{"openapi":"post /api/crawl","title":"Create a new crawl request","href":"/api-reference/crawl/create-a-new-crawl-request"},{"openapi":"delete /api/crawl/{crawl_id}","title":"Delete a crawl request","href":"/api-reference/crawl/delete-a-crawl-request"}]},{"group":"File","pages":[{"openapi":"post /api/file","title":"Upload File","href":"/api-reference/file/upload-file"},{"openapi":"post /api/file/csv_or_jsonl","title":"Create Presigned CSV/JSONL S3 PUT URL","href":"/api-reference/file/create-presigned-url-for-csv-jsonl"},{"openapi":"post /api/file/html_page","title":"Upload HTML Page","href":"/api-reference/file/upload-html-page"},{"openapi":"get /api/dataset/files/{dataset_id}/{page}","title":"Get Files and Group IDs for Dataset","href":"/api-reference/file/get-files-for-dataset"},{"openapi":"get /api/dataset/scroll_files","title":"Scroll Files with Groups","href":"/api-reference/file/scroll-files"},{"openapi":"get /api/file/{file_id}","title":"Get File with Signed URL","href":"/api-reference/file/get-file"},{"openapi":"delete /api/file/{file_id}","title":"Delete File","href":"/api-reference/file/delete-file"},{"openapi":"get /api/file/{file_id}","title":"Get File with Signed URL","href":"/api-reference/file/get-file-with-signed-url"},{"openapi":"get /api/dataset/files/{dataset_id}/{page}","deprecated":true,"title":"Get Files and Group IDs for Dataset","href":"/api-reference/file/get-files-and-group-ids-for-dataset"},{"openapi":"get /api/dataset/scroll_files","title":"Scroll Files with Groups","href":"/api-reference/file/scroll-files-with-groups"}]},{"group":"Analytics","pages":[{"openapi":"post /api/analytics","title":"Get Analytics","href":"/api-reference/analytics/get-analytics"},{"openapi":"post /api/analytics/events/all","title":"Get All User Events","href":"/api-reference/analytics/get-all-user-events"},{"openapi":"post /api/analytics/events/ctr","title":"Get CTR Analytics","href":"/api-reference/analytics/get-ctr-analytics"},{"openapi":"post /api/analytics/rag","title":"Get RAG Analytics","href":"/api-reference/analytics/get-rag-analytics"},{"openapi":"post /api/analytics/recommendations","title":"Get Recommendation Analytics","href":"/api-reference/analytics/get-recommendation-analytics"},{"openapi":"post /api/analytics/search","title":"Get Search Analytics","href":"/api-reference/analytics/get-search-analytics"},{"openapi":"post /api/analytics/search/cluster","title":"Get Cluster Analytics","href":"/api-reference/analytics/get-cluster-analytics"},{"openapi":"post /api/analytics/events/component","title":"Get Component Analytics","href":"/api-reference/analytics/get-component-analytics"},{"openapi":"post /api/analytics/top","title":"Get Top Datasets","href":"/api-reference/analytics/get-top-datasets"},{"openapi":"put /api/analytics/events","title":"Send User Event Data","href":"/api-reference/analytics/send-user-event-data"},{"openapi":"put /api/analytics/ctr","title":"Send CTR Data","href":"/api-reference/analytics/send-ctr-data"},{"openapi":"put /api/analytics/rag","title":"Rate RAG","href":"/api-reference/analytics/rate-rag"},{"openapi":"put /api/analytics/search","title":"Rate Search","href":"/api-reference/analytics/rate-search"},{"openapi":"get /api/analytics/events/{event_id}","title":"Get User Event By ID","href":"/api-reference/analytics/get-user-event-by-id"}]},{"group":"Experiments","pages":[{"openapi":"post /api/experiment","title":"Create Experiment","href":"/api-reference/experiment/create-experiment"},{"openapi":"post /api/experiment/ab-test","title":"Ab Test","href":"/api-reference/experiment/ab-test"},{"openapi":"put /api/experiment","title":"Update Experiment","href":"/api-reference/experiment/update-experiment"},{"openapi":"delete /api/experiment/{experiment_id}","title":"Delete Experiment","href":"/api-reference/experiment/delete-experiment"},{"title":"Get experiment","href":"/api-reference/experiment/get-experiment"}]},{"group":"Dataset","pages":[{"openapi":"post /api/dataset","title":"Create Dataset","href":"/api-reference/dataset/create-dataset"},{"openapi":"post /api/dataset/batch_create_datasets","title":"Batch Create Datasets","href":"/api-reference/dataset/batch-create-datasets"},{"openapi":"post /api/dataset/get_all_tags","title":"Get All Tags","href":"/api-reference/dataset/get-all-tags"},{"openapi":"post /api/dataset/events","title":"Get events for the dataset","href":"/api-reference/dataset/get-events-for-the-dataset"},{"openapi":"put /api/dataset","title":"Update Dataset by ID or Tracking ID","href":"/api-reference/dataset/update-dataset-by-id-or-tracking-id"},{"openapi":"put /api/dataset/clear/{dataset_id}","title":"Clear Dataset","href":"/api-reference/dataset/clear-dataset"},{"openapi":"get /api/dataset/{dataset_id}","title":"Get Dataset By ID","href":"/api-reference/dataset/get-dataset-by-id"},{"openapi":"get /api/dataset/tracking_id/{tracking_id}","title":"Get Dataset by Tracking ID","href":"/api-reference/dataset/get-dataset-by-tracking-id"},{"openapi":"get /api/dataset/organization/{organization_id}","title":"Get Datasets from Organization","href":"/api-reference/dataset/get-datasets-from-organization"},{"openapi":"post /api/etl/create_job","title":"Create ETL Job","href":"/api-reference/dataset/create-etl-job"},{"openapi":"put /api/dataset/pagefind","title":"Create Pagefind Index for Dataset","href":"/api-reference/dataset/create-pagefind-index-for-dataset"},{"openapi":"get /api/dataset/pagefind","title":"Get Pagefind Index Url for Dataset","href":"/api-reference/dataset/get-pagefind-index-url-for-dataset"},{"openapi":"get /api/dataset/usage/{dataset_id}","title":"Get Usage By Dataset ID","href":"/api-reference/dataset/get-usage-by-dataset-id"},{"openapi":"get /api/dataset/crawl_options/{dataset_id}","title":null,"href":"/api-reference/dataset/get-dataset-crawl-options"},{"openapi":"delete /api/dataset/{dataset_id}","title":"Delete Dataset","href":"/api-reference/dataset/delete-dataset"},{"openapi":"delete /api/dataset/tracking_id/{tracking_id}","title":"Delete Dataset by Tracking ID","href":"/api-reference/dataset/delete-dataset-by-tracking-id"},{"openapi":"post /api/dataset/clone","title":"Clone Dataset","href":"/api-reference/dataset/clone-dataset"},{"openapi":"get /api/dataset/get_dataset_queue_lengths","title":"Get file and chunk creation queue lengths","href":"/api-reference/dataset/get-file-and-chunk-creation-queue-lengths"}]},{"group":"Organization","pages":[{"openapi":"post /api/organization","title":"Create Organization","href":"/api-reference/organization/create-organization"},{"openapi":"post /api/organization/api_key","title":"Create Organization Api Key","href":"/api-reference/organization/create-organization-api-key"},{"openapi":"post /api/organization/update_dataset_configs","title":"Update All Dataset Configurations","href":"/api-reference/organization/update-all-dataset-configurations"},{"openapi":"put /api/organization","title":"Update Organization","href":"/api-reference/organization/update-organization"},{"openapi":"get /api/organization/api_key","title":"Get Organization Api Keys","href":"/api-reference/organization/get-organization-api-keys"},{"openapi":"get /api/organization/usage/{organization_id}","title":null,"href":"/api-reference/organization/get-organization-usage"},{"openapi":"get /api/organization/users/{organization_id}","title":"Get Organization Users","description":"Fetch the users of an organization by its id. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.","href":"/api-reference/organization/get-organization-users"},{"openapi":"get /api/organization/{organization_id}","title":"Get Organization","href":"/api-reference/organization/get-organization"},{"openapi":"delete /api/organization/{organization_id}","title":"Delete Organization","description":"Delete an organization by its id. The auth'ed user must be an owner of the organization to delete it.","href":"/api-reference/organization/delete-organization"},{"openapi":"delete /api/organization/api_key/{api_key_id}","title":"Delete Organization Api Key","href":"/api-reference/organization/delete-organization-api-key"}]},{"group":"User","pages":[{"openapi":"put /api/user","title":"Update User Org Role","href":"/api-reference/user/update-user-org-role"},{"openapi":"get /api/user/api_key","title":"Get User Api Keys","href":"/api-reference/user/get-user-api-keys"},{"openapi":"delete /api/user/api_key/{api_key_id}","title":"Delete User Api Key","href":"/api-reference/user/delete-user-api-key"}]},{"group":"Auth","pages":[{"openapi":"get /api/auth","title":"Login","href":"/api-reference/auth/login"},{"openapi":"get /api/auth/callback","title":"OpenID Connect callback","href":"/api-reference/auth/openid-connect-callback"},{"openapi":"get /api/auth/me","title":"Get Me","href":"/api-reference/auth/get-me"},{"openapi":"delete /api/auth","title":"Logout","href":"/api-reference/auth/logout"},{"openapi":"post /api/auth/create_api_only_user","title":null,"href":"/api-reference/auth/post-apiauthcreate_api_only_user"}]},{"group":"Health","pages":[{"openapi":"get /api/health","title":"Health Check","href":"/api-reference/health/health-check"}]},{"group":"Invitation","pages":[{"openapi":"post /api/invitation","title":"Send Invitation","href":"/api-reference/invitation/send-invitation"},{"openapi":"get /api/invitations/{organization_id}","title":"Get Invitations","href":"/api-reference/invitation/get-invitations"},{"openapi":"delete /api/invitation/{invitation_id}","title":"Delete Invitation","href":"/api-reference/invitation/delete-invitation"}]},{"group":"Stripe","pages":[{"openapi":"post /api/stripe/checkout/setup/{organization_id}","title":"Update Payment Method","href":"/api-reference/stripe/create-checkout-session-setup"},{"openapi":"patch /api/stripe/subscription_plan/{subscription_id}/{plan_id}","title":"Update Subscription Plan","href":"/api-reference/stripe/update-subscription-plan"},{"openapi":"get /api/stripe/invoices/{organization_id}","title":"Get All Invoices","href":"/api-reference/stripe/get-all-invoices"},{"openapi":"get /api/stripe/payment_link/{plan_id}/{organization_id}","title":"Checkout","href":"/api-reference/stripe/checkout"},{"openapi":"get /api/stripe/plans","title":"Get All Plans","href":"/api-reference/stripe/get-all-plans"},{"openapi":"delete /api/stripe/subscription/{subscription_id}","title":"Cancel Subscription","href":"/api-reference/stripe/cancel-subscription"},{"openapi":"get /api/stripe/estimate_bill/{plan_id}","title":"Estimate Bill From Range","href":"/api-reference/stripe/estimate-bill-from-range"},{"openapi":"get /api/stripe/usage_plans","title":"Get All Usage Plans","href":"/api-reference/stripe/get-all-usage-plans"},{"openapi":"post /api/stripe/checkout/setup/{organization_id}","title":"Update Payment Method","href":"/api-reference/stripe/update-payment-method"}]},{"group":"Metrics","pages":[{"openapi":"post /metrics","title":"Get Prometheus Metrics","href":"/api-reference/metrics/get-prometheus-metrics"}]},{"group":"Public","pages":[{"openapi":"get /api/public_page/{dataset_id}","title":null,"href":"/api-reference/public/get-apipublic_page"},{"openapi":"post /api/shopify/user_event","title":"Send a Shopify user event","href":"/api-reference/public/send-a-shopify-user-event"}]}]},{"tab":"Vector Inference","pages":[{"title":"Vector Inference","href":"/vector-inference/introduction"}]},{"tab":"SiteSearch AI","pages":[{"title":"SiteSearch AI","href":"/site-search/introduction"}]}]},"basePath":"","title":"Get Organization - Trieve","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}