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โ
Responsesโ
- 201
- 404
- 422
- 500
Added successfully.
One of the following errors occurred:
Error | Description |
---|---|
not_found | The action run with the provided identifier was not found |
One of the following errors occurred:
Error | Description |
---|---|
invalid_request | The data provided does not match the route schema |
run_exhausted | Action run already finished execution |
One of the following errors occurred:
Error | Description |
---|---|
internal_error | An internal error occurred |