Events

Use when debugging a specific event (e.g. why it failed or how it was aggregated). Reads the meter-usage pipeline; includes processing status and step-by-step debug tracker when unprocessed. Uses ?id= query param because event IDs can contain "/".

get/events/lookup

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/events/lookup
  • Auth
    API key in header x-api-key

Query parameters

idstring required

Event ID

external_customer_idstring required

External customer ID the event was ingested with

start_timestring

Start of the event timestamp window (RFC3339); defaults to 14 days before end_time

end_timestring

End of the event timestamp window (RFC3339); defaults to now

Response

OK

status'processed' | 'processing' | 'failed'

Changes

    • info

      added the optional property /// to the response with the status

    • warning

      removed the optional property /// from the response with the status