Get details and logs

  • GET
  • /workspaces
  • /:domain
  • /projects
  • /:project_name
  • /pipelines
  • /:pipeline_id
  • /executions
  • /:execution_id
  • /action
  • /:action_id

Returns details and logs for a specific action in the defined pipeline execution.

Hint
status in last_execution_status can be either SUCCESSFUL, FAILED, INPROGRESS, ENQUEUED, SKIPPED, TERMINATED, NOT_EXECUTED, or INITIAL

Request

REQUIRED SCOPES
WORKSPACE, EXECUTION_INFO
URL PARAMETERS
domainrequired string
The workspace domain.
execution_idrequired integer
The numerical ID of the desired execution.
pipeline_idrequired integer
The numerical ID of the desired pipeline.
project_namerequired string
The name ID of the project.
action_idrequired integer
The numerical ID of the desired action.

Last modified on Oct 7, 2024

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:domain/projects/:project_name/pipelines/:pipeline_id/executions/:execution_id/action/:action_id" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
EXAMPLE RESPONSE
{ "status": "SUCCESSFUL", "progress": 100, "action": { "url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions/2", "html_url": "https://app.buddy.works/buddy/company-website/pipelines/action/2/edit", "id": 2, "name": "Build application", "type": "BUILD", "trigger_time": "ON_EVERY_EXECUTION", "last_execution_status": "SUCCESSFUL", "disabled": false }, "start_date": "2016-03-29T08:05:30.33Z", "finish_date": "2016-03-29T08:05:32.623Z", "log": [ "Pulling image library/ubuntu:latest", "Executing command: echo 'Hello world!'", "'Hello world!'", "Build finished successfully!" ] }
STATUS
200 OK
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999