Get all action runs
GET/v1/actions/runs
This route allows you to fetch all action runs in your Port account. The route will perform a logical AND
between all query parameters below, and return all action runs that match the criteria.
To learn more about action runs, check out the documentation.
Requestโ
Query Parameters
The identifier of the entity associated with the action run.
The identifier of the blueprint associated with the action run.
If true
, only running action runs will be fetched.
The email of the user who initiated the action run.
Possible values: >= 1
and <= 50
The maximum number of action runs to fetch.
The run id of your backend, for example the id that GitHub gives the workflow. This can be used to identify the action run instead of the run_id
.
Responsesโ
- 200
- 422
- 500
Retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [true
]
runs
object[]
blueprint
object
entity
object
action
object
required
requiredApproval
boolean,object
required
Possible values: [ALL
, ANY
]
approval
object,null
payload
object,null
headers
object
body
object
port_context
object
{
"ok": true,
"runs": [
{
"id": "string",
"blueprint": {
"identifier": "string",
"deleted": true
},
"entity": {
"identifier": "string",
"deleted": true
},
"action": {
"identifier": "string",
"deleted": true
},
"properties": {},
"endedAt": "2024-07-29T15:51:28.071Z",
"status": "string",
"summary": "string",
"createdBy": "string",
"updatedBy": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
]
}
One of the following errors occurred:
Error | Description |
---|---|
invalid_request | The data provided does not match the route schema |
One of the following errors occurred:
Error | Description |
---|---|
internal_error | An internal error occurred |