Get an action run's approvers
GET/v1/actions/runs/:run_id/approvers
This route allows you to fetch the approvers of a specific action run.
To learn more about manual approval for actions, check out the documentation.
Requestโ
Path Parameters
run_id stringrequired
The identifier of the action run you want to fetch approvers for.
Query Parameters
include_pending_approvers booleanrequired
If true
, the route will also return the users who have not yet approved the action run.
Default value:
false
Responsesโ
- 200
Retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
okanyrequired
Possible values: [true
]
approvers
object[]
userIdstringrequired
statestringrequired
descriptionstringnullable
{
"ok": true,
"approvers": [
{
"userId": "string",
"state": "string",
"description": "string"
}
]
}