# Event stream (up4 CLI) — API reference

> The stream the up4 CLI listens on: confirmed events, test events, delivery acknowledgements and reports of local handler runs. REST endpoints with request and response fields, examples in curl, JavaScript, Python, Go and PHP, and an in-browser Try it console.

Source: https://upfour.io/docs/api/runner

[Developers](https://upfour.io/docs/api.md)/Platform

The stream the up4 CLI listens on: confirmed events, test events, delivery acknowledgements and reports of local handler runs.

Base URL `https://app.upfour.io/v1`. Send your key as `Authorization: Bearer <key>`; every key acts on your real Company, so [test without paging anyone](https://upfour.io/docs/api/testing.md). New here? Start with the [quickstart](https://upfour.io/docs/api/quickstart.md). The examples read the key from `UP4_API_KEY`.

## Everyday

[GET **Open the event stream** /runner/stream](https://upfour.io/docs/api/runner/open-the-event-stream.md)[POST **Send a test event** /runner/test](https://upfour.io/docs/api/runner/send-a-test-event.md)[GET **Get a recent event** /runner/events/{eventID}](https://upfour.io/docs/api/runner/get-a-recent-event.md)[POST **Take an action lock** /runner/locks](https://upfour.io/docs/api/runner/take-an-action-lock.md)[POST **End an action lock** /runner/locks/{token}/finish](https://upfour.io/docs/api/runner/end-an-action-lock.md)

## Delivery and reports

[POST **Report a handler run** /runner/runs](https://upfour.io/docs/api/runner/report-a-handler-run.md)[POST **Acknowledge received events** /runner/acks](https://upfour.io/docs/api/runner/acknowledge-received-events.md)[GET **Get delivery times** /runner/stats](https://upfour.io/docs/api/runner/get-delivery-times.md)
