This example returns the most recent run for each Journey in your account. It highlights failures by rule and action so teams can quickly identify and resolve issues. The response includes status, error details, and organizational context like folder and subfolder names.
POST to https://api.observepoint.com/v3/reports/grid/web-journey-runs
{
// Request columns that identify the Journey and the run
"columns": [
{ "columnId": "WEB_JOURNEY_RUN_ID" },
{ "columnId": "WEB_JOURNEY_ID" },
{ "columnId": "WEB_JOURNEY" },
// Run timing and status
{ "columnId": "RUN_COMPLETED_AT" },
{ "columnId": "RUN_DURATION" },
{ "columnId": "WJ_RUN_STATUS" },
// Rule failure summary and detail
{ "columnId": "TOTAL_FAILED_RULES_COUNT" },
{ "columnId": "TOTAL_CONFIGURED_RULES_COUNT" },
{ "columnId": "FAILED_RULE_DETAIL" },
// Action-level failure context
{ "columnId": "FAILED_ACTION_NAME" },
{ "columnId": "FAILED_ACTION_TYPE" },
{ "columnId": "FAILED_ACTION_ERROR" },
// Keep these IDs as convenient repeats when exporting data
{ "columnId": "WEB_JOURNEY_ID" },
{ "columnId": "WEB_JOURNEY_RUN_ID" }
],
// Only the most recent run for each Journey
"filters": {
"conditionMatchMode": "all",
"conditions": [
{
"negated": false,
"operator": "integer_in",
"filteredColumn": { "columnId": "IS_MOST_RECENT_RUN" },
"args": [1]
}
],
"allAccounts": false
},
// No sort applied since we request only the most recent per Journey
"sortBy": [],
"page": 0,
"size": 1000
}Grid API Response JSON
{
"metadata": {
"pagination": {
"totalCount": 2,
"totalPageCount": 1,
"pageSize": 1000,
"currentPageSize": 2,
"currentPageNumber": 0
},
"headers": [
{ "column": { "columnId": "WEB_JOURNEY_RUN_ID" } },
{ "column": { "columnId": "WEB_JOURNEY_ID" } },
{ "column": { "columnId": "WEB_JOURNEY" } },
{ "column": { "columnId": "RUN_COMPLETED_AT" } },
{ "column": { "columnId": "RUN_DURATION" } },
{ "column": { "columnId": "WJ_RUN_STATUS" } },
{ "column": { "columnId": "TOTAL_FAILED_RULES_COUNT" } },
{ "column": { "columnId": "TOTAL_CONFIGURED_RULES_COUNT" } },
{ "column": { "columnId": "FAILED_RULE_DETAIL" } },
{ "column": { "columnId": "FAILED_ACTION_NAME" } },
{ "column": { "columnId": "FAILED_ACTION_TYPE" } },
{ "column": { "columnId": "FAILED_ACTION_ERROR" } }
]
},
"rows": [
[
8812045, // WEB_JOURNEY_RUN_ID
410392, // WEB_JOURNEY_ID
[410392, "Checkout - Payment Step"], // WEB_JOURNEY
"2025-01-01T00:00:00.000+00:00", // RUN_COMPLETED_AT
225000, // RUN_DURATION (ms)
"FAILED", // WJ_RUN_STATUS
2, // TOTAL_FAILED_RULES_COUNT
8, // TOTAL_CONFIGURED_RULES_COUNT
"Rule 'Payment Button Visible' failed on step 2", // FAILED_RULE_DETAIL
"Click Pay Now", // FAILED_ACTION_NAME
"CLICK", // FAILED_ACTION_TYPE
"Element not interactable" // FAILED_ACTION_ERROR
],
[
8795012,
410120,
[410120, "Login and Profile Update"],
"2025-01-01T00:00:00.000+00:00",
201000,
"SUCCESS",
0,
10,
null,
null,
null,
null
]
]
}WJ_RUN_STATUScan be values such asSUCCESS,FAILED, orABORTED.FAILED_RULE_DETAILcontains a human readable summary of failed rules in the run.FAILED_ACTION_*columns provide the name, action type, and error for the action that failed most recently in the run.