Skip to main content

Add a log to an action run

POST 

/v1/actions/runs/:run_id/logs

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.

To learn more about action runs, check out the documentation.

Request

Path Parameters

    run_id stringrequired

Body

required

    terminationStatus string

    Possible values: [SUCCESS, FAILURE]

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

    statusLabel string

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

    message stringrequired

    The log message to send back to Port.

Responses

Success

Loading...