Skip to Content
Actions Logs

Get action target step log

GET
/actions/{action_id}/targets/{action_target_id}/steps/{action_step_order}/logs

Path Parameters

action_id*integer

The ID of the action.

Range1 <= value
action_step_order*integer

The action step order.

Range1 <= value
action_target_id*integer

The ID of the action target.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
target*|null||null||null||null||null||null
step*|null
updated_at*|

The date and time when the requested log record was last updated

Example Request
curl -X GET 'https://api.devopness.com/actions/123/targets/123/steps/2/logs' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response200
{  "target": {    "id": 4425,    "name": "my-credential",    "provider_type": "cloud_provider",    "provider_code": "aws",    "provider_name": "aws",    "provider_name_human_readable": "Amazon Web Services"  },  "step": {    "order": 3,    "started_at": "2019-09-25T15:50:48.000000Z",    "completed_at": "2019-09-25T13:52:04.000000Z",    "output": "string"  },  "updated_at": "2019-09-25T13:52:04.000000Z"}