latest_event
Get the single most recent event captured by a bucket, optionally filtered by provider and event type. Returns one event with its headers, body and delivery results — the one-shot answer to "what did Stripe last send me". 404 if nothing matches, so you never index into an empty list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | The provider's own event name, matched exactly (e.g. payment_intent.succeeded). | |
| provider | No | Filter to a provider attributed at ingest (e.g. stripe, github). | |
| bucket_id | Yes | The endpoint id. |