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.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The local asset ID.
uuidThe tenant identifier
Response Body
curl -X DELETE "https://api.fruxon.com/v1/tenants/string/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Initiates an OAuth flow for an asset source type that supports OAuth (e.g
Generates a per-request state-bound authorization URL for a source type whose descriptor (see `GET /assets:sourceTypes`) advertises OAuth support. The frontend opens the URL in a popup; on completion the OAuth callback redirects to a success page carrying a single-use credential key that must be exchanged via `GET /assets:oauthCredentials`. Returns 400 for source types that do not support OAuth.
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.