Audit

List audit records

Get audit records.

get/api/v1/audit

Request

  • Base URL
    https://openmeter.cloud (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or API key in cookie __session

Query parameters

cursorstring

The cursor after which to start the pagination.

limitinteger

The limit of the pagination.

The filter to apply to the audit records.

Response

The request has succeeded.

nextCursorstring

The cursor of the last item in the list.

Example response

{
  "items": [
    {
      "action": "create",
      "authorized": true,
      "data": {},
      "id": "01f2bf2aac9c322362ac0361f9476e04",
      "operation": "createMeter",
      "resourceId": "01J4Q2BSK8RBB784DPJ0XRT5CF",
      "resourceKind": "meter",
      "sourceIp": "192.168.1.1",
      "time": "2025-01-01T00:00:00Z",
      "url": "https://openmeter.cloud/api/v1/meters",
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36",
      "userId": "user_123"
    }
  ]
}

Changes

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