Get Operation History Events
GET https://api.suger.cloud/org/{orgId}/v2/operation/{operationId}/history
Get the history events for a Temporal workflow operation by operation ID.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
operationId | path | string | yes | Temporal Workflow ID |
Responses
200 — OK
Content-Type: application/json · Schema: OperationEventsResponse
OperationEventsResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
operationHistoryEvent | array<OperationHistoryEvent> | no |
OperationHistoryEvent fields:
| Field | Type | Required | Description |
|---|---|---|---|
attributes | object | no | |
eventID | integer | no | |
eventTime | string | no | |
eventType | string | no | |
taskID | integer | no | |
version | integer | no | |
worker_may_ignore | boolean | no |
400 — Bad request error
Content-Type: application/json
500 — Internal server error
Content-Type: application/json
Example
Generated from this operation's schema. Values are placeholders —
substitute your own ids, and set SUGER_TOKEN to a bearer token
from the OAuth client-credentials exchange.
Request
curl -X GET 'https://api.suger.cloud/org/{orgId}/v2/operation/{operationId}/history' \
-H "Authorization: Bearer $SUGER_TOKEN" Response — 200
{
"operationHistoryEvent": [
{
"eventID": 1,
"eventTime": "2026-01-31T12:00:00Z",
"eventType": "string",
"taskID": 1,
"version": 1,
"worker_may_ignore": true
}
]
} Error — 400
"string" View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.