Skip to content
OperadeDocs

Search documentation

Type to search documentation.

Documentation
Copy page
Open raw Markdown

Retry failure bucketing

Queue failure bucketing again only after repeated runs are terminal and the previous bucketing attempt failed; raw run results remain unchanged.

Endpoint

POST/api/v1/workspaces/{workspace_id}/test-invocations/{invocation_id}/retry-bucketing

Authentication

Operation classAuthenticationMinimum roleAPI key
customer-apiBearer API key or dashboard session cookie; dashboard mutations also require X-CX-Request: 1.memberAllowed

Parameters

NameInTypeRequiredDescription
workspace_idpathstringYes—
invocation_idpathstringYes—

Request body

This operation has no request body.

Example

cURL
curl --request POST 'https://operade.ai/api/v1/workspaces/ws_demo/test-invocations/invo_demo/retry-bucketing' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Responses

StatusDescriptionContent
4XXHandled client errorapplication/json: ErrorResponse
202Successful Responseapplication/json: PendingStatusResponse

4XX application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectErrorResponse—NoYes——
errorobjectErrorItem—NoYes——
error.codestring——NoYes——
error.detailsobject——NoNo——
error.messagestring——NoYes——

202 application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectPendingStatusResponse—NoYes——
statusstring——NoYes"pending"—

Response example

Response body JSON
{
  "status": "pending"
}

Errors

Reviewed common and route-declared errors are summarized here; the list is not exhaustive. Start with the distributed error index to find each code's canonical domain page.

StatusCodeDescription
401unauthenticatedAuthentication is missing, invalid, or revoked.
403forbiddenThe authenticated caller does not have access to this operation.
404not_foundThe requested workspace resource was not found.
422validation_failedThe request did not pass field or business validation.
409invocation_not_readyWait until every run reaches a terminal state before retrying failure bucketing.
409bucketing_not_retryableFailure bucketing can be retried only after a failed bucketing attempt.
On this page
  1. Endpoint
  2. Authentication
  3. Parameters
  4. Request body
  5. Example
  6. Responses
  7. 4XX application/json response schema
  8. 202 application/json response schema
  9. Response example
  10. Errors
  11. Related operations