Lists documents ingested into an asset.
Returns the documents currently materialized in the asset's RAG index, with per-document ingestion status, size, and source metadata. Each document corresponds to a single file or URL pulled from the configured source and is the unit of refresh and deletion. Requires a vectorized asset that has completed at least one ingestion; returns 404 otherwise. Pair with `GET /assets/{asset}/documents/{document}/chunks` to inspect the indexed text.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The asset ID.
uuidThe tenant identifier
Query Parameters
int32int32Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.
Case-insensitive search term to filter documents by file name.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"assetId": "00000000-0000-0000-0000-000000000000",
"fileName": "string",
"contentType": "string",
"sourceUrl": "string",
"fileSize": 0,
"chunkCount": 0,
"status": "PENDING",
"errorMessage": "string",
"createdAt": 0,
"modifiedAt": 0,
"processedAt": 0
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Deletes an asset and its indexed documents from the RAG service.
Removes the asset record, its RAG-side index (documents and chunks), and any auto-registered webhook. The operation is synchronous from the caller's perspective but cascades into the RAG service, so in-flight ingestion operations for this asset will fail. Idempotent at the API surface: deleting an already-removed asset returns 404. Any agents that reference the asset will lose access to its knowledge after this call.
Lists chunks for a document using cursor-based pagination.
Returns the ordered chunks produced by the ingestion pipeline — the indivisible units that searches return and that the embedding model encoded. Chunk size and overlap are determined by the asset's embedding configuration, not by this call. Primarily used to inspect what the model actually sees for a given document when debugging poor search relevance or unexpected agent answers.