Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,31 @@ flowchart LR
- **Operable** — Flyway migrations, health/readiness, Prometheus metrics, tracing,
structured logs, an admin audit trail and an OpenAPI spec.

## Screenshots

The console that ships alongside the gateway ([an1ndra/path-admin](https://github.com/an1ndra/path-admin)),
shown against example data.

**Dashboard** — requests, spend, cache hit rate, latency percentiles, per-provider circuits
and recent failures for the selected window.

<img src="docs/screenshots/dashboard.webp" alt="Path dashboard: requests, spend, cache, latency, providers and recent failures" width="100%">

**Routes** — every public model id mapped to an upstream provider and price, with its
cache and state, so fallback chains are visible in one table.

<img src="docs/screenshots/routes.webp" alt="Path routes: public model to provider mapping with prices and state" width="100%">

**Usage** — every stored request, filterable by key, end user and window, priced per call
and exportable as CSV.

<img src="docs/screenshots/usage.webp" alt="Path usage: stored requests with tokens, cost, latency and status" width="100%">

**Security** — recent calls with the key, client address and user agent that made them, so
a key can be traced to the machines using it.

<img src="docs/screenshots/security.webp" alt="Path security: recent calls with key, client IP, user agent and request id" width="100%">

## Install on Kubernetes

```bash
Expand Down
3 changes: 2 additions & 1 deletion docs/ADMIN-UI.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

There is no UI in this repository: the gateway is a single Java process and stays that way.
The admin console lives in its own repository, [an1ndra/path-admin](https://github.com/an1ndra/path-admin)
(Vite + React, served as static files).
(Vite + React, served as static files). The [README](../README.md#screenshots) carries four
screenshots of it against example data.

## What it covers

Expand Down
Binary file added docs/screenshots/dashboard.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/routes.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/security.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshots/usage.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.