Projects
[BETA] Get action events for a specific action set.
Enterprise feature
[BETA] This API is in beta state, which means it may change or be removed in the future.
Returns a list of action events triggered by a specific action set, identified by its id.
get/api/admin/projects/{projectId}/actions/{id}/events
Path parameters
projectIdstring required
idstring required
Query parameters
limitstring
Example:50
The number of results to return in a page. By default it is set to 50.
offsetstring
Example:50
The number of results to skip when returning a page. By default it is set to 0.
Response
#/components/schemas/actionSetEventsSchema
Example response
{
"actionSetEvents": [
{
"id": 7,
"actionSetId": 42,
"signalId": 1337,
"createdAt": "2023-12-27T13:37:00+01:00",
"state": "started",
"signal": {
"id": 7,
"payload": {
"cpu": 92,
"memory": 85
},
"createdAt": "2023-12-27T13:37:00+01:00",
"source": "signal-endpoint",
"sourceId": 1337,
"createdBySourceTokenId": 1337
},
"actionSet": {
"id": 1,
"project": "default",
"createdAt": "2023-12-27T13:37:00+01:00",
"createdByUserId": 1,
"name": "Disable new features",
"description": "Disables new features when error rate is above threshold",
"actorId": 12,
"enabled": true,
"actions": [
{
"id": 1,
"createdAt": "2023-12-27T13:37:00+01:00",
"createdByUserId": 1,
"action": "disable-feature",
"sortOrder": 1,
"executionParams": {
"featureName": "my-feature"
}
}
],
"match": {
"source": "signal-endpoint",
"sourceId": 123,
"payload": {
"type": "error-rate-above-threshold"
}
}
}
}
]
}