FruxonDocs
IntegrationsAssets

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.

GET
/v1/tenants/{tenant}/assets/{asset}/documents
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

asset*string

The asset ID.

Formatuuid
tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque 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.

search?string

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
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}