List Documents
GET /v1/workspaces/{workspace_id}/documents
GET
/v1/workspaces/{workspace_id}/documents
Return the workspace’s directory and file tree as a flat node list.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
Workspace Id
integer
Responses
Section titled “ Responses ”Successful Response
DocumentTreeResponse
object
workspace_id
required
Workspace Id
integer
workspace_name
required
Workspace Name
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context