ActionRuleApi
Get an action rule
Read the account-scoped rule, immutable revisions and recent run decisions. Send Accept: application/json for the documented JSON errors.
get/agent/workspaces/{workspace}/action-rules/{action_rule}
Request
- Base URL: https://plainrouter.com/api/v1
- URL: https://plainrouter.com/api/v1/agent/workspaces/{workspace}/action-rules/{action_rule}
- Auth: HTTP bearer
Path parameters
workspaceinteger required
The workspace ID
action_rulestring required
Query parameters
account_idinteger
Optional integer account ID. JSON booleans return 422 with message plus field errors. A valid supplied ID is ignored by an account-bound key. An unbound key requires exactly one active available advertising account with an active connection; omission uses that account and a supplied ID must match it. Multiple active accounts return 422 even when account_id is supplied.
Response
Rule with revisions and recent runs.
Changes
No recorded changes to this operation across all 2 revisions of this API.