GET
/
get_audit_logs
curl --request GET \
  --url https://api.gumloop.com/api/v1/get_audit_logs \
  --header 'Authorization: Bearer <token>'
{
  "audit_logs": [
    {
      "event_id": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "event_type": "<string>",
      "user_id": "<string>",
      "details": "<string>",
      "source_ip": "<string>",
      "user_agent": "<string>"
    }
  ],
  "total_count": 123,
  "page": 123,
  "page_size": 123,
  "total_pages": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

organization_id
string
required

The ID of the organization to retrieve audit logs for.

user_id
string
required

Your user id -- you must be an organization admin to retrieve organization logs.

start_time
string
required

Start timestamp for log filtering (ISO format).

end_time
string
required

End timestamp for log filtering (ISO format).

page
integer
default:1

Page number for pagination.

page_size
integer
default:50

Number of records per page.

Response

200
application/json

Successful retrieval of organization audit logs

The response is of type object.