List operation attempts
/operations/{operation_id}/attemptsLists the execution attempts of an operation, most recent first, using cursor-based pagination.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Query Parameters
1 <= value <= 200Header Parameters
Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.
length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/operations/string/attempts"{ "data": [ { "finished_at": "2019-08-24T14:15:22Z", "number": 0, "object": "operation_attempt", "origin": "automatic", "started_at": "2019-08-24T14:15:22Z", "status": "running" } ], "page": { "limit": 1, "next_cursor": "string", "prev_cursor": "string" }}Cancel an operation PATCH
Requests cancellation of an operation. Set `cancellation_requested` to `true` and optionally provide a `reason`. Cancellation is cooperative: a queued operation is canceled immediately, while a running operation stops between items. Items that have already been processed are not reverted. Setting `cancellation_requested` to `false` has no effect; a cancellation request cannot be withdrawn. Operations that have already reached a terminal status return `operation_not_cancelable`.
Resume an operation POST
Resumes a failed operation by queuing a new execution attempt. The request has no body. Only operations in the `failed` status that still have recoverable items (items in the `pending` status, or failed items with `retryable` set to `true`) can be resumed. Otherwise, the API returns `operation_not_resumable`. Items that have already succeeded are not executed again. Repeating the request with the same `Idempotency-Key` returns the same operation without resuming it again.