Skip to content

List all action runs

get/v1/projects/{ref}/actions

Returns a paginated list of action runs of the specified project.

OAuth scopes

  • environment:read

The fine-grained token must include the following permissions to access this endpoint:

  • action_runs_read

Path parameters

  • ref
    Required
    string

    Project ref

Query parameters

  • offset
    Optional
    number
  • limit
    Optional
    number

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

[
{
"id": "lorem",
"branch_id": "lorem",
"run_steps": [
{
"name": "clone",
"status": "CREATED",
"created_at": "lorem",
"updated_at": "lorem"
}
],
"git_config": null,
"workdir": "lorem",
"check_run_id": 42,
"created_at": "lorem",
"updated_at": "lorem"
}
]
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"branch_id": {
"type": "string"
},
"run_steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"enum": [
"clone",
"pull",
"health",
"configure",
"migrate",
"seed",
"deploy"
]
},
"status": {
"type": "string",
"enum": [
"CREATED",
"DEAD",
"EXITED",
"PAUSED",
"REMOVING",
"RESTARTING",
"RUNNING"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"name",
"status",
"created_at",
"updated_at"
]
}
},
"git_config": {
"nullable": true
},
"workdir": {
"type": "string",
"nullable": true
},
"check_run_id": {
"type": "number",
"nullable": true
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"required": [
"id",
"branch_id",
"run_steps",
"workdir",
"check_run_id",
"created_at",
"updated_at"
]
}
}