{
"error": {
"code": "not_found",
"message": "No such document."
}
}
{
"error": {
"code": "not_found",
"message": "No such document."
}
}
Docs
List documents
Returns the documents of one sidebar section: ‘workspace’, ‘private’ (mine), or ‘shared’ (shared with me — including documents shared from other organizations). API keys act as their agent identity, so ‘private’ and ‘shared’ list the agent’s own sections; only legacy keys without an agent identity are limited to the workspace section.
GET
/
api
/
docs
List documents
curl --request GET \ --url https://scribe.skeptrune.com/api/docs \ --cookie scribe_session=
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scribe","description":"Collaborative markdown WYSIWYG editor built on Cloudflare, with an API-first design.","colors":{"primary":"#57534e","light":"#d6d3d1","dark":"#44403c"},"background":{"color":{"light":"#fafaf9","dark":"#0c0a09"}},"navbar":{"primary":{"type":"button","label":"Open Scribe","href":"https://scribe.skeptrune.com"}},"footer":{"socials":{"github":"https://github.com/mintlify/scribe"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scribeskept","hasAudioNarration":false,"actualSubdomain":"scribeskept","customDomains":["demo.skeptrune.com"],"gitSource":{"type":"github","owner":"skeptrunedev","repo":"scribe-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae95c546c00b4612dbc64ba:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API reference","count":50},{"language":"default","tag":"Docs","count":8},{"language":"default","tag":"Documentation","count":7},{"language":"default","tag":"Threads","count":7},{"language":"default","tag":"Shares","count":6},{"language":"default","tag":"Folders","count":4},{"language":"default","tag":"Me","count":4},{"language":"default","tag":"Organization","count":4},{"language":"default","tag":"API Keys","count":3},{"language":"default","tag":"Members","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/help-center","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/docs/list-documents","slug":"/api-reference/docs/list-documents","pageMetadata":{"title":"List documents","description":"Returns the documents of one sidebar section: 'workspace', 'private' (mine), or 'shared' (shared with me — including documents shared from other organizations). API keys act as their agent identity, so 'private' and 'shared' list the agent's own sections; only legacy keys without an agent identity are limited to the workspace section.","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs","href":"/api-reference/docs/list-documents","autogeneratedByOpenApi":true},"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: \"Returns the documents of one sidebar section: ‘workspace’, ‘private’ (mine), or ‘shared’ (shared with me — including documents shared from other organizations). API keys act as their agent identity, so ‘private’ and ‘shared’ list the agent’s own sections; only legacy keys without an agent identity are limited to the workspace section.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List documents","description":"Returns the documents of one sidebar section: 'workspace', 'private' (mine), or 'shared' (shared with me — including documents shared from other organizations). API keys act as their agent identity, so 'private' and 'shared' list the agent's own sections; only legacy keys without an agent identity are limited to the workspace section.","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs","href":"/api-reference/docs/list-documents","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Docs"],"summary":"List documents","description":"Returns the documents of one sidebar section: 'workspace', 'private' (mine), or 'shared' (shared with me — including documents shared from other organizations). API keys act as their agent identity, so 'private' and 'shared' list the agent's own sections; only legacy keys without an agent identity are limited to the workspace section.","operationId":"listDocs","security":["06186fe8-8c7e-4be2-aa55-c251c79ce4f5","badfc32c-1710-40e0-84a3-96d919bfad3c"],"parameters":["f4cf67bd-dbe9-411d-8659-3169e3aa1055","57acab9d-b9dd-4a64-b73e-7fc49d410c9d"],"responses":{"200":"8037cdcf-348d-4ffe-aba8-4e9d37af1a13","400":"e55bd6cf-2cf2-4882-9244-c4709e2ae4da","401":"1524fae6-4758-44fa-968a-be7a72fdc0ac"},"method":"get","type":"path","servers":["563ebf6e-9bdc-4d2b-b429-c4af5c386ebb"],"path":"/api/docs","baseUrlOptions":["https://scribe.skeptrune.com"],"title":"List documents","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f4cf67bd-dbe9-411d-8659-3169e3aa1055":{"schema":{"type":"string","enum":["workspace","private","shared"],"example":"workspace","isRequired":false,"description":"Document section to list: 'workspace', 'private' (mine), or 'shared' (shared with me). Defaults to 'workspace'.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Document section to list: 'workspace', 'private' (mine), or 'shared' (shared with me). Defaults to 'workspace'.","name":"scope","in":"query"},"57acab9d-b9dd-4a64-b73e-7fc49d410c9d":{"schema":{"type":"string","isRequired":false,"description":"Only list documents directly inside this folder.","uniqueKey":"","typeLabel":"string"},"required":false,"description":"Only list documents directly inside this folder.","name":"folderId","in":"query"}},"responses":{"8037cdcf-348d-4ffe-aba8-4e9d37af1a13":{"description":"The documents of the section.","content":{"application/json":{"schema":{"type":"object","properties":{"docs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Document id.","example":"doc_S9tUvWxYzAbCdEfGh12i","isRequired":true,"uniqueKey":"docs.items.[INDEX].id","typeLabel":"string"},"title":{"type":"string","description":"Document title.","example":"Launch plan","isRequired":true,"uniqueKey":"docs.items.[INDEX].title","typeLabel":"string"},"scope":{"type":"string","enum":["workspace","private"],"description":"Section the document lives in: workspace or private.","example":"workspace","isRequired":true,"uniqueKey":"docs.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"folderId":{"oneOf":[{"type":"string","description":"Containing folder id, or null at the root of its section.","example":"fld_7qRsTuVwXyZaBcDeFg3h","isRequired":true,"uniqueKey":"docs.items.[INDEX].folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Containing folder id, or null at the root of its section.","example":"fld_7qRsTuVwXyZaBcDeFg3h","isRequired":true,"uniqueKey":"docs.items.[INDEX].folderId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"docs.items.[INDEX].folderId","typeLabel":"string | null"},"ownerUserId":{"type":"string","description":"User id of the document owner.","example":"usr_V1StGXR8_Z5jdHi6BmyT","isRequired":true,"uniqueKey":"docs.items.[INDEX].ownerUserId","typeLabel":"string"},"wordCount":{"type":"integer","description":"Word count of the latest snapshot.","example":1280,"isRequired":true,"uniqueKey":"docs.items.[INDEX].wordCount","typeLabel":"integer"},"charCount":{"type":"integer","description":"Character count of the latest snapshot.","example":8214,"isRequired":true,"uniqueKey":"docs.items.[INDEX].charCount","typeLabel":"integer"},"hasPublicLink":{"type":"boolean","description":"Whether a public read-only link is enabled.","example":false,"isRequired":true,"uniqueKey":"docs.items.[INDEX].hasPublicLink","typeLabel":"boolean"},"deletedAt":{"oneOf":[{"type":"integer","description":"When the document was trashed, or null while active.","example":1752624000000,"isRequired":true,"uniqueKey":"docs.items.[INDEX].deletedAt.oneOf.0","typeLabel":"integer"},{"type":"null","description":"When the document was trashed, or null while active.","example":1752624000000,"isRequired":true,"uniqueKey":"docs.items.[INDEX].deletedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"docs.items.[INDEX].deletedAt","typeLabel":"integer | null"},"createdAt":{"type":"integer","description":"When the document was created (epoch milliseconds).","example":1752624000000,"isRequired":true,"uniqueKey":"docs.items.[INDEX].createdAt","typeLabel":"integer"},"updatedAt":{"type":"integer","description":"When the document metadata or content last changed (epoch milliseconds).","example":1752624000000,"isRequired":true,"uniqueKey":"docs.items.[INDEX].updatedAt","typeLabel":"integer"},"lastEditedBy":{"oneOf":[{"type":"string","description":"User id of the last editor, or null.","example":"usr_V1StGXR8_Z5jdHi6BmyT","isRequired":true,"uniqueKey":"docs.items.[INDEX].lastEditedBy.oneOf.0","typeLabel":"string"},{"type":"null","description":"User id of the last editor, or null.","example":"usr_V1StGXR8_Z5jdHi6BmyT","isRequired":true,"uniqueKey":"docs.items.[INDEX].lastEditedBy.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"docs.items.[INDEX].lastEditedBy","typeLabel":"string | null"},"lastEditedAt":{"oneOf":[{"type":"integer","description":"When the content was last edited, or null.","example":1752624000000,"isRequired":true,"uniqueKey":"docs.items.[INDEX].lastEditedAt.oneOf.0","typeLabel":"integer"},{"type":"null","description":"When the content was last edited, or null.","example":1752624000000,"isRequired":true,"uniqueKey":"docs.items.[INDEX].lastEditedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"docs.items.[INDEX].lastEditedAt","typeLabel":"integer | null"}},"required":["id","title","scope","folderId","ownerUserId","wordCount","charCount","hasPublicLink","deletedAt","createdAt","updatedAt","lastEditedBy","lastEditedAt"],"description":"Document metadata (content is served separately).","example":{"id":"doc_S9tUvWxYzAbCdEfGh12i","title":"Launch plan","scope":"workspace","folderId":"fld_7qRsTuVwXyZaBcDeFg3h","ownerUserId":"usr_V1StGXR8_Z5jdHi6BmyT","wordCount":1280,"charCount":8214,"hasPublicLink":false,"deletedAt":null,"createdAt":1752624000000,"updatedAt":1752624000000,"lastEditedBy":"usr_V1StGXR8_Z5jdHi6BmyT","lastEditedAt":1752624000000},"uniqueKey":"docs.items.[INDEX]","typeLabel":"object"},"description":"Documents, most recently updated first.","example":[{"id":"doc_S9tUvWxYzAbCdEfGh12i","title":"Launch plan","scope":"workspace","folderId":"fld_7qRsTuVwXyZaBcDeFg3h","ownerUserId":"usr_V1StGXR8_Z5jdHi6BmyT","wordCount":1280,"charCount":8214,"hasPublicLink":false,"deletedAt":null,"createdAt":1752624000000,"updatedAt":1752624000000,"lastEditedBy":"usr_V1StGXR8_Z5jdHi6BmyT","lastEditedAt":1752624000000}],"isRequired":true,"uniqueKey":"docs","typeLabel":"object[]"}},"required":["docs"],"description":"A list of documents.","example":{"docs":[{"id":"doc_S9tUvWxYzAbCdEfGh12i","title":"Launch plan","scope":"workspace","folderId":"fld_7qRsTuVwXyZaBcDeFg3h","ownerUserId":"usr_V1StGXR8_Z5jdHi6BmyT","wordCount":1280,"charCount":8214,"hasPublicLink":false,"deletedAt":null,"createdAt":1752624000000,"updatedAt":1752624000000,"lastEditedBy":"usr_V1StGXR8_Z5jdHi6BmyT","lastEditedAt":1752624000000}]},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"docs":[{"id":"doc_S9tUvWxYzAbCdEfGh12i","title":"Launch plan","scope":"workspace","folderId":"fld_7qRsTuVwXyZaBcDeFg3h","ownerUserId":"usr_V1StGXR8_Z5jdHi6BmyT","wordCount":1280,"charCount":8214,"hasPublicLink":false,"deletedAt":null,"createdAt":1752624000000,"updatedAt":1752624000000,"lastEditedBy":"usr_V1StGXR8_Z5jdHi6BmyT","lastEditedAt":1752624000000}]}}},"exampleType":"generated"}},"exampleType":"generated"},"e55bd6cf-2cf2-4882-9244-c4709e2ae4da":{"description":"Returned when the document list scope is not 'workspace', 'private', or 'shared'.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","unauthorized","user_session_required","forbidden","not_found","conflict","payload_too_large","unsupported_media_type","internal_error"],"description":"Stable machine-readable error code.","example":"not_found","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","example":"No such document.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"description":"Error detail.","example":{"code":"not_found","message":"No such document."},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Standard error envelope returned by every non-2xx response.","example":{"error":{"code":"not_found","message":"No such document."}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"No such document."}}}},"exampleType":"generated"}},"exampleType":"generated"},"1524fae6-4758-44fa-968a-be7a72fdc0ac":{"description":"Returned when documents are listed without credentials, or a non-workspace section is requested with a legacy API key that has no agent identity.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["validation_error","unauthorized","user_session_required","forbidden","not_found","conflict","payload_too_large","unsupported_media_type","internal_error"],"description":"Stable machine-readable error code.","example":"not_found","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation of the error.","example":"No such document.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"description":"Error detail.","example":{"code":"not_found","message":"No such document."},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"description":"Standard error envelope returned by every non-2xx response.","example":{"error":{"code":"not_found","message":"No such document."}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"not_found","message":"No such document."}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"06186fe8-8c7e-4be2-aa55-c251c79ce4f5":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"scribe_session","description":"Browser session cookie set by the WorkOS sign-in flow.","scopes":[]}},"badfc32c-1710-40e0-84a3-96d919bfad3c":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Org-scoped API key token (scrb_agt_...) created via POST /api/org/api-keys. The key acts as its agent identity — a member-like user that owns documents, authors comments, and appears in activity feeds.","scopes":[]}}},"servers":{"563ebf6e-9bdc-4d2b-b429-c4af5c386ebb":{"url":"https://scribe.skeptrune.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"scribe_session","description":"Browser session cookie set by the WorkOS sign-in flow.","scopes":[]},"schema":{"title":"scribe_session","type":"string","description":"Browser session cookie set by the WorkOS sign-in flow.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"cookieAuth","name":"scribe_session"}],"title":"cookieAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Org-scoped API key token (scrb_agt_...) created via POST /api/org/api-keys. The key acts as its agent identity — a member-like user that owns documents, authors comments, and appears in activity feeds.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Org-scoped API key token (scrb_agt_...) created via POST /api/org/api-keys. The key acts as its agent identity — a member-like user that owns documents, authors comments, and appears in activity feeds.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"help-center/api-reference/openapi.json"},"subdomain":"scribeskept","siteName":"Scribe","title":"List documents - Scribe","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-17T06:04:56.535Z","originalFileLocation":"api-reference/docs/list-documents.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=\"Returns the documents of one sidebar section: \u0026#x27;workspace\u0026#x27;, \u0026#x27;private\u0026#x27; (mine), or \u0026#x27;shared\u0026#x27; (shared with me — including documents shared from other organizations). API keys act as their agent identity, so \u0026#x27;private\u0026#x27; and \u0026#x27;shared\u0026#x27; list the agent\u0026#x27;s own sections; only legacy keys without an agent identity are limited to the workspace section.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scribe\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/scribeskept/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/scribeskept/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/scribeskept/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/scribeskept/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"List documents - Scribe\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the documents of one sidebar section: \u0026#x27;workspace\u0026#x27;, \u0026#x27;private\u0026#x27; (mine), or \u0026#x27;shared\u0026#x27; (shared with me — including documents shared from other organizations). API keys act as their agent identity, so \u0026#x27;private\u0026#x27; and \u0026#x27;shared\u0026#x27; list the agent\u0026#x27;s own sections; only legacy keys without an agent identity are limited to the workspace section.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scribe\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://demo.skeptrune.com/api-reference/docs/list-documents\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scribeskept.mintlify.site/_mintlify/api/og/v2?division=Docs\u0026amp;title=List+documents\u0026amp;description=Returns+the+documents+of+one+sidebar+section%3A+%27workspace%27%2C+%27private%27+%28mine%29%2C+or+%27shared%27+%28shared+with+me+%E2%80%94+including+documents+shared+from+other+organizations%29.\u0026amp;theme=84b3a3a3d031a8d5a20353bf\u0026amp;signature=66c24f31e11c4a3a4b532ab569a9233b8a7483cd153970663229c4217d48a1f3\">\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=\"List documents - Scribe\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the documents of one sidebar section: \u0026#x27;workspace\u0026#x27;, \u0026#x27;private\u0026#x27; (mine), or \u0026#x27;shared\u0026#x27; (shared with me — including documents shared from other organizations). API keys act as their agent identity, so \u0026#x27;private\u0026#x27; and \u0026#x27;shared\u0026#x27; list the agent\u0026#x27;s own sections; only legacy keys without an agent identity are limited to the workspace section.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scribeskept.mintlify.site/_mintlify/api/og/v2?division=Docs\u0026amp;title=List+documents\u0026amp;description=Returns+the+documents+of+one+sidebar+section%3A+%27workspace%27%2C+%27private%27+%28mine%29%2C+or+%27shared%27+%28shared+with+me+%E2%80%94+including+documents+shared+from+other+organizations%29.\u0026amp;theme=84b3a3a3d031a8d5a20353bf\u0026amp;signature=66c24f31e11c4a3a4b532ab569a9233b8a7483cd153970663229c4217d48a1f3\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/scribeskept/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scribe\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#57534e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://demo.skeptrune.com/api-reference/docs/list-documents\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/docs/list-documents.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://demo.skeptrune.com/#organization\",\"name\":\"Scribe\",\"url\":\"https://demo.skeptrune.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://demo.skeptrune.com#website\",\"name\":\"Scribe\",\"url\":\"https://demo.skeptrune.com\",\"publisher\":{\"@id\":\"https://demo.skeptrune.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://demo.skeptrune.com/api-reference/docs/list-documents#webpage\",\"url\":\"https://demo.skeptrune.com/api-reference/docs/list-documents\",\"name\":\"List documents\",\"description\":\"Returns the documents of one sidebar section: 'workspace', 'private' (mine), or 'shared' (shared with me — including documents shared from other organizations). API keys act as their agent identity, so 'private' and 'shared' list the agent's own sections; only legacy keys without an agent identity are limited to the workspace section.\",\"dateModified\":\"2026-07-17T06:04:56.535Z\",\"isPartOf\":{\"@id\":\"https://demo.skeptrune.com#website\"},\"breadcrumb\":{\"@id\":\"https://demo.skeptrune.com/api-reference/docs/list-documents#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://demo.skeptrune.com/api-reference/docs/list-documents#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Scribe\",\"item\":\"https://demo.skeptrune.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List documents\",\"item\":\"https://demo.skeptrune.com/api-reference/docs/list-documents\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://demo.skeptrune.com/api-reference/docs/list-documents#apireference\",\"headline\":\"List documents\",\"name\":\"List documents\",\"description\":\"Returns the documents of one sidebar section: 'workspace', 'private' (mine), or 'shared' (shared with me — including documents shared from other organizations). API keys act as their agent identity, so 'private' and 'shared' list the agent's own sections; only legacy keys without an agent identity are limited to the workspace section.\",\"url\":\"https://demo.skeptrune.com/api-reference/docs/list-documents\",\"mainEntityOfPage\":{\"@id\":\"https://demo.skeptrune.com/api-reference/docs/list-documents#webpage\"},\"dateModified\":\"2026-07-17T06:04:56.535Z\",\"publisher\":{\"@id\":\"https://demo.skeptrune.com/#organization\"},\"isPartOf\":{\"@id\":\"https://demo.skeptrune.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Scribe\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Scribe\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/docs/list-documents.md","siteName":"Scribe","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/help-center"}]},{"tab":"API reference","groups":[{"group":"Using the API","pages":[{"title":"API overview","href":"/help-center/api-reference/overview"}]},{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/health","href":"/api-reference/health/health-check"}]},{"group":"Me","pages":[{"title":"Get my profile","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/me","href":"/api-reference/me/get-my-profile"},{"title":"Update my profile","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json patch /api/me","href":"/api-reference/me/update-my-profile"},{"title":"Upload my avatar","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json put /api/me/avatar","href":"/api-reference/me/upload-my-avatar"},{"title":"Delete my avatar","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/me/avatar","href":"/api-reference/me/delete-my-avatar"}]},{"group":"Organization","pages":[{"title":"Get the current organization","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/org","href":"/api-reference/organization/get-the-current-organization"},{"title":"Update the organization","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json patch /api/org","href":"/api-reference/organization/update-the-organization"},{"title":"Upload the organization icon","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json put /api/org/icon","href":"/api-reference/organization/upload-the-organization-icon"},{"title":"Delete the organization icon","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/org/icon","href":"/api-reference/organization/delete-the-organization-icon"}]},{"group":"Members","pages":[{"title":"List members and pending invites","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/org/members","href":"/api-reference/members/list-members-and-pending-invites"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/org/members/{userId}","href":"/api-reference/members/remove-a-member"},{"title":"Change a member role","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json patch /api/org/members/{userId}","href":"/api-reference/members/change-a-member-role"}]},{"group":"Invites","pages":[{"title":"Invite a member","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/org/invites","href":"/api-reference/invites/invite-a-member"},{"title":"Revoke an invite","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/org/invites/{id}","href":"/api-reference/invites/revoke-an-invite"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/org/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/org/api-keys","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/org/api-keys/{id}","href":"/api-reference/api-keys/revoke-an-api-key"}]},{"group":"Folders","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/folders","href":"/api-reference/folders/list-folders"},{"title":"Create a folder","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Delete a folder","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/folders/{id}","href":"/api-reference/folders/delete-a-folder"},{"title":"Rename or move a folder","description":"Renames the folder and/or moves it under a new parent (null parent moves it to the root of its section). Requires a user session or an API key with edit access; the key acts as its agent identity.","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json patch /api/folders/{id}","href":"/api-reference/folders/rename-or-move-a-folder"}]},{"group":"Docs","pages":[{"title":"List documents","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs","href":"/api-reference/docs/list-documents"},{"title":"Create a document","description":"Creates an empty document in the workspace or in the private section of the caller. Requires a user session or an API key with edit access; a key acts as its agent identity, which becomes the document owner.","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/docs","href":"/api-reference/docs/create-a-document"},{"title":"List trashed documents","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/trash","href":"/api-reference/docs/list-trashed-documents"},{"title":"Get a document","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs/{id}","href":"/api-reference/docs/get-a-document"},{"title":"Trash a document","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/docs/{id}","href":"/api-reference/docs/trash-a-document"},{"title":"Update a document","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json patch /api/docs/{id}","href":"/api-reference/docs/update-a-document"},{"title":"Restore a document from the trash","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/docs/{id}/restore","href":"/api-reference/docs/restore-a-document-from-the-trash"},{"title":"Permanently delete a document","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/docs/{id}/purge","href":"/api-reference/docs/permanently-delete-a-document"}]},{"group":"Content","pages":[{"title":"Get document content","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs/{id}/content","href":"/api-reference/content/get-document-content"},{"title":"Replace document content","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json put /api/docs/{id}/content","href":"/api-reference/content/replace-document-content"}]},{"group":"Shares","pages":[{"title":"List document shares","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs/{id}/shares","href":"/api-reference/shares/list-document-shares"},{"title":"Share with a user by email","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/docs/{id}/shares","href":"/api-reference/shares/share-with-a-user-by-email"},{"title":"Share with a user (upsert)","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json put /api/docs/{id}/shares/{userId}","href":"/api-reference/shares/share-with-a-user-upsert"},{"title":"Remove a share","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/docs/{id}/shares/{userId}","href":"/api-reference/shares/remove-a-share"},{"title":"Enable the public link","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/docs/{id}/public-link","href":"/api-reference/shares/enable-the-public-link"},{"title":"Disable the public link","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json delete /api/docs/{id}/public-link","href":"/api-reference/shares/disable-the-public-link"}]},{"group":"Public","pages":[{"title":"Read a publicly linked document","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/public/{publicToken}","href":"/api-reference/public/read-a-publicly-linked-document"}]},{"group":"Search","pages":[{"title":"Search documents","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/search","href":"/api-reference/search/search-documents"}]},{"group":"Threads","pages":[{"title":"List threads of a document","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs/{id}/threads","href":"/api-reference/threads/list-threads-of-a-document"},{"title":"Start a thread","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/docs/{id}/threads","href":"/api-reference/threads/start-a-thread"},{"title":"Reply to a thread","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/threads/{id}/messages","href":"/api-reference/threads/reply-to-a-thread"},{"title":"Resolve a thread","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/threads/{id}/resolve","href":"/api-reference/threads/resolve-a-thread"},{"title":"Reopen a thread","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/threads/{id}/reopen","href":"/api-reference/threads/reopen-a-thread"},{"title":"Accept a suggestion","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/threads/{id}/accept","href":"/api-reference/threads/accept-a-suggestion"},{"title":"Reject a suggestion","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json post /api/threads/{id}/reject","href":"/api-reference/threads/reject-a-suggestion"}]},{"group":"Activity","pages":[{"title":"Document activity feed","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/docs/{id}/activity","href":"/api-reference/activity/document-activity-feed"},{"title":"Organization activity feed","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/org/activity","href":"/api-reference/activity/organization-activity-feed"}]},{"group":"Uploads","pages":[{"title":"Fetch an uploaded image","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/uploads/{namespace}/{ownerId}/{file}","href":"/api-reference/uploads/fetch-an-uploaded-image"}]}]}]},"basePath":"","title":"List documents - Scribe","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}