See Stacksync in action with a solution architect. Book a demo ↗
WorkflowsRuns

Workflow runs

Resolve executions by filter

POST
/v1/workspaces/{workspace_id}/workflows/id/{workflow_id}/executions/batch-resolve-by-filter

Mark every failed run matching the log explorer's query and time range as resolved, with every replay of each.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

workflow_id*string

The workflow.

Formatuuid

Query Parameters

region?|

Region of the workflow: besg or usnv. Required, except when List workflow runs reads several workflows through options.workflows

Defaultnull

Request Body

application/json
  1. body
options?JsonValue
Defaultnull
validate_only?Validate Only

Run every check of the write and answer 204 without writing: a refused write answers the error the write would

Defaultfalse

Response Body

OK

application/json
  1. response
resolved_count*Resolved Count
total_matched*Total Matched
updated_execution_count?|
Defaultnull
query_used*Query Used
region*Region
Resolve executions by filter
curl -X POST 'https://api.stacksync.com/v1/workspaces/0/workflows/id/497f6eca-6276-4993-bfeb-53cbbbba6f08/executions/batch-resolve-by-filter' \  -H 'Content-Type: application/json' \  -d '{  "options": {    "query": "workflow.execution_status = '\''ERROR'\''",    "time_range": [      "2026-10-01T00:00:00Z",      "2026-10-02T00:00:00Z"    ]  }}'
{  "resolved_count": 0,  "total_matched": 0,  "updated_execution_count": 0,  "query_used": "<query_used>",  "region": "<region>"}