Usage

List usage events

Changed on
get/v1/usage-events

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/v1/usage-events
  • Auth: HTTP bearer

Query parameters

customer_idstring
meter_idstring
dimensionsstring

Comma-separated key=value pairs matched against the event's dimensions via JSONB containment (multiple pairs AND). Values that parse as JSON booleans/numbers are matched typed ("cached=true", "attempt=2"); everything else as a string. Malformed pairs → 422. Example: model=gpt-4o,token_type=input.

Response

Event list

Changes

    • info

      added the new optional query request parameter customer_id

    • info

      added the new optional query request parameter dimensions

    • info

      added the new optional query request parameter meter_id

    • info

      added the non-success response with the status