Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.example.com/v1/workspaces/{id}/folders \ --header 'Authorization: Bearer <token>'
{ "data": [ { "depth": 123, "id": "<string>", "name": "<string>", "nbAssociatedContents": 123, "parentFolderId": "<string>" } ] }
Returns all folders in a workspace as a flat list. Use parentFolderId to reconstruct the tree.
API key starting with sk_. Generate one in Settings > API Keys.
sk_
Workspace ID.
Default Response
Show child attributes
Was this page helpful?