cURL
curl --request POST \ --url https://api.quivly.com/v1/events/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "customer_id": "<string>", "event_code": "<string>", "event_type": "credit", "created_at_from": "2023-11-07T05:31:56Z", "created_at_to": "2023-11-07T05:31:56Z", "event_id": "<string>", "event_property_filters": {}, "limit": 50, "offset": 0 } '
{ "events": [ { "event_id": "abc-123", "customer_id": "pied-piper", "event_code": "api_call", "event_type": "credit", "created_at": "2025-03-25T12:00:00Z", "event_properties": { "tokens": "300", "status_code": 200, "region": "us-west-1", "response_time_ms": 120 } }, { "event_id": "def-456", "customer_id": "pied-piper", "event_code": "api_call", "event_type": "credit", "created_at": "2025-03-26T09:15:00Z", "event_properties": { "tokens": "150", "status_code": 200, "region": "us-west-1", "response_time_ms": 110 } } ], "total": 2, "limit": 50, "offset": 0 }
Search or list events with filters and pagination (POST /v1/events/search)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
credit
debit
x <= 100
List of events matching the filters.
Show child attributes
Unique identifier for the event.
Unique identifier for the customer.
Metric code this event is counted towards.
credit or debit.
Timestamp in RFC 3339/ISO 8601, UTC.
Custom properties for aggregation, filtering, and grouping.