Lists ingestion operations for an asset.
Returns the history of long-running operations against the asset — initial ingestion, refreshes, and webhook-triggered updates — each annotated with state (`Pending`, `Running`, `Completed`, `Failed`, `Cancelled`), token counts, and per-operation embedding cost computed from the asset's model pricing. Operation IDs returned by `POST /assets` and `POST /assets/{asset}:refresh` appear here; clients poll this endpoint (or `GET /assets/{asset}/operations/{operation}`) to track progress.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The RAG 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.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/operations"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"assetId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"type": "string",
"status": "PENDING",
"done": false,
"startedAt": 0,
"completedAt": 0,
"itemsProcessed": 0,
"itemsTotal": 0,
"tokenCount": 0,
"chunkCount": 0,
"cost": 0,
"errorMessage": "string",
"createdBy": "string"
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Retrieves OAuth credentials obtained from a completed asset OAuth flow
Exchanges the short-lived credential key produced by the OAuth callback for the access/refresh token pair, then invalidates the key. Allowed anonymously because the OAuth success page runs before the user is reattached to a session; the key itself binds the response to the originating flow. Pass the returned tokens as the `auth` block when creating the asset via `POST /assets`. Calling this endpoint a second time with the same key returns 400.
Requests cancellation of a pending or in-progress ingestion operation.
Signals the worker to stop and marks the operation `Cancelled` once it observes the signal; chunks that were already embedded and persisted remain in the index. Returns the operation in its post-signal state — typically still `Running` for a short window before transitioning. Already-terminal operations (`Completed`, `Failed`, `Cancelled`) are returned unchanged; the call is idempotent. To remove partial results, follow with `POST /assets/{asset}:refresh` or delete affected documents.