Action Runs

Add a log to an action run

This route allows you to send a log message back to Port, which will be displayed in the action run's page. You can also use this route to update the run's termination status (SUCCESS/FAILURE) and label describing the status.<br/><br/>To learn more about action runs, check out the documentation.

post/v1/actions/runs/{run_id}/logs

Request

  • Base URL: https://api.port.io
  • URL: https://api.port.io/v1/actions/runs/{run_id}/logs
  • Auth: API key in header Authorization

Path parameters

run_idstring required

The identifier of the action run.

Request body

terminationStatus'SUCCESS' | 'FAILURE'

The termination status of the action run. Can be left blank if you only want to send a log message.

statusLabelstring

A label to describe the status of the action run. Can be left blank if you only want to send a log message.

messagestring required

The log message to send back to Port.

Response

OK

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.