Skip to main content
GET
/
logs
/
unified
/
{requestId}
Get Unified Log
curl --request GET \
  --url https://api.stackone.com/logs/unified/{requestId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "log_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b",
  "log_type": "unified",
  "request_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",
  "path": "/unified/hris/employees",
  "resource": "employees",
  "sub_resource": "documents",
  "child_resource": "time-off",
  "service": "hris",
  "action": "list",
  "provider": "workday",
  "duration": 356,
  "is_worker": false,
  "status": 200
}

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

requestId
string
required

Response

The unified 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:
unified
Example:

"unified"

request_id
string
required

The request 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"

path
string | null

The request path

Example:

"/unified/hris/employees"

resource
string | null

The resource

Example:

"employees"

sub_resource
string | null

The sub resource

Example:

"documents"

child_resource
string | null

The child resource

Example:

"time-off"

service
string | null

The service

Example:

"hris"

action
string | null

The action

Example:

"list"

provider
string | null

The provider

Example:

"workday"

duration
number | null

The duration in milliseconds (legacy field)

Example:

356

is_worker
boolean | null

Whether this request was handled by a worker

Example:

false

status
number | null

The response status (legacy field)

Example:

200