Skip to main content
POST
/
logs
/
steps
List Step Logs
curl --request POST \
  --url https://api.stackone.com/logs/steps \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": [
    {
      "log_type": "step",
      "action_run_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b",
      "step_index": 0,
      "step_id": "step-123",
      "step_function_name": "fetchEmployees",
      "step_function_version": "1.0.0",
      "step_iterations": 1,
      "event_time": "2021-01-01T00:00:00Z",
      "start_time": "2021-01-01T00:00:00Z",
      "end_time": "2021-01-01T00:00:00Z",
      "duration_ms": 356,
      "project_id": "dev-project-68574",
      "account_id": "45355976281015164504",
      "skipped": false,
      "success": true,
      "status_code": 200,
      "message": "Step completed successfully"
    }
  ],
  "query": {
    "page": 1,
    "page_size": 25
  },
  "total": 100
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

The body is of type object.

Response

The list of step logs was retrieved.

data
object[]
required

The list of step logs

query
object

Pagination metadata

Example:
{ "page": 1, "page_size": 25 }
total
number | null

Total number of logs

Example:

100