Get an action's run logs
GET/v1/actions/runs/:run_id/logs
This route allows you to fetch the logs from an action run.
To learn more about action runs, check out the documentation.
Requestโ
Path Parameters
run_id stringrequired
The identifier of the action run you want to fetch logs for.
Query Parameters
limit number
Possible values: >= 1
and <= 50
The maximum number of logs to fetch.
offset number
The number of logs to skip.
Responsesโ
- 200
- 404
- 422
- 500
Retrieved successfully.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
okanyrequired
Possible values: [true
]
runLogs
object[]
idstringrequired
runIdstringrequired
messagestringrequired
createdBystringrequired
createdAtdate-timerequired
{
"ok": true,
"runLogs": [
{
"id": "string",
"runId": "string",
"message": "string",
"createdBy": "string",
"createdAt": "2024-07-29T15:51:28.071Z"
}
]
}
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 |
One of the following errors occurred:
Error | Description |
---|---|
internal_error | An internal error occurred |