Provide JSON file with combined available indexes
Provide JSON file with combined available indexes.
Personal access token scope: sources:read.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
Success
curl -X GET 'http://localhost:7091/api/sources'Return the cited chunk and its source GET
The chunk behind a citation, found by its content key, else by its excerpt, with what the reader needs about its source. 404 when the caller cannot see the source, or with reason chunk_missing when neither finds the chunk (the source was edited); 501 with reason unsupported when the vector store cannot look chunks up. Args: source_id: The source the citation names. Returns: Response: `{"success", "chunk", "source", "page_path"}`, or an error with `reason` `chunk_missing` (404) or `unsupported` (501) the reader tells apart from a source out of reach. [Personal access token](/API/personal-access-tokens) scope: `sources:read`.
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`.