List Unified Logs
curl --request POST \
--url https://api.stackone.com/logs/unified \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": [
{
"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
}
],
"query": {
"page": 1,
"page_size": 25
},
"total": 100
}POST
/
logs
/
unified
List Unified Logs
curl --request POST \
--url https://api.stackone.com/logs/unified \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'{
"data": [
{
"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
}
],
"query": {
"page": 1,
"page_size": 25
},
"total": 100
}Authorizations
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.
Was this page helpful?
⌘I