curl --request GET \
--url https://devx.{environment}.oleria.io/v1/activities \
--header 'Authorization: Bearer <token>'import requests
url = "https://devx.{environment}.oleria.io/v1/activities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://devx.{environment}.oleria.io/v1/activities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://devx.{environment}.oleria.io/v1/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://devx.{environment}.oleria.io/v1/activities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://devx.{environment}.oleria.io/v1/activities")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://devx.{environment}.oleria.io/v1/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"activatedPermissionsAvailable": true,
"activityType": "Login.Success",
"actorAccountId": "user:U_kgDOB7P6Rg (GitHub based on node identifier), 838439349399 (Google Workspace based on user id), user:wiz-inc-4db1c46901 (GitHub based on app slug)",
"affectedObjectId": "<string>",
"affectedObjectType": "Account",
"applicationActivityType": "org.sso_response (GitHub), workflows.completed_workflow_run (GitHub), drive.access (Google Workspace)",
"errorCode": 404,
"id": "<string>",
"objectMetadata": {
"ApplicationInstanceId": "<string>",
"GeneratedTime": "2023-11-07T05:31:56Z",
"ObjectOrRelationshipType": "<string>"
},
"timestamp": "2024-05-02T03:17:34.948Z",
"globalActorAccountId": "<string>",
"globalAffectedObjectId": "<string>",
"globalId": "<string>",
"oleriaObjectMetadata": {
"enrichmentVersion": "<string>",
"generatedTime": "2023-11-07T05:31:56Z"
},
"activatedPermissionSets": [
{
"fineGrainedResourceClass": "repo",
"fineGrainedSpecifiers": [
"manage_github_actions_permissions_policy",
"view_collaborators"
],
"formattedScopes": {
"specifiers": [
"<string>"
],
"type": "OAuth"
},
"isCreate": true,
"isDelete": true,
"isExecute": true,
"isPrivileged": true,
"isRead": true,
"isShare": true,
"isUpdate": true,
"ownershipLevel": "Owner",
"owners": [
{
"federationInformation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectId": "<string>",
"objectType": "Account"
}
],
"permissionGroupId": "<string>",
"specificationMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
]
}
],
"activity": "CI",
"activityMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
],
"actorAccountFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"actorAuthenticationContext": "fBDpDdUUN1z0jMIUg1saZQmaA9Dx3B+0IPdcHG0fN4c=",
"actorAuthenticationMethods": [
"BiometricAuthenticator",
"Passkey"
],
"actorAuthenticationScopes": {
"specifiers": [
"<string>"
],
"type": "OAuth"
},
"actorImpersonatorReference": {
"accountReference": {
"authenticationKey": "<string>",
"federationId": "kirt@oleria.dev"
}
},
"actorLocation": {
"typeSpecificData": {
"ipAddressExclusions": [
"<string>"
],
"ipAddressInclusions": [
"<string>"
],
"name": "<string>",
"supplementaryInformation": {
"geoLocation": {
"latitude": 123,
"longtitude": 123
},
"additionalLocationMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
]
}
}
},
"affectedObjectFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"authenticationContextHistory": [
"<string>"
],
"browserName": "Chrome",
"browserVersion": "126",
"errorDescription": "The requested resource was not found",
"ipAddress": "192.39.212.89",
"objectDirectoryContainerFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectDirectoryContainerId": "repo:R_kgDOLL0doQ (GitHub based on repository node identifier), 1BUxdX4M-H7X8GKRgTjprJS8fjY_Ij1giE82lQlny2kc (Google Drive based on file id)",
"oleriaActivityTypeSpecificData": {
"fromId": "<string>",
"toId": "<string>"
},
"osName": "OSX",
"osVersion": "10.15.7",
"pageUri": "/lightning/r/Opportunity/006Dn000007rkDYIAY/view",
"requestorAccountFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"requestorAccountId": "user:U_kgDOB7P6Rg (GitHub based on node identifier), 838439349399 (Google Workspace based on user id), user:wiz-inc-4db1c46901 (GitHub based on app slug)",
"secondaryAffectedObjects": [
{
"federationInformation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectId": "<string>",
"objectType": "Account"
}
],
"globalActivatedPermissionSets": [
{
"fineGrainedResourceClass": "repo",
"fineGrainedSpecifiers": [
"manage_github_actions_permissions_policy",
"view_collaborators"
],
"formattedScopes": {
"specifiers": [
"<string>"
],
"type": "OAuth"
},
"isCreate": true,
"isDelete": true,
"isExecute": true,
"isPrivileged": true,
"isRead": true,
"isShare": true,
"isUpdate": true,
"ownershipLevel": "Owner",
"owners": [
{
"federationInformation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectId": "<string>",
"objectType": "Account"
}
],
"permissionGroupId": "<string>",
"specificationMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
]
}
],
"globalActorImpersonatorReference": {
"accountReference": {
"authenticationKey": "<string>",
"federationId": "kirt@oleria.dev"
}
},
"globalObjectDirectoryContainerId": "<string>",
"globalRequestorAccountId": "<string>",
"globalSecondaryAffectedObjects": [
"<string>"
],
"enrichedActivatedPermissionFlags": [
123
],
"enrichedUserAgent": "<string>",
"analyticsActorAccountAlias": "<string>",
"analyticsActorAccountName": "<string>",
"analyticsActorAccountSubType": "Standard",
"analyticsActorAccountType": "User",
"analyticsActorEmployeeType": "<string>",
"analyticsAffectedObjectName": "<string>",
"analyticsSecondaryAffectedObjectNames": [
"<string>"
]
}
],
"nextPageToken": "<string>"
}{
"code": "BAD_REQUEST",
"message": "The request was malformed."
}{
"code": "UNAUTHORIZED",
"message": "Missing or invalid authentication token."
}{
"code": "FORBIDDEN",
"message": "The token lacks the required scope."
}{
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded. Retry after the specified interval."
}{
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred."
}List
Returns a page of activities. Pass pageToken from the previous response’s nextPageToken to fetch the next page. A page can be empty while the results are still being prepared. Keep requesting pages until the response has no nextPageToken. Defaults to the most recent 30 days when from/to are omitted; a custom window is capped at 31 days per request. Requires the https://devx.{environment}.oleria.io/read scope.
curl --request GET \
--url https://devx.{environment}.oleria.io/v1/activities \
--header 'Authorization: Bearer <token>'import requests
url = "https://devx.{environment}.oleria.io/v1/activities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://devx.{environment}.oleria.io/v1/activities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://devx.{environment}.oleria.io/v1/activities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://devx.{environment}.oleria.io/v1/activities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://devx.{environment}.oleria.io/v1/activities")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://devx.{environment}.oleria.io/v1/activities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"activatedPermissionsAvailable": true,
"activityType": "Login.Success",
"actorAccountId": "user:U_kgDOB7P6Rg (GitHub based on node identifier), 838439349399 (Google Workspace based on user id), user:wiz-inc-4db1c46901 (GitHub based on app slug)",
"affectedObjectId": "<string>",
"affectedObjectType": "Account",
"applicationActivityType": "org.sso_response (GitHub), workflows.completed_workflow_run (GitHub), drive.access (Google Workspace)",
"errorCode": 404,
"id": "<string>",
"objectMetadata": {
"ApplicationInstanceId": "<string>",
"GeneratedTime": "2023-11-07T05:31:56Z",
"ObjectOrRelationshipType": "<string>"
},
"timestamp": "2024-05-02T03:17:34.948Z",
"globalActorAccountId": "<string>",
"globalAffectedObjectId": "<string>",
"globalId": "<string>",
"oleriaObjectMetadata": {
"enrichmentVersion": "<string>",
"generatedTime": "2023-11-07T05:31:56Z"
},
"activatedPermissionSets": [
{
"fineGrainedResourceClass": "repo",
"fineGrainedSpecifiers": [
"manage_github_actions_permissions_policy",
"view_collaborators"
],
"formattedScopes": {
"specifiers": [
"<string>"
],
"type": "OAuth"
},
"isCreate": true,
"isDelete": true,
"isExecute": true,
"isPrivileged": true,
"isRead": true,
"isShare": true,
"isUpdate": true,
"ownershipLevel": "Owner",
"owners": [
{
"federationInformation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectId": "<string>",
"objectType": "Account"
}
],
"permissionGroupId": "<string>",
"specificationMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
]
}
],
"activity": "CI",
"activityMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
],
"actorAccountFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"actorAuthenticationContext": "fBDpDdUUN1z0jMIUg1saZQmaA9Dx3B+0IPdcHG0fN4c=",
"actorAuthenticationMethods": [
"BiometricAuthenticator",
"Passkey"
],
"actorAuthenticationScopes": {
"specifiers": [
"<string>"
],
"type": "OAuth"
},
"actorImpersonatorReference": {
"accountReference": {
"authenticationKey": "<string>",
"federationId": "kirt@oleria.dev"
}
},
"actorLocation": {
"typeSpecificData": {
"ipAddressExclusions": [
"<string>"
],
"ipAddressInclusions": [
"<string>"
],
"name": "<string>",
"supplementaryInformation": {
"geoLocation": {
"latitude": 123,
"longtitude": 123
},
"additionalLocationMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
]
}
}
},
"affectedObjectFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"authenticationContextHistory": [
"<string>"
],
"browserName": "Chrome",
"browserVersion": "126",
"errorDescription": "The requested resource was not found",
"ipAddress": "192.39.212.89",
"objectDirectoryContainerFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectDirectoryContainerId": "repo:R_kgDOLL0doQ (GitHub based on repository node identifier), 1BUxdX4M-H7X8GKRgTjprJS8fjY_Ij1giE82lQlny2kc (Google Drive based on file id)",
"oleriaActivityTypeSpecificData": {
"fromId": "<string>",
"toId": "<string>"
},
"osName": "OSX",
"osVersion": "10.15.7",
"pageUri": "/lightning/r/Opportunity/006Dn000007rkDYIAY/view",
"requestorAccountFederation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"requestorAccountId": "user:U_kgDOB7P6Rg (GitHub based on node identifier), 838439349399 (Google Workspace based on user id), user:wiz-inc-4db1c46901 (GitHub based on app slug)",
"secondaryAffectedObjects": [
{
"federationInformation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectId": "<string>",
"objectType": "Account"
}
],
"globalActivatedPermissionSets": [
{
"fineGrainedResourceClass": "repo",
"fineGrainedSpecifiers": [
"manage_github_actions_permissions_policy",
"view_collaborators"
],
"formattedScopes": {
"specifiers": [
"<string>"
],
"type": "OAuth"
},
"isCreate": true,
"isDelete": true,
"isExecute": true,
"isPrivileged": true,
"isRead": true,
"isShare": true,
"isUpdate": true,
"ownershipLevel": "Owner",
"owners": [
{
"federationInformation": {
"isFederated": true,
"authenticationKey": "<string>"
},
"objectId": "<string>",
"objectType": "Account"
}
],
"permissionGroupId": "<string>",
"specificationMetadata": [
{
"id": "<string>",
"name": "<string>",
"namespace": "<string>",
"value": {}
}
]
}
],
"globalActorImpersonatorReference": {
"accountReference": {
"authenticationKey": "<string>",
"federationId": "kirt@oleria.dev"
}
},
"globalObjectDirectoryContainerId": "<string>",
"globalRequestorAccountId": "<string>",
"globalSecondaryAffectedObjects": [
"<string>"
],
"enrichedActivatedPermissionFlags": [
123
],
"enrichedUserAgent": "<string>",
"analyticsActorAccountAlias": "<string>",
"analyticsActorAccountName": "<string>",
"analyticsActorAccountSubType": "Standard",
"analyticsActorAccountType": "User",
"analyticsActorEmployeeType": "<string>",
"analyticsAffectedObjectName": "<string>",
"analyticsSecondaryAffectedObjectNames": [
"<string>"
]
}
],
"nextPageToken": "<string>"
}{
"code": "BAD_REQUEST",
"message": "The request was malformed."
}{
"code": "UNAUTHORIZED",
"message": "Missing or invalid authentication token."
}{
"code": "FORBIDDEN",
"message": "The token lacks the required scope."
}{
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded. Retry after the specified interval."
}{
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred."
}Authorizations
OAuth 2.0 client-credentials flow. Request an access token from the token endpoint and send it as Authorization: Bearer <token>.
Query Parameters
Maximum items per page.
1 <= x <= 200Opaque page token from the previous response's nextPageToken. Omit it for the first page; pass it back exactly as received. Do not parse or construct it.
Scope the list to a single application instance, identified by its id (UUID). An application instance is one connected integration in your tenant: a specific Okta, Workday, and so on. Omit it to list across all of your instances.
Start of the event-time window, inclusive (RFC 3339). Omit from and to for the most recent 30 days; a custom window may span at most 31 days.
End of the event-time window, exclusive (RFC 3339). Omit from and to for the most recent 30 days; a custom window may span at most 31 days.
Response
A page of activities.
Show child attributes
Show child attributes
Opaque token for the next page; pass it back as pageToken. Present whenever more pages remain, including when this page is empty because the results are still being prepared, and absent only once the collection is fully returned. Do not parse or construct it.
Was this page helpful?

