Create a file in Drive in one request. Supply content for text, Markdown or CSV, or content_base64 for a prepared file such as a PDF or Word document. Supply exactly one of these fields.Required scope:drive:write
These endpoints require the Drive document creation API to be deployed to the selected environment. Existing read or download keys do not gain write access automatically; create a key with drive:write when it is available.
content is stored as UTF-8. content_base64 must contain strict base64-encoded file bytes without a data URL prefix. Other supported Drive file formats can also use content_base64, with a matching extension and MIME type. This endpoint stores the supplied format; it does not convert text into Word or PDF.Omit parent_id or set it to null for the Drive root. Otherwise, supply the destination folder’s ID. Association-wide keys must also specify chapter_id; chapter-bound keys may omit it.The key owner must have Drive view permission and permission to create at the root or contribute to the selected folder. File type, signature, size and storage quota checks apply. Successful creation is recorded in the chapter’s activity log.
{ "file_name": "Committee minutes.md", "content_type": "text/markdown", "content": "# Committee minutes\n\nThe meeting opened at 10:00."}
The response contains file metadata. Use its id with Download a Drive File when you need the bytes; downloads require the separate drive:download scope.
The configured Drive upload limit applies to decoded bytes (100 MiB by default). Base64 adds request overhead, and HTTP request limits may be lower. Use Start a Drive Upload for larger files.An existing file with the same name in the selected folder causes 409; it is never overwritten. Requests are not idempotent. After an uncertain response, check List Drive Items before retrying (requires drive:read).
Status
Meaning
400
Invalid content, unsupported format, invalid file signature or quota exceeded
403
Missing scope, forbidden chapter or insufficient Drive permissions
404
Destination folder is unavailable to the key owner
409
A file with this name already exists in the folder
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Transparency Hub Network","colors":{"primary":"#006699","light":"#3399CC","dark":"#004D73"},"favicon":"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/favicon.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=4f57b7b0153fac3a72cc51e970148c89","logo":{"light":"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/logo/light.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=4feed52686f2d8a3dc7aef077520304e","dark":"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/logo/dark.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=9cdabb8a0d3e8f68bb10975182f5835c"},"api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"mdx":{"server":["https://api.transparencyhubnetwork.ai/api","https://testapi.transparencyhubnetwork.ai/api"],"auth":{"method":"key","name":"X-API-Key"}}},"navbar":{"links":[{"label":"Support","href":"mailto:support@transparencyhubnetwork.ai"}],"primary":{"type":"button","label":"Get Started","href":"https://transparencyhubnetwork.ai/#signup"}},"footer":{"socials":{"website":"https://transparencyhubnetwork.ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"transparencyhubnetwork","hasAudioNarration":false,"actualSubdomain":"transparencyhubnetwork","customDomains":["docs.transparencyhubnetwork.ai"],"gitSource":{"type":"github","owner":"transparency-hub","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adc8f35504201768b1c80ba","collectionId":"8c4d0995-d408-45d9-bd5b-8c32d1227053","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adc8f35504201768b1c80ba"},"entitlements":{},"buildId":"6ae7c427a37185f6d62695be","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Documentation","count":142},{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Chapter tools","count":14},{"language":"default","tag":"Projects","count":12},{"language":"default","tag":"Community","count":8},{"language":"default","tag":"Admin settings and workflow","count":7},{"language":"default","tag":"Tasks \u0026 Contacts","count":7},{"language":"default","tag":"Drive","count":6},{"language":"default","tag":"Meetings","count":6},{"language":"default","tag":"Applications","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"vite-origin","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},{"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":[],"page":{"pagePath":"api-reference/drive/create-document","slug":"/api-reference/drive/create-document","pageMetadata":{"title":"Create a Drive Document","openapi":"POST /v1/drive/documents","description":"Create a document from text, Markdown, CSV or a prepared file.","href":"/api-reference/drive/create-document"},"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: \"Create a document from text, Markdown, CSV or a prepared file.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Note,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a file in Drive in one request. Supply `,_jsx(_components.code,{children:`content`}),` for text, Markdown or CSV, or `,_jsx(_components.code,{children:`content_base64`}),` for a prepared file such as a PDF or Word document. Supply exactly one of these fields.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`drive:write`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`These endpoints require the Drive document creation API to be deployed to the selected environment. Existing read or download keys do not gain write access automatically; create a key with `,_jsx(_components.code,{children:`drive:write`}),` when it is available.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`choose-a-format`,children:`Choose a format`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`File extension`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`content_type`})}),_jsx(_components.th,{children:`Content field`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.txt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text/plain`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.md`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text/markdown`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.csv`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text/csv`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.pdf`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/pdf`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content_base64`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.docx`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content_base64`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`content`}),` is stored as UTF-8. `,_jsx(_components.code,{children:`content_base64`}),` must contain strict base64-encoded file bytes without a data URL prefix. Other supported Drive file formats can also use `,_jsx(_components.code,{children:`content_base64`}),`, with a matching extension and MIME type. This endpoint stores the supplied format; it does not convert text into Word or PDF.`]}),`\n`,_jsxs(_components.p,{children:[`Omit `,_jsx(_components.code,{children:`parent_id`}),` or set it to `,_jsx(_components.code,{children:`null`}),` for the Drive root. Otherwise, supply the destination folder’s ID. Association-wide keys must also specify `,_jsx(_components.code,{children:`chapter_id`}),`; chapter-bound keys may omit it.`]}),`\n`,_jsx(_components.p,{children:`The key owner must have Drive view permission and permission to create at the root or contribute to the selected folder. File type, signature, size and storage quota checks apply. Successful creation is recorded in the chapter’s activity log.`}),`\n`,`\n`,`\n`,_jsxs(_components.p,{children:[`The response contains file metadata. Use its `,_jsx(_components.code,{children:`id`}),` with `,_jsx(_components.a,{href:`/api-reference/drive/download`,children:`Download a Drive File`}),` when you need the bytes; downloads require the separate `,_jsx(_components.code,{children:`drive:download`}),` scope.`]}),`\n`,_jsx(Heading,{level:`2`,id:`size-limits-and-retries`,children:`Size limits and retries`}),`\n`,_jsxs(_components.p,{children:[`The configured Drive upload limit applies to decoded bytes (100 MiB by default). Base64 adds request overhead, and HTTP request limits may be lower. Use `,_jsx(_components.a,{href:`/api-reference/drive/upload-session`,children:`Start a Drive Upload`}),` for larger files.`]}),`\n`,_jsxs(_components.p,{children:[`An existing file with the same name in the selected folder causes `,_jsx(_components.code,{children:`409`}),`; it is never overwritten. Requests are not idempotent. After an uncertain response, check `,_jsx(_components.a,{href:`/api-reference/drive/items`,children:`List Drive Items`}),` before retrying (requires `,_jsx(_components.code,{children:`drive:read`}),`).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Invalid content, unsupported format, invalid file signature or quota exceeded`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Missing scope, forbidden chapter or insufficient Drive permissions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Destination folder is unavailable to the key owner`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A file with this name already exists in the folder`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Drive is disabled`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Drive Document","openapi":"POST /v1/drive/documents","description":"Create a document from text, Markdown, CSV or a prepared file.","href":"/api-reference/drive/create-document"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,RequestExample,ResponseExample,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Create a file in Drive in one request. Supply `,_jsx(_components.code,{children:`content`}),` for text, Markdown or CSV, or `,_jsx(_components.code,{children:`content_base64`}),` for a prepared file such as a PDF or Word document. Supply exactly one of these fields.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required scope:`}),` `,_jsx(_components.code,{children:`drive:write`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`These endpoints require the Drive document creation API to be deployed to the selected environment. Existing read or download keys do not gain write access automatically; create a key with `,_jsx(_components.code,{children:`drive:write`}),` when it is available.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`choose-a-format`,children:`Choose a format`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`File extension`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`content_type`})}),_jsx(_components.th,{children:`Content field`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.txt`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text/plain`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.md`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text/markdown`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.csv`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`text/csv`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.pdf`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/pdf`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content_base64`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`.docx`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`content_base64`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`content`}),` is stored as UTF-8. `,_jsx(_components.code,{children:`content_base64`}),` must contain strict base64-encoded file bytes without a data URL prefix. Other supported Drive file formats can also use `,_jsx(_components.code,{children:`content_base64`}),`, with a matching extension and MIME type. This endpoint stores the supplied format; it does not convert text into Word or PDF.`]}),`\n`,_jsxs(_components.p,{children:[`Omit `,_jsx(_components.code,{children:`parent_id`}),` or set it to `,_jsx(_components.code,{children:`null`}),` for the Drive root. Otherwise, supply the destination folder’s ID. Association-wide keys must also specify `,_jsx(_components.code,{children:`chapter_id`}),`; chapter-bound keys may omit it.`]}),`\n`,_jsx(_components.p,{children:`The key owner must have Drive view permission and permission to create at the root or contribute to the selected folder. File type, signature, size and storage quota checks apply. Successful creation is recorded in the chapter’s activity log.`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Markdown document`,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:` \"file_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Committee minutes.md\"`}),_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:` \"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text/markdown\"`}),_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:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"# Committee minutes`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\n\\\\n`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`The meeting opened at 10:00.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Prepared text file as base64`,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:` \"file_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Welcome.txt\"`}),_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:` \"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text/plain\"`}),_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:` \"content_base64\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SGVsbG8h\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,numberOfLines:`16`,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:`16`,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:` \"data\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`501`}),_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:` \"parent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_root\"`}),_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:` \"item_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"file\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Welcome.txt\"`}),_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:` \"file_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_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:` \"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"text/plain\"`}),_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:` \"content_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`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:` \"createdby\"`}),_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:` \"createddate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-24T10:00:00Z\"`}),_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:` \"lastmodifieddate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(_components.p,{children:[`The response contains file metadata. Use its `,_jsx(_components.code,{children:`id`}),` with `,_jsx(_components.a,{href:`/api-reference/drive/download`,children:`Download a Drive File`}),` when you need the bytes; downloads require the separate `,_jsx(_components.code,{children:`drive:download`}),` scope.`]}),`\n`,_jsx(Heading,{level:`2`,id:`size-limits-and-retries`,children:`Size limits and retries`}),`\n`,_jsxs(_components.p,{children:[`The configured Drive upload limit applies to decoded bytes (100 MiB by default). Base64 adds request overhead, and HTTP request limits may be lower. Use `,_jsx(_components.a,{href:`/api-reference/drive/upload-session`,children:`Start a Drive Upload`}),` for larger files.`]}),`\n`,_jsxs(_components.p,{children:[`An existing file with the same name in the selected folder causes `,_jsx(_components.code,{children:`409`}),`; it is never overwritten. Requests are not idempotent. After an uncertain response, check `,_jsx(_components.a,{href:`/api-reference/drive/items`,children:`List Drive Items`}),` before retrying (requires `,_jsx(_components.code,{children:`drive:read`}),`).`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Invalid content, unsupported format, invalid file signature or quota exceeded`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Missing scope, forbidden chapter or insufficient Drive permissions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Destination folder is unavailable to the key owner`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A file with this name already exists in the folder`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Drive is disabled`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a Drive Document","openapi":"POST /v1/drive/documents","description":"Create a document from text, Markdown, CSV or a prepared file.","href":"/api-reference/drive/create-document"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Choose a format","slug":"choose-a-format","depth":2,"children":[]},{"title":"Size limits and retries","slug":"size-limits-and-retries","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Markdown document","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"file_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Committee minutes.md\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"text/markdown\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"# Committee minutes\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\">\\n\\n\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">The meeting opened at 10:00.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Prepared text file as base64","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"file_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Welcome.txt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"text/plain\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content_base64\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"SGVsbG8h\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">501\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"parent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"is_root\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"item_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"file\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Welcome.txt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"file_size\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">6\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"text/plain\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content_version\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdby\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createddate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-24T10:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"lastmodifieddate\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/transparencyhubnetwork/24105e52db8f49fe/images/gallery/generate-gallery.js","/_mintlify/custom/transparencyhubnetwork/b0ea3be6490a42cb/images/gallery/resize-gallery.js","/_mintlify/custom/transparencyhubnetwork/a6073150c9c03522/images/generate-cover.js"],"openApiReferenceData":{"operation":{"summary":"Create a Drive document","x-scope":"drive:write","description":"Create a document from text, Markdown, CSV or a prepared file.","parameters":["8e404df5-01eb-4ce3-a0b4-94020e5feddd"],"requestBody":"bea1d41a-3ac9-4de6-9e4c-41059cdeaba7","responses":{"201":"61ac8ba3-ba94-4c55-9a09-3f6f1770549e","400":"e29af684-f021-40a1-b1de-9649934342fc","401":"6946195a-7fa4-4b8e-a3eb-0f20d302e9e3","403":"193f74da-b7f2-435b-b2ac-a31e6e333882","404":"b8d1662c-5640-4a7d-932d-b50ae6058921","409":"068ce709-fe9e-4967-b6c3-c2500f168c5f","429":"4cd5bce9-73d0-4939-81a3-6dc51b8da667","500":"1b20e1e5-5823-45c4-bfc0-e989dcda6a80","503":"1b1feb38-fbd9-4b7c-86df-6accb633c20d"},"method":"post","type":"path","servers":["27f4af71-e8ec-403b-8f9a-e2f75d5b957d","c3455880-d26b-4f08-acdd-5db6a467c6a8"],"security":["1eb27996-8bc6-4507-8859-56b230e67137","7c674b49-cc12-4b7a-a7b3-650fca865336"],"path":"/v1/drive/documents","baseUrlOptions":["https://api.transparencyhubnetwork.ai/api","https://testapi.transparencyhubnetwork.ai/api"],"title":"Create a Drive document","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"file_name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Committee minutes.md\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"content_type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"text/markdown\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"content\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"# Committee minutes"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":"\\n\\n"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"The meeting opened at 10:00.\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Markdown document"},{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"5","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"file_name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Welcome.txt\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"content_type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"text/plain\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"content_base64\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"SGVsbG8h\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Prepared text file as base64"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"16","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"success\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"501"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"parent_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"1"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"is_root\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"false"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"item_type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"file\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Welcome.txt\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"file_size\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"6"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"content_type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"text/plain\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"content_version\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"createdby\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"7"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"createddate\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-10-24T10:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"lastmodifieddate\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":"null"}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"201"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"8e404df5-01eb-4ce3-a0b4-94020e5feddd":{"name":"chapter_id","in":"query","schema":{"type":"integer","description":"Required for association-wide keys; must match the key's chapter for chapter-bound keys.","uniqueKey":"","typeLabel":"integer"},"description":"Required for association-wide keys; must match the key's chapter for chapter-bound keys."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["file_name","content_type","content"],"properties":{"file_name":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"oneOf.0.file_name","typeLabel":"string"},"content_type":{"type":"string","description":"A supported Drive MIME type matching file_name.","isRequired":true,"uniqueKey":"oneOf.0.content_type","typeLabel":"string"},"content":{"type":"string","minLength":1,"description":"UTF-8 content for text/plain, text/markdown, or text/csv.","isRequired":true,"uniqueKey":"oneOf.0.content","typeLabel":"string"},"chapter_id":{"type":"integer","minimum":1,"description":"Required for association-wide keys; otherwise the key chapter is used.","uniqueKey":"oneOf.0.chapter_id","typeLabel":"integer"},"parent_id":{"oneOf":[{"type":"integer","minimum":1,"description":"Omit or use null for the Drive root.","uniqueKey":"oneOf.0.parent_id.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Omit or use null for the Drive root.","uniqueKey":"oneOf.0.parent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.parent_id","typeLabel":"integer | null"},"content_base64":{"type":"string","format":"byte","minLength":1,"description":"Strict base64-encoded file bytes, without a data URL prefix.","uniqueKey":"oneOf.0.content_base64","typeLabel":"string\u003cbyte>"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["file_name","content_type","content_base64"],"properties":{"file_name":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"oneOf.1.file_name","typeLabel":"string"},"content_type":{"type":"string","description":"A supported Drive MIME type matching file_name.","isRequired":true,"uniqueKey":"oneOf.1.content_type","typeLabel":"string"},"content_base64":{"type":"string","format":"byte","minLength":1,"description":"Strict base64-encoded file bytes, without a data URL prefix.","isRequired":true,"uniqueKey":"oneOf.1.content_base64","typeLabel":"string\u003cbyte>"},"chapter_id":{"type":"integer","minimum":1,"description":"Required for association-wide keys; otherwise the key chapter is used.","uniqueKey":"oneOf.1.chapter_id","typeLabel":"integer"},"parent_id":{"oneOf":[{"type":"integer","minimum":1,"description":"Omit or use null for the Drive root.","uniqueKey":"oneOf.1.parent_id.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Omit or use null for the Drive root.","uniqueKey":"oneOf.1.parent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.parent_id","typeLabel":"integer | null"},"content":{"type":"string","minLength":1,"description":"UTF-8 content for text/plain, text/markdown, or text/csv.","uniqueKey":"oneOf.1.content","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file_name":"\u003cstring>","content_type":"\u003cstring>","content":"\u003cstring>","chapter_id":2,"parent_id":2,"content_base64":"aSDinaTvuI8gbWludGxpZnk="}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"61ac8ba3-ba94-4c55-9a09-3f6f1770549e":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["success"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"data":{"type":"object","properties":{"id":{"oneOf":[{"type":"integer","uniqueKey":"data.id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.id","typeLabel":"integer | null"},"parent_id":{"oneOf":[{"type":"integer","uniqueKey":"data.parent_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.parent_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parent_id","typeLabel":"integer | null"},"is_root":{"oneOf":[{"type":"boolean","uniqueKey":"data.is_root.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.is_root.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.is_root","typeLabel":"boolean | null"},"item_type":{"oneOf":[{"type":"string","uniqueKey":"data.item_type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.item_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.item_type","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"data.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.name","typeLabel":"string | null"},"file_size":{"oneOf":[{"type":"integer","uniqueKey":"data.file_size.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.file_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.file_size","typeLabel":"integer | null"},"content_type":{"oneOf":[{"type":"string","uniqueKey":"data.content_type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.content_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.content_type","typeLabel":"string | null"},"content_version":{"oneOf":[{"type":"integer","uniqueKey":"data.content_version.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.content_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.content_version","typeLabel":"integer | null"},"createdby":{"oneOf":[{"type":"integer","uniqueKey":"data.createdby.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.createdby.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.createdby","typeLabel":"integer | null"},"createddate":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.createddate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.createddate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.createddate","typeLabel":"string\u003cdate-time> | null"},"lastmodifieddate":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.lastmodifieddate.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.lastmodifieddate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastmodifieddate","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"success","data":{"id":123,"parent_id":123,"is_root":true,"item_type":"\u003cstring>","name":"\u003cstring>","file_size":123,"content_type":"\u003cstring>","content_version":123,"createdby":123,"createddate":"2023-11-07T05:31:56Z","lastmodifieddate":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e29af684-f021-40a1-b1de-9649934342fc":{"description":"Invalid input, unsupported file type, invalid file signature, size mismatch, or quota exceeded","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"6946195a-7fa4-4b8e-a3eb-0f20d302e9e3":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"193f74da-b7f2-435b-b2ac-a31e6e333882":{"description":"Missing drive:write scope, forbidden chapter, or insufficient Drive permissions","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b8d1662c-5640-4a7d-932d-b50ae6058921":{"description":"Parent folder or upload session not found","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"068ce709-fe9e-4967-b6c3-c2500f168c5f":{"description":"File name conflict or upload session already finalized","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"4cd5bce9-73d0-4939-81a3-6dc51b8da667":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"1b20e1e5-5823-45c4-bfc0-e989dcda6a80":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"1b1feb38-fbd9-4b7c-86df-6accb633c20d":{"description":"Drive is disabled","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"\u003cstring>","message":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1eb27996-8bc6-4507-8859-56b230e67137":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"}},"7c674b49-cc12-4b7a-a7b3-650fca865336":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"27f4af71-e8ec-403b-8f9a-e2f75d5b957d":{"url":"https://api.transparencyhubnetwork.ai/api"},"c3455880-d26b-4f08-acdd-5db6a467c6a8":{"url":"https://testapi.transparencyhubnetwork.ai/api","description":"Test"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"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":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"transparencyhubnetwork","siteName":"Transparency Hub Network","title":"Create a Drive Document - Transparency Hub Network","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T10:58:07.388Z","originalFileLocation":"api-reference/drive/create-document.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 document from text, Markdown, CSV or a prepared file.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Transparency Hub Network\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Drive Document - Transparency Hub Network\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a document from text, Markdown, CSV or a prepared file.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Transparency Hub Network\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://transparencyhubnetwork.mintlify.site/_mintlify/api/og/v2?division=Drive\u0026amp;title=Create+a+Drive+Document\u0026amp;description=Create+a+document+from+text%2C+Markdown%2C+CSV+or+a+prepared+file.\u0026amp;theme=a13e828d2ebc5243c055232a\u0026amp;signature=82efae24d209c3a46578c041605429bdfd89ea6db232e2f5e8b78e2f1d861e4e\">\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 a Drive Document - Transparency Hub Network\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a document from text, Markdown, CSV or a prepared file.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://transparencyhubnetwork.mintlify.site/_mintlify/api/og/v2?division=Drive\u0026amp;title=Create+a+Drive+Document\u0026amp;description=Create+a+document+from+text%2C+Markdown%2C+CSV+or+a+prepared+file.\u0026amp;theme=a13e828d2ebc5243c055232a\u0026amp;signature=82efae24d209c3a46578c041605429bdfd89ea6db232e2f5e8b78e2f1d861e4e\">\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/transparencyhubnetwork/fAhL4-2bbgFDPO-J/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Transparency Hub Network\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006699\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/drive/create-document.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.transparencyhubnetwork.ai/#organization\",\"name\":\"Transparency Hub Network\",\"url\":\"https://docs.transparencyhubnetwork.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/transparencyhubnetwork/6pI7fCXnEFY-8F9d/logo/light.png?fit=max\u0026auto=format\u0026n=6pI7fCXnEFY-8F9d\u0026q=85\u0026s=4feed52686f2d8a3dc7aef077520304e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.transparencyhubnetwork.ai#website\",\"name\":\"Transparency Hub Network\",\"url\":\"https://docs.transparencyhubnetwork.ai\",\"publisher\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document#webpage\",\"url\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document\",\"name\":\"Create a Drive Document\",\"description\":\"Create a document from text, Markdown, CSV or a prepared file.\",\"dateModified\":\"2026-10-24T10:58:07.388Z\",\"isPartOf\":{\"@id\":\"https://docs.transparencyhubnetwork.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Drive\",\"item\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/items\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Drive Document\",\"item\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document#apireference\",\"headline\":\"Create a Drive Document\",\"name\":\"Create a Drive Document\",\"description\":\"Create a document from text, Markdown, CSV or a prepared file.\",\"url\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document\",\"mainEntityOfPage\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/api-reference/drive/create-document#webpage\"},\"dateModified\":\"2026-10-24T10:58:07.388Z\",\"publisher\":{\"@id\":\"https://docs.transparencyhubnetwork.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.transparencyhubnetwork.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Transparency Hub Network\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Transparency Hub Network","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Members","pages":[{"title":"List Members","openapi":"GET /v1/members","href":"/api-reference/members/list"},{"title":"Get Member","openapi":"GET /v1/members/{member_id}","href":"/api-reference/members/get"},{"title":"Create Member","openapi":"POST /v1/members","href":"/api-reference/members/create"},{"title":"Update Member","openapi":"PATCH /v1/members/{member_id}","href":"/api-reference/members/update"}]},{"group":"Membership Types","pages":[{"title":"List Membership Types","openapi":"GET /v1/membership-types","href":"/api-reference/membership-types/list"},{"title":"Get Membership Type","openapi":"GET /v1/membership-types/{type_id}","href":"/api-reference/membership-types/get"},{"title":"Create Membership Type","openapi":"POST /v1/membership-types","href":"/api-reference/membership-types/create"},{"title":"Update Membership Type","openapi":"PATCH /v1/membership-types/{type_id}","href":"/api-reference/membership-types/update"},{"title":"List Membership Type Fees","openapi":"GET /v1/membership-types/{type_id}/dues","href":"/api-reference/payments/membership-type-dues"}]},{"group":"Events","pages":[{"title":"List Events","openapi":"GET /v1/events","href":"/api-reference/events/list"},{"title":"Get Event","openapi":"GET /v1/events/{event_id}","href":"/api-reference/events/get"},{"title":"Create Event","openapi":"POST /v1/events","href":"/api-reference/events/create"},{"title":"Update Event","openapi":"PATCH /v1/events/{event_id}","href":"/api-reference/events/update"},{"title":"List event attendees / RSVPs","openapi":"GET /v1/events/{event_id}/attendees","href":"/api-reference/events/attendees"}]},{"group":"Payments","pages":[{"title":"List Transactions","openapi":"GET /v1/transactions","href":"/api-reference/payments/transactions-list"},{"title":"Get Transaction","openapi":"GET /v1/transactions/{transaction_id}","href":"/api-reference/payments/transactions-get"},{"title":"List Member Dues","openapi":"GET /v1/members/{member_id}/dues","href":"/api-reference/payments/member-dues"},{"title":"List refunds for a transaction","openapi":"GET /v1/transactions/{transaction_id}/refunds","href":"/api-reference/payments/transaction-refunds"}]},{"group":"Community","pages":[{"title":"List Posts","openapi":"GET /v1/posts","href":"/api-reference/community/posts-list"},{"title":"Get Post","openapi":"GET /v1/posts/{post_id}","href":"/api-reference/community/posts-get"},{"title":"List Post Comments","openapi":"GET /v1/posts/{post_id}/comments","href":"/api-reference/community/post-comments"},{"title":"List Groups","openapi":"GET /v1/groups","href":"/api-reference/community/groups-list"},{"title":"Get Group","openapi":"GET /v1/groups/{group_id}","href":"/api-reference/community/groups-get"},{"title":"List Group Members","openapi":"GET /v1/groups/{group_id}/members","href":"/api-reference/community/group-members"},{"title":"Likes on a post","openapi":"GET /v1/posts/{post_id}/likes","href":"/api-reference/community/post-likes"},{"title":"List group join requests","openapi":"GET /v1/groups/{group_id}/requests","href":"/api-reference/community/group-requests"}]},{"group":"Meetings","pages":[{"title":"List Meetings","openapi":"GET /v1/meetings","href":"/api-reference/meetings/list"},{"title":"Get Meeting","openapi":"GET /v1/meetings/{meeting_id}","href":"/api-reference/meetings/get"},{"title":"List Meeting Recordings","openapi":"GET /v1/meetings/{meeting_id}/recordings","href":"/api-reference/meetings/recordings"},{"title":"List Minutes","openapi":"GET /v1/minutes","href":"/api-reference/meetings/minutes-list"},{"title":"Get Minute","openapi":"GET /v1/minutes/{minute_id}","href":"/api-reference/meetings/minutes-get"},{"title":"List meeting feedback","openapi":"GET /v1/meetings/{meeting_id}/feedback","href":"/api-reference/meetings/feedback"}]},{"group":"Organisation","pages":[{"title":"Get the key's chapter","openapi":"GET /v1/chapter","href":"/api-reference/organisation/chapter"},{"title":"List sub-chapters","openapi":"GET /v1/chapter/children","href":"/api-reference/organisation/chapter-children"},{"title":"Get the association","openapi":"GET /v1/association","href":"/api-reference/organisation/association"},{"title":"List roles","openapi":"GET /v1/roles","href":"/api-reference/organisation/roles"},{"title":"List activity log entries","openapi":"GET /v1/activity","href":"/api-reference/organisation/activity"}]},{"group":"Tasks \u0026 Contacts","pages":[{"title":"List tasks","openapi":"GET /v1/tasks","href":"/api-reference/tasks-contacts/tasks"},{"title":"Create task","openapi":"POST /v1/tasks","href":"/api-reference/tasks-contacts/tasks-create"},{"title":"Get task","openapi":"GET /v1/tasks/{task_id}","href":"/api-reference/tasks-contacts/tasks-get"},{"title":"List contacts","openapi":"GET /v1/contacts","href":"/api-reference/tasks-contacts/contacts"},{"title":"Create contact","openapi":"POST /v1/contacts","href":"/api-reference/tasks-contacts/contacts-create"},{"title":"List contact groups","openapi":"GET /v1/contacts/groups","href":"/api-reference/tasks-contacts/contact-groups"},{"title":"Get contact","openapi":"GET /v1/contacts/{contact_id}","href":"/api-reference/tasks-contacts/contacts-get"}]},{"group":"Projects","pages":[{"title":"List projects","openapi":"GET /v1/projects","href":"/api-reference/projects/projects"},{"title":"Get project","openapi":"GET /v1/projects/{project_id}","href":"/api-reference/projects/projects-get"},{"title":"List board columns","openapi":"GET /v1/projects/{project_id}/columns","href":"/api-reference/projects/project-columns"},{"title":"List labels","openapi":"GET /v1/projects/{project_id}/labels","href":"/api-reference/projects/project-labels"},{"title":"List project tasks","openapi":"GET /v1/projects/{project_id}/tasks","href":"/api-reference/projects/project-tasks"},{"title":"Create project task","openapi":"POST /v1/projects/{project_id}/tasks","href":"/api-reference/projects/project-tasks-create"},{"title":"Get project task","openapi":"GET /v1/project-tasks/{task_id}","href":"/api-reference/projects/project-tasks-get"},{"title":"List task updates and comments","openapi":"GET /v1/project-tasks/{task_id}/updates","href":"/api-reference/projects/project-task-updates"},{"title":"List task time logs","openapi":"GET /v1/project-tasks/{task_id}/time-logs","href":"/api-reference/projects/project-task-time-logs"},{"title":"List task attachments (metadata)","openapi":"GET /v1/project-tasks/{task_id}/attachments","href":"/api-reference/projects/project-task-attachments"},{"title":"Task dependencies","openapi":"GET /v1/project-tasks/{task_id}/dependencies","href":"/api-reference/projects/project-task-dependencies"},{"title":"List volunteer requests","openapi":"GET /v1/project-tasks/{task_id}/volunteer-requests","href":"/api-reference/projects/project-task-volunteers"}]},{"group":"Fundraising","pages":[{"title":"List fundraising campaigns","openapi":"GET /v1/fundraising/campaigns","href":"/api-reference/fundraising/campaigns"},{"title":"Get fundraising campaign","openapi":"GET /v1/fundraising/campaigns/{campaign_id}","href":"/api-reference/fundraising/campaigns-get"},{"title":"List campaign payments","openapi":"GET /v1/fundraising/campaigns/{campaign_id}/payments","href":"/api-reference/fundraising/campaign-payments"},{"title":"List campaign recipients","openapi":"GET /v1/fundraising/campaigns/{campaign_id}/recipients","href":"/api-reference/fundraising/campaign-recipients"},{"title":"Start a Donation","openapi":"POST /v1/fundraising/campaigns/{campaign_id}/donations","href":"/api-reference/fundraising/donations"}]},{"group":"Gatherings","pages":[{"title":"List gatherings","openapi":"GET /v1/gatherings","href":"/api-reference/gatherings/gatherings"},{"title":"Get gathering","openapi":"GET /v1/gatherings/{gathering_id}","href":"/api-reference/gatherings/gatherings-get"},{"title":"List ticket classes","openapi":"GET /v1/gatherings/{gathering_id}/ticket-classes","href":"/api-reference/gatherings/ticket-classes"},{"title":"List attendees","openapi":"GET /v1/gatherings/{gathering_id}/attendees","href":"/api-reference/gatherings/attendees"},{"title":"List orders","openapi":"GET /v1/gatherings/{gathering_id}/orders","href":"/api-reference/gatherings/orders"}]},{"group":"Elections","pages":[{"title":"List elections","openapi":"GET /v1/elections","href":"/api-reference/elections/elections"},{"title":"Get election","openapi":"GET /v1/elections/{election_id}","href":"/api-reference/elections/elections-get"},{"title":"List questions with candidates","openapi":"GET /v1/elections/{election_id}/questions","href":"/api-reference/elections/questions"},{"title":"Get results (when visible)","openapi":"GET /v1/elections/{election_id}/results","href":"/api-reference/elections/results"}]},{"group":"Drive","pages":[{"title":"List Drive items (metadata)","openapi":"GET /v1/drive/items","href":"/api-reference/drive/items"},{"title":"Get Drive item (metadata)","openapi":"GET /v1/drive/items/{item_id}","href":"/api-reference/drive/items-get"},{"title":"Download a Drive File","openapi":"GET /v1/drive/items/{item_id}/download","description":"Get a short-lived link to the file behind a Drive item, a meeting recording or a minutes document.","href":"/api-reference/drive/download"},{"title":"Create a Drive Document","openapi":"POST /v1/drive/documents","href":"/api-reference/drive/create-document"},{"title":"Start a Drive Upload","openapi":"POST /v1/drive/files/upload-session","description":"Get a temporary URL for uploading a prepared file directly to storage.","href":"/api-reference/drive/upload-session"},{"title":"Commit a Drive Upload","openapi":"POST /v1/drive/files/commit","href":"/api-reference/drive/commit-upload"}]},{"group":"Applications","pages":[{"title":"List membership applications","openapi":"GET /v1/applications","href":"/api-reference/applications/applications"},{"title":"Get application with answers","openapi":"GET /v1/applications/{application_id}","href":"/api-reference/applications/applications-get"},{"title":"List application form templates","openapi":"GET /v1/application-forms","href":"/api-reference/applications/forms"},{"title":"Get form template with definition","openapi":"GET /v1/application-forms/{template_id}","href":"/api-reference/applications/forms-get"},{"title":"List onboarding workflows","openapi":"GET /v1/workflows","href":"/api-reference/applications/workflows"}]},{"group":"Notifications \u0026 Support","pages":[{"title":"List notifications","openapi":"GET /v1/notifications","href":"/api-reference/notifications/notifications"},{"title":"List support requests","openapi":"GET /v1/support-requests","href":"/api-reference/notifications/support-requests"},{"title":"Get support request","openapi":"GET /v1/support-requests/{request_id}","href":"/api-reference/notifications/support-requests-get"}]},{"group":"Communication Campaigns","pages":[{"title":"List communication campaigns","openapi":"GET /v1/campaigns","href":"/api-reference/campaigns/campaigns"},{"title":"Get campaign","openapi":"GET /v1/campaigns/{campaign_id}","href":"/api-reference/campaigns/campaigns-get"}]}]}]},{"anchor":"Website","href":"https://transparencyhubnetwork.ai","icon":"globe"},{"anchor":"Contact Us","href":"mailto:support@transparencyhubnetwork.ai","icon":"envelope"}]},"basePath":"","title":"Create a Drive Document - Transparency Hub Network","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}