Skip to main content
GET
/
logs
/
actions
/
{actionRunId}
Get Action Log
curl --request GET \
  --url https://api.stackone.com/logs/actions/{actionRunId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "log_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b",
  "log_type": "action",
  "action_run_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b",
  "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",
  "success": true,
  "status_code": 200,
  "connector_key": "workday",
  "connector_version": "1.0.0",
  "connector_owner": "stackone",
  "mode": "production",
  "http_method": "GET",
  "url": "https://api.stackone.com/unified/hris/employees",
  "source_type": "DASHBOARD",
  "source_id": "1234567890",
  "source_value": "ACCOUNT_TESTER",
  "auth_type": "API_KEY",
  "auth_id": "auth-123",
  "user_agent": "Mozilla/5.0",
  "ip_address": "192.168.1.1",
  "session_id": "session-123",
  "agent_id": "agent-123",
  "transport_type": "HTTP",
  "stream_type": "HTTP",
  "is_background": false,
  "origin_owner_id": "owner-123",
  "origin_owner_name": "Test Owner",
  "action_id": "get_employees",
  "connector_profile_id": "profile-123",
  "action_type": "sync",
  "category": "hris",
  "risk_level": "low",
  "tier2_score": 0.5
}

Authorizations

Authorization
string
header
required

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

Path Parameters

actionRunId
string
required

Response

The action log was retrieved.

log_id
string
required

The unique log identifier

Example:

"adbf752f-6457-4ddd-89b3-98ae2252b83b"

log_type
enum<string>
required

The type of log

Available options:
action
Example:

"action"

action_run_id
string
required

The action run ID

Example:

"adbf752f-6457-4ddd-89b3-98ae2252b83b"

event_time
string<date-time> | null

The event ISO8601 date string

Example:

"2021-01-01T00:00:00Z"

start_time
string<date-time> | null

The request start time ISO8601 date string

Example:

"2021-01-01T00:00:00Z"

end_time
string<date-time> | null

The request end time ISO8601 date string

Example:

"2021-01-01T00:00:00Z"

duration_ms
number | null

The duration in milliseconds

Example:

356

project_id
string | null

The project ID

Example:

"dev-project-68574"

account_id
string | null

The account ID

Example:

"45355976281015164504"

success
boolean | null

The success flag

Example:

true

status_code
number | null

The HTTP status code

Example:

200

connector_key
string | null

The connector key

Example:

"workday"

connector_version
string | null

The connector version

Example:

"1.0.0"

connector_owner
string | null

The connector owner

Example:

"stackone"

mode
string | null

The mode

Example:

"production"

http_method
string | null

The HTTP method

Example:

"GET"

url
string | null

The request URL

Example:

"https://api.stackone.com/unified/hris/employees"

source_type
string | null

The source type

Example:

"DASHBOARD"

source_id
string | null

The source ID

Example:

"1234567890"

source_value
string | null

The source value

Example:

"ACCOUNT_TESTER"

auth_type
string | null

The authentication type

Example:

"API_KEY"

auth_id
string | null

The authentication ID

Example:

"auth-123"

user_agent
string | null

The user agent

Example:

"Mozilla/5.0"

ip_address
string | null

The IP address

Example:

"192.168.1.1"

session_id
string | null

The session ID

Example:

"session-123"

agent_id
string | null

The agent ID

Example:

"agent-123"

transport_type
string | null

The transport type

Example:

"HTTP"

stream_type
string | null

The stream type

Example:

"HTTP"

is_background
boolean | null

Whether this is a background request

Example:

false

origin_owner_id
string | null

The origin owner ID

Example:

"owner-123"

origin_owner_name
string | null

The origin owner name

Example:

"Test Owner"

action_id
string | null

The action ID

Example:

"get_employees"

connector_profile_id
string | null

The connector profile ID

Example:

"profile-123"

action_type
string | null

The action type

Example:

"sync"

category
string | null

The category

Example:

"hris"

risk_level
string | null

The risk level from Defender

Example:

"low"

tier2_score
number | null

The tier 2 score from Defender

Example:

0.5