{
"error": {
"code": "not_found",
"message": "No such document."
}
}
{
"error": {
"code": "not_found",
"message": "No such document."
}
}
Folders
List folders
Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent’s own folders; only legacy keys without an agent identity are limited to workspace folders.
GET
/
api
/
folders
List folders
curl --request GET \ --url https://scribe.skeptrune.com/api/folders \ --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/folders/list-folders","slug":"/api-reference/folders/list-folders","pageMetadata":{"title":"List folders","description":"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent's own folders; only legacy keys without an agent identity are limited to workspace folders.","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/folders","href":"/api-reference/folders/list-folders","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 folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent’s own folders; only legacy keys without an agent identity are limited to workspace folders.\"\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 folders","description":"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent's own folders; only legacy keys without an agent identity are limited to workspace folders.","deprecated":null,"version":null,"openapi":"/help-center/api-reference/openapi.json get /api/folders","href":"/api-reference/folders/list-folders","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Folders"],"summary":"List folders","description":"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent's own folders; only legacy keys without an agent identity are limited to workspace folders.","operationId":"listFolders","security":["bc03179b-d878-4f1e-b189-64f645fdafac","dc393ef2-9adf-46b3-a928-a69e8e89d2f4"],"parameters":["2e5f28fe-f21c-4240-ae94-cb90b0a57055"],"responses":{"200":"9e1e6751-9aea-4127-9e62-939f568ce75c","400":"f7fddcce-12f8-486b-8f7b-383f08d7b077","401":"e20f14d1-2bcc-4418-bb7d-d2a9f602087b"},"method":"get","type":"path","servers":["563ebf6e-9bdc-4d2b-b429-c4af5c386ebb"],"path":"/api/folders","baseUrlOptions":["https://scribe.skeptrune.com"],"title":"List folders","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2e5f28fe-f21c-4240-ae94-cb90b0a57055":{"schema":{"type":"string","enum":["workspace","private"],"description":"Folder section to list: 'workspace' or 'private'. Defaults to 'workspace'.\nWhere a document or folder lives.","example":"workspace","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Folder section to list: 'workspace' or 'private'. Defaults to 'workspace'.","name":"scope","in":"query"}},"responses":{"9e1e6751-9aea-4127-9e62-939f568ce75c":{"description":"The folders of the section.","content":{"application/json":{"schema":{"type":"object","properties":{"folders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Folder id.","example":"fld_7qRsTuVwXyZaBcDeFg3h","isRequired":true,"uniqueKey":"folders.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Folder name.","example":"Specs","isRequired":true,"uniqueKey":"folders.items.[INDEX].name","typeLabel":"string"},"scope":{"type":"string","enum":["workspace","private"],"description":"Section the folder lives in: the shared workspace or the owner's private area.","example":"workspace","isRequired":true,"uniqueKey":"folders.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"parentId":{"oneOf":[{"type":"string","description":"Parent folder id, or null at the root of its section.","example":null,"isRequired":true,"uniqueKey":"folders.items.[INDEX].parentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Parent folder id, or null at the root of its section.","example":null,"isRequired":true,"uniqueKey":"folders.items.[INDEX].parentId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"folders.items.[INDEX].parentId","typeLabel":"string | null"},"ownerUserId":{"oneOf":[{"type":"string","description":"Owner of a private folder; null for workspace folders.","example":null,"isRequired":true,"uniqueKey":"folders.items.[INDEX].ownerUserId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Owner of a private folder; null for workspace folders.","example":null,"isRequired":true,"uniqueKey":"folders.items.[INDEX].ownerUserId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"folders.items.[INDEX].ownerUserId","typeLabel":"string | null"},"createdAt":{"type":"integer","description":"When the folder was created (epoch milliseconds).","example":1752624000000,"isRequired":true,"uniqueKey":"folders.items.[INDEX].createdAt","typeLabel":"integer"},"updatedAt":{"type":"integer","description":"When the folder was last renamed or moved (epoch milliseconds).","example":1752624000000,"isRequired":true,"uniqueKey":"folders.items.[INDEX].updatedAt","typeLabel":"integer"}},"required":["id","name","scope","parentId","ownerUserId","createdAt","updatedAt"],"description":"A folder in the workspace or private sidebar section.","example":{"id":"fld_7qRsTuVwXyZaBcDeFg3h","name":"Specs","scope":"workspace","parentId":null,"ownerUserId":null,"createdAt":1752624000000,"updatedAt":1752624000000},"uniqueKey":"folders.items.[INDEX]","typeLabel":"object"},"description":"Folders sorted by name.","example":[{"id":"fld_7qRsTuVwXyZaBcDeFg3h","name":"Specs","scope":"workspace","parentId":null,"ownerUserId":null,"createdAt":1752624000000,"updatedAt":1752624000000}],"isRequired":true,"uniqueKey":"folders","typeLabel":"object[]"}},"required":["folders"],"description":"Folders of one sidebar section.","example":{"folders":[{"id":"fld_7qRsTuVwXyZaBcDeFg3h","name":"Specs","scope":"workspace","parentId":null,"ownerUserId":null,"createdAt":1752624000000,"updatedAt":1752624000000}]},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"folders":[{"id":"fld_7qRsTuVwXyZaBcDeFg3h","name":"Specs","scope":"workspace","parentId":null,"ownerUserId":null,"createdAt":1752624000000,"updatedAt":1752624000000}]}}},"exampleType":"generated"}},"exampleType":"generated"},"f7fddcce-12f8-486b-8f7b-383f08d7b077":{"description":"Returned when the folder list scope is not 'workspace' or 'private'.","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"},"e20f14d1-2bcc-4418-bb7d-d2a9f602087b":{"description":"Returned when folders are listed without credentials, or the private 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":{"bc03179b-d878-4f1e-b189-64f645fdafac":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"scribe_session","description":"Browser session cookie set by the WorkOS sign-in flow.","scopes":[]}},"dc393ef2-9adf-46b3-a928-a69e8e89d2f4":{"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 folders - Scribe","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-17T06:04:56.493Z","originalFileLocation":"api-reference/folders/list-folders.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 folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent\u0026#x27;s own folders; only legacy keys without an agent identity are limited to workspace folders.\">\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 folders - Scribe\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent\u0026#x27;s own folders; only legacy keys without an agent identity are limited to workspace folders.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scribe\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://demo.skeptrune.com/api-reference/folders/list-folders\">\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=Folders\u0026amp;title=List+folders\u0026amp;description=Returns+the+folders+of+one+sidebar+section.+API+keys+act+as+their+agent+identity%2C+so+the+private+section+lists+the+agent%27s+own+folders%3B+only+legacy+keys+without\u0026amp;theme=84b3a3a3d031a8d5a20353bf\u0026amp;signature=55f3f5098a16981a691a383706f04904e2316e4b46be6217f239cc91f70bdbe4\">\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 folders - Scribe\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent\u0026#x27;s own folders; only legacy keys without an agent identity are limited to workspace folders.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scribeskept.mintlify.site/_mintlify/api/og/v2?division=Folders\u0026amp;title=List+folders\u0026amp;description=Returns+the+folders+of+one+sidebar+section.+API+keys+act+as+their+agent+identity%2C+so+the+private+section+lists+the+agent%27s+own+folders%3B+only+legacy+keys+without\u0026amp;theme=84b3a3a3d031a8d5a20353bf\u0026amp;signature=55f3f5098a16981a691a383706f04904e2316e4b46be6217f239cc91f70bdbe4\">\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/folders/list-folders\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/folders/list-folders.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/folders/list-folders#webpage\",\"url\":\"https://demo.skeptrune.com/api-reference/folders/list-folders\",\"name\":\"List folders\",\"description\":\"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent's own folders; only legacy keys without an agent identity are limited to workspace folders.\",\"dateModified\":\"2026-07-17T06:04:56.493Z\",\"isPartOf\":{\"@id\":\"https://demo.skeptrune.com#website\"},\"breadcrumb\":{\"@id\":\"https://demo.skeptrune.com/api-reference/folders/list-folders#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://demo.skeptrune.com/api-reference/folders/list-folders#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Scribe\",\"item\":\"https://demo.skeptrune.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List folders\",\"item\":\"https://demo.skeptrune.com/api-reference/folders/list-folders\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://demo.skeptrune.com/api-reference/folders/list-folders#apireference\",\"headline\":\"List folders\",\"name\":\"List folders\",\"description\":\"Returns the folders of one sidebar section. API keys act as their agent identity, so the private section lists the agent's own folders; only legacy keys without an agent identity are limited to workspace folders.\",\"url\":\"https://demo.skeptrune.com/api-reference/folders/list-folders\",\"mainEntityOfPage\":{\"@id\":\"https://demo.skeptrune.com/api-reference/folders/list-folders#webpage\"},\"dateModified\":\"2026-07-17T06:04:56.493Z\",\"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/folders/list-folders.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","description":"Revokes an API key immediately, cutting off authentication. The agent user behind the key is kept so its documents, comments, and activity stay attributed. Sessions need the admin role or higher; an API key with edit access can revoke any key of its organization, including itself. Keys the revoked agent minted earlier keep working — audit them via createdBy.","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","description":"Creates a folder in the workspace or in the private section of the caller. 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 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","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","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 folders - 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"]}