Endpoint
Notes and Examples
The event data for events larger than1KB may get truncated in the response. If you’re processing larger events, and need to see the full event data, pass ?expand=event:
?limit=N to retrieve the last N events:
curl 'https://api.pipedream.com/v1/workflows/p_abc123/$errors/event_summaries?expand=event&limit=1' \
-H 'Authorization: Bearer <token>'
{
"page_info": {
"total_count": 100,
"start_cursor": "1606370816223-0",
"end_cursor": "1606370816223-0",
"count": 1
},
"data": [
{
"id": "1606370816223-0",
"indexed_at_ms": 1606370816223,
"event": {
"original_event": {
"name": "Luke",
"title": "Jedi"
},
"original_context": {
"id": "1kodJIW7jVnKfvB2yp1OoPrtbFk",
"ts": "2020-11-26T06:06:44.652Z",
"workflow_id": "p_abc123",
"deployment_id": "d_abc123",
"source_type": "SDK",
"verified": false,
"owner_id": "u_abc123",
"platform_version": "3.1.20"
},
"error": {
"code": "InternalFailure",
"cellId": "c_abc123",
"ts": "2020-11-26T06:06:56.077Z",
"stack": " at Request.extractError ..."
},
"metadata": {
"emitter_id": "p_abc123",
"emit_id": "1kodKnAdWGeJyhqYbqyW6lEXVAo",
"name": "$errors"
}
}
}
]
}
curl 'https://api.pipedream.com/v1/workflows/p_abc123/$errors/event_summaries?expand=event&limit=1' \
-H 'Authorization: Bearer <token>'
{
"page_info": {
"total_count": 100,
"start_cursor": "1606370816223-0",
"end_cursor": "1606370816223-0",
"count": 1
},
"data": [
{
"id": "1606370816223-0",
"indexed_at_ms": 1606370816223,
"event": {
"original_event": {
"name": "Luke",
"title": "Jedi"
},
"original_context": {
"id": "1kodJIW7jVnKfvB2yp1OoPrtbFk",
"ts": "2020-11-26T06:06:44.652Z",
"workflow_id": "p_abc123",
"deployment_id": "d_abc123",
"source_type": "SDK",
"verified": false,
"owner_id": "u_abc123",
"platform_version": "3.1.20"
},
"error": {
"code": "InternalFailure",
"cellId": "c_abc123",
"ts": "2020-11-26T06:06:56.077Z",
"stack": " at Request.extractError ..."
},
"metadata": {
"emitter_id": "p_abc123",
"emit_id": "1kodKnAdWGeJyhqYbqyW6lEXVAo",
"name": "$errors"
}
}
}
]
}
GET /workflows/{workflow_id}/$errors/event_summaries
1KB may get truncated in the response. If you’re processing larger events, and need to see the full event data, pass ?expand=event:
GET /workflows/{workflow_id}/$errors/event_summaries&expand=event
?limit=N to retrieve the last N events:
GET /v1/workflows/{workflow_id}/$errors/event_summaries?expand=event&limit=1
curl 'https://api.pipedream.com/v1/workflows/p_abc123/$errors/event_summaries?expand=event&limit=1' \
-H 'Authorization: Bearer <token>'
{
"page_info": {
"total_count": 100,
"start_cursor": "1606370816223-0",
"end_cursor": "1606370816223-0",
"count": 1
},
"data": [
{
"id": "1606370816223-0",
"indexed_at_ms": 1606370816223,
"event": {
"original_event": {
"name": "Luke",
"title": "Jedi"
},
"original_context": {
"id": "1kodJIW7jVnKfvB2yp1OoPrtbFk",
"ts": "2020-11-26T06:06:44.652Z",
"workflow_id": "p_abc123",
"deployment_id": "d_abc123",
"source_type": "SDK",
"verified": false,
"owner_id": "u_abc123",
"platform_version": "3.1.20"
},
"error": {
"code": "InternalFailure",
"cellId": "c_abc123",
"ts": "2020-11-26T06:06:56.077Z",
"stack": " at Request.extractError ..."
},
"metadata": {
"emitter_id": "p_abc123",
"emit_id": "1kodKnAdWGeJyhqYbqyW6lEXVAo",
"name": "$errors"
}
}
}
]
}
Was this page helpful?