Skip to content

List activity logs by project

GET
/api/v1/projects/{projectId}/activity-logs
curl --request GET \
--url https://localhost:10001/api/v1/projects/1/activity-logs \
--header 'Authorization: <Authorization>'

Retrieve activity logs for a specific project

projectId
required
integer

Project ID

Activity logs

Media type application/json
Array<object>
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"
}
]

Bad request - Invalid project ID

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

Unauthorized - Authentication required

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

Forbidden - No project access or insufficient permissions

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

Project not found

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

Internal server error

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