Skip to main content

Check out Port for yourselfย 

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

    terminationStatusstring

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

    Possible values: [SUCCESS, FAILURE]

    statusLabelstring

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

    messagestringrequired

    The log message to send back to Port.

Responsesโ€‹

Added successfully.

Schema

    okanyrequired

    Possible values: [true]

    runLog

    object

    idstringrequired
    runIdstringrequired
    messagestringrequired
    createdBystringrequired
    createdAtdate-timerequired