audit-logs

Get audit retention

How long audit events are kept for this project, derived from the active billing tier and any custom plan rules.

Required permission: audit.view.

get/v1/projects/{project_id}/audit-logs/retention

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/audit-logs/retention
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

Response

Successful Response

retention_daysinteger required

Days audit events are kept. -1 means they are kept indefinitely.

billing_tierstring required

Billing tier of the project, such as free, developer, pro or enterprise.

Changes

No recorded changes to this operation across all 2 revisions of this API.