Internal

Recompute audit usage totals

Changed on

Recomputes every organization's audit usage totals (retained operations, events, logical bytes) from the stored rows and saves them with the time they were measured. The audit write path never updates these totals, so a scheduled caller runs this (daily by default). Answers 404 when DEN_MAINTENANCE_TOKEN is not configured.

post/internal/audit/usage/refresh

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    HTTP bearer

Response

Totals recomputed.

object required
organizations, integer required
refreshedAt, string date-time required

Changes

    • warning

      added the new invalid_request enum value to the error response property for the response status

    • warning

      added the new invalid_request enum value to the error response property for the response status

    • warning

      added the new invalid_request enum value to the error response property for the response status

    3 more changes in this revision