Usage Metering

Get hourly usage for audit logs

Get hourly usage for audit logs. Note: This endpoint has been deprecated.

get/api/v1/usage/audit_logs

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/usage/audit_logs
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token scopes: usage_read

Query parameters

start_hrstring date-time required

Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.

end_hrstring date-time

Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.