GET
/
audit-logs
List all audit logs
curl --request GET \
  --url https://api.devin.ai/v1/audit-logs \
  --header 'Authorization: Bearer <token>'
{
  "audit_logs": [
    {
      "created_at": 1704067200000,
      "action": "create_session",
      "user_id": "email|abcd",
      "session_id": "session_789"
    },
    {
      "created_at": 1704153600000,
      "action": "add_members_to_org",
      "target_user_id": "email|efgh",
      "org_id": "org_123"
    },
    {
      "created_at": 1704240000000,
      "action": "create_github_integration",
      "integration_id": "github_456"
    },
    {
      "created_at": 1704326400000,
      "action": "update_enterprise_settings",
      "setting_type": "hypervisor"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:100

Maximum number of audit logs to return

Required range: x >= 1
before
string

Filter logs before a specific timestamp

after
string

Filter logs after a specific timestamp

Response

200
application/json

List of audit logs

The response is of type object.