Flow Run Logs
API key passed in the Authorization header. Format: <api-key>
Filter results by user_id.
Filter results by flow_id.
Filter results by flow_version_id.
Filter results by virtual_environment_id.
Filter results by trigger.
Filter results by status.
Filter results by search.
Filter results to flow runs that started before the specified time. Accepts a Unix timestamp in milliseconds, e.g. 2026-03-01 19:00 converts to 1772391627000 so 1772391627000 is the parameter value.
Filter results to flow runs that started after the specified time. Accepts a Unix timestamp in milliseconds.
Filter results to flow runs that started on the specified date. Accepts a Unix timestamp in milliseconds.
Filter results by retried.
Filter results by has_warnings.
Comma-separated list of relationships to include. Available: flowVersion, flowVersion.steps, flow, flowRunLogs, errorWarningLogs, flowRunLogs.flowStep, trackedData, metrics, cpuTime, payloadSize, operationsSent, operationsReceived, retriedFlowRun, virtualEnvironmentVersion, virtualEnvironmentVersion.virtualEnvironment
Sort field. Prefix with - for descending. Available: started_at
Comma-separated list of trackedData fields to return. Available: id
Comma-separated list of flow fields to return. Available: id, name
Comma-separated list of flowVersion fields to return. Available: steps.name
Comma-separated list of retriedFlowRun fields to return. Available: id, status
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-runs HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "string",
"flow_id": 0,
"flow_version_id": 0,
"virtual_environment_version": null,
"trigger": "string",
"status": 0,
"has_warnings": false,
"started_at": "2025-01-15T10:30:00.000000Z",
"duration": 0,
"retry_flow_run_id": null,
"summary": null,
"flow": {
"id": 0,
"name": "string",
"deleted_at": null
},
"flow_version": {
"id": 0,
"iteration": 0,
"deleted_at": null
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/flow-runs",
"per_page": 15,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/flow-runs?page=1",
"last": "https://api.example.com/api/v1/flow-runs?page=1",
"prev": null,
"next": null
}
}API key passed in the Authorization header. Format: <api-key>
The flow run identifier.
Filter results by user_id.
Filter results by flow_id.
Filter results by flow_version_id.
Filter results by virtual_environment_id.
Filter results by trigger.
Filter results by status.
Filter results by search.
Filter results to flow runs that started before the specified time. Accepts a Unix timestamp in milliseconds, e.g. 2026-03-01 19:00 converts to 1772391627000 so 1772391627000 is the parameter value.
Filter results to flow runs that started after the specified time. Accepts a Unix timestamp in milliseconds.
Filter results to flow runs that started on the specified date. Accepts a Unix timestamp in milliseconds.
Filter results by retried.
Filter results by has_warnings.
Comma-separated list of relationships to include. Available: flowVersion, flowVersion.steps, flow, flowRunLogs, errorWarningLogs, flowRunLogs.flowStep, trackedData, metrics, cpuTime, payloadSize, operationsSent, operationsReceived, retriedFlowRun, virtualEnvironmentVersion, virtualEnvironmentVersion.virtualEnvironment
Sort field. Prefix with - for descending. Available: started_at
Comma-separated list of trackedData fields to return. Available: id
Comma-separated list of flow fields to return. Available: id, name
Comma-separated list of flowVersion fields to return. Available: steps.name
Comma-separated list of retriedFlowRun fields to return. Available: id, status
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-runs/{flow_run} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": "string",
"flow_id": 0,
"flow_version_id": 0,
"user_id": null,
"trigger": "string",
"status": 0,
"summary": null,
"started_at": "2025-01-15T10:30:00.000000Z",
"finished_at": "2025-01-15T10:30:00.000000Z",
"duration": 0,
"retry_flow_run_id": null,
"has_warnings": false,
"starting_payload_count": 0,
"starting_payload_size": 0,
"flow": {
"id": 0,
"name": "string"
},
"flow_version": {
"id": 0,
"flow_id": 0,
"iteration": 0,
"status": "string",
"is_deployed": false
}
}
}API key passed in the Authorization header. Format: <api-key>
The flow run identifier.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-runs/{flow_run}/download HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "string"
}API key passed in the Authorization header. Format: <api-key>
The flow run identifier.
Filter results by flow_step_id.
Comma-separated list of relationships to include. Available: flowRun, flowStep, flowRunLogMetadata, flowRunLogPayloads, flowStep.payloads
Comma-separated list of flowStep fields to return. Available: id, name, payload.id
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-runs/{flow_run}/flow-run-logs HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": "01km5w6vj4m5efk1a14m453f6n",
"flow_run_id": "01km5w6s7vp33xjy5r1n4w7rrr",
"flow_step_id": null,
"log_level": "info",
"log_message": "Running in environment: Germany (DE) LIVE #1",
"message": null,
"meta": null,
"page_number": null,
"attempts": null,
"created_at": "2026-03-20T15:00:50.000000Z",
"flow_step_payload_count": 1
},
{
"id": "01km5w6vjf9d6eyn86w4917fh1",
"flow_run_id": "01km5w6s7vp33xjy5r1n4w7rrr",
"flow_step_id": null,
"log_level": "info",
"log_message": "Flow initialised by Schedule trigger.",
"message": null,
"meta": null,
"page_number": null,
"attempts": null,
"created_at": "2026-03-20T15:00:50.000000Z",
"flow_step_payload_count": 1
},
{
"id": "01km5w7md3qscfcxyp4akmrv0v",
"flow_run_id": "01km5w6s7vp33xjy5r1n4w7rrr",
"flow_step_id": 49,
"log_level": "info",
"log_message": "Flow step Flow Control started",
"message": null,
"meta": null,
"page_number": null,
"attempts": null,
"created_at": "2026-03-20T15:01:15.000000Z",
"flow_step_payload_count": 5
}
],
"links": {
"first": "https://app.wearepatchworks.com/core-main/api/v1/flow-runs/{flow_run}/flow-run-logs?page=1",
"last": "https://app.wearepatchworks.com/core-main/api/v1/flow-runs/{flow_run}/flow-run-logs?page=2",
"prev": null,
"next": "https://app.wearepatchworks.com/core-main/api/v1/flow-runs/{flow_run}/flow-run-logs?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"path": "https://app.wearepatchworks.com/core-main/api/v1/flow-runs/{flow_run}/flow-run-logs",
"per_page": 15,
"to": 15,
"total": 23
}
}API key passed in the Authorization header. Format: <api-key>
The flow run identifier.
The flow run log identifier.
Filter results by flow_step_id.
Comma-separated list of relationships to include. Available: flowRun, flowStep, flowRunLogMetadata, flowRunLogPayloads, flowStep.payloads
Comma-separated list of flowStep fields to return. Available: id, name, payload.id
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-runs/{flow_run}/flow-run-logs/{flow_run_log} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": "01km5w6vj4m5efk1a14m453f6n",
"flow_run_id": "01km5w6s7vp33xjy5r1n4w7rrr",
"flow_step_id": 49,
"log_level": "info",
"log_message": "Flow step Flow Control started",
"message": null,
"meta": null,
"page_number": null,
"attempts": null,
"created_at": "2026-03-20T15:01:15.000000Z",
"flow_step_payload_count": 5
}
}API key passed in the Authorization header. Format: <api-key>
The flow run identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/flow-runs/{flow_run}/retry HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}API key passed in the Authorization header. Format: <api-key>
The flow run identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/flow-runs/{flow_run}/stop HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Last updated
Was this helpful?