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.
GET /v1/folders
folders:read
X-API-Key
parent_id
# List root folders curl https://api.surfacedocs.dev/v1/folders \ -H "X-API-Key: sd_live_..." # List subfolders curl "https://api.surfacedocs.dev/v1/folders?parent_id=fld_abc123" \ -H "X-API-Key: sd_live_..."
{ "folders": [ { "id": "fld_abc123", "name": "Engineering", "parent_id": null, "path": "/Engineering", "depth": 0, "created_at": "2025-01-15T10:30:00Z" }, { "id": "fld_def456", "name": "Reports", "parent_id": null, "path": "/Reports", "depth": 0, "created_at": "2025-01-16T08:00:00Z" } ] }