Instances
Get workflow instance execution history
Returns complete execution history for a workflow instance, including all retry attempts for each step.
get/v1/workflows/instances/{id}/history
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/workflows/instances/{id}/history
- Authnone required
Path parameters
idstring required
Instance ID
Headers
Organization-Idstring required
Organization ID
Response
Execution history
Example response
{
"data": [
{
"attempt": 1,
"definition_path": "2.steps.0",
"duration_ms": 1500,
"error": "a workflow step failed",
"error_code": "step_execution_failed",
"error_detail": "a workflow step failed",
"started_at": "2026-01-15 10:30:00+00:00",
"status": "completed",
"step_name": "validate_amount",
"terminated_at": "2026-01-15 10:31:00+00:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.