Get the directory structure for a document
GET
Get the directory structure for a document.
Personal access token scope: sources:read.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
id?stringThe document ID
Success
curl -X GET 'http://localhost:7091/api/directory_structure'Example Response200
Empty
Deletes a source: its index, stored files and row GET
Deletes a source: its index, stored files and row. 409 (code source_busy) while a sync or page change on the source runs; nothing is deleted. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
GET /api/get_chunks GET
Retrieves chunks from a document, optionally filtered by file path and search term. [Personal access token](/API/personal-access-tokens) scope: `sources:read`.