Skip to content
English
  • There are no suggestions because the search field is empty.

List activity logs by organization

GET /api/v1/organizations/{orgId}/activity-logs Select code sample Fetch cURL
const url = 'https://localhost:10001/api/v1/organizations/1/activity-logs';const options = {method: 'GET', headers: {Authorization: '
  
   '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
  
curl --request GET \  --url https://localhost:10001/api/v1/organizations/1/activity-logs \  --header 'Authorization: 
  
   '
  

Retrieve activity logs for a specific organization, scoped to the caller’s accessible projects when not an owner or admin

Authorizations

Section titled “Authorizations ”

Parameters

Section titled “ Parameters ”

Path Parameters

Section titled “Path Parameters ” orgId required integer

Organization ID

Responses

Section titled “ Responses ”

200

Section titled “200 ”

Activity logs

Media type application/json Array object action string createdAt string id integer logs object organizationId integer organizationName string projectId integer projectName string resource string userEmail string userId string userName string
Example generated
[  {    "action": "example",    "createdAt": "example",    "id": 1,    "logs": {},    "organizationId": 1,    "organizationName": "example",    "projectId": 1,    "projectName": "example",    "resource": "example",    "userEmail": "example",    "userId": "example",    "userName": "example"  }]

400

Section titled “400 ”

Bad request - Invalid organization ID

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

401

Section titled “401 ”

Unauthorized - Authentication required

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

403

Section titled “403 ”

Forbidden - Insufficient permissions

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

404

Section titled “404 ”

Organization not found

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

500

Section titled “500 ”

Internal server error

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}
Previous
Create activity log
Next
List activity logs by project