The Log API allows you to retrieve and filter logs for flows and steps. This is useful for setting up monitoring and alerts (e.g., sending Slack notifications when errors occur).
GET <https://api.platform.openintegrationhub.com/logs?filter[flowId]={flowId}&filter[stepId]={stepId}>
GET <https://api.platform.openintegrationhub.com/logs?filter[tenant]={tenantId}>
GET <https://api.platform.openintegrationhub.com/logs?filter[flowId]={flowId}&showErrors=true>
"Error" will be returned.Parameter
| Parameter | Description |
|---|---|
filter[flowId] |
ID of the flow to fetch logs for. |
filter[stepId] |
ID of the step to fetch logs for. |
showErrors |
Set to true to filter logs containing "Error". |
Monitor a specific flow step for errors
GET /logs?filter[flowId]=123&filter[stepId]=abc&showErrors=true
Get all tenant logs, only errors
GET /logs?filter[tenant]=456&showErrors=true