curl --request GET \
--url https://api.stackone.com/requests/platform-logs \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"request_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b",
"event_datetime": "2021-01-01T00:00:00Z",
"start_time": "2021-01-01T00:00:00Z",
"end_time": "2021-01-01T00:00:00Z",
"account_id": "45355976281015164504",
"project_id": "dev-project-68574",
"http_method": "get",
"path": "/unified/hris/employees",
"url": "https://api.stackone.com/unified/hris/employees?raw=false",
"status": 200,
"duration": 356,
"success": true,
"resource": "employees",
"child_resource": "time-off",
"sub_resource": "documents",
"action": "download",
"source_type": "DASHBOARD",
"source_value": "ACCOUNT_TESTER",
"source_id": "1234567890",
"source_ip": "192.168.1.1",
"category": "hris"
}
],
"next": "<string>"
}curl --request GET \
--url https://api.stackone.com/requests/platform-logs \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"request_id": "adbf752f-6457-4ddd-89b3-98ae2252b83b",
"event_datetime": "2021-01-01T00:00:00Z",
"start_time": "2021-01-01T00:00:00Z",
"end_time": "2021-01-01T00:00:00Z",
"account_id": "45355976281015164504",
"project_id": "dev-project-68574",
"http_method": "get",
"path": "/unified/hris/employees",
"url": "https://api.stackone.com/unified/hris/employees?raw=false",
"status": 200,
"duration": 356,
"success": true,
"resource": "employees",
"child_resource": "time-off",
"sub_resource": "documents",
"action": "download",
"source_type": "DASHBOARD",
"source_value": "ACCOUNT_TESTER",
"source_id": "1234567890",
"source_ip": "192.168.1.1",
"category": "hris"
}
],
"next": "<string>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
The field to order the results by.
provider, service, status, eventDatetime, duration, "created_at"
The direction to order the results by.
asc, desc, "asc"
The number of results per page (default value is 25)
x <= 100The unified cursor
Filter parameters that allow greater customisation of the list response
Show child attributes
A comma-separated list of account IDs to filter the results by.
"45355976281015164504,45355976281015164505"
A ISO8601 date string to filter the results by start_date.
"2020-01-01T00:00:00.000Z"
A ISO8601 date string to filter the results by end_date.
"2020-01-01T00:00:00.000Z"
A comma-separated list of request IDs to filter the results by.
"adbf752f-6457-4ddd-89b3-98ae2252b83b,adbf752f-6457-4ddd-89b3-98ae2252b83c"
A comma-separated list of source types to filter the results by.
"DASHBOARD,SYNTHETIC_WEBHOOK"
A comma-separated list of source values to filter the results by.
A comma-separated list of source IDs to filter the results by.
A comma-separated list of HTTP methods to filter the results by.
"GET,POST"
A comma-separated list of categories to filter the results by.
"hris,ats"
A comma-separated list of resources to filter the results by.
"employees,users"
A comma-separated list of actions to filter the results by.
"download,upload"
A comma-separated list of status codes to filter the results by.
"200,400"
A boolean value to filter the results by success or failure.
true
The field to order the results by.
provider, service, status, eventDatetime, duration, "created_at"
The direction to order the results by.
asc, desc, "asc"
The list of platform logs was retrieved.
Show child attributes
The request ID
"adbf752f-6457-4ddd-89b3-98ae2252b83b"
The event ISO8601 date string
"2021-01-01T00:00:00Z"
The request start time ISO8601 date string
"2021-01-01T00:00:00Z"
The request end time ISO8601 date string
"2021-01-01T00:00:00Z"
The account ID of the request
"45355976281015164504"
The project ID of the request
"dev-project-68574"
The requested HTTP method
"get"
The requested path
"/unified/hris/employees"
The requested URL
"https://api.stackone.com/unified/hris/employees?raw=false"
The requests response status code
200
The request duration in milliseconds
356
The request success flag
true
The requested resource
"employees"
The requested child resource
"time-off"
The requested sub resource
"documents"
The requested action
"download"
The requests source type
"DASHBOARD"
The requests source value
"ACCOUNT_TESTER"
The requests source ID
"1234567890"
The requests source IPV4 ip address
"192.168.1.1"
The requested category
"hris"
Was this page helpful?