Admin

Server-side operations. All require the ADMIN_SECRET.

Test eBay connection

Read-only check against the live Browse API (uses the production keys). Shows the source, how many ending-soon listings it finds, and a few titles — or the exact error. No data written.

Run database migrations

Applies pending migrations in the current deploy. Safe to re-run. Workflow: edit schema → pnpm db:generate → push → click.

Run pipeline now

Scans the configured source (mock until eBay is live), then comps + decides + persists every listing — populates the dashboard without the Inngest app connected.

The secret is sent as a Bearer token and stored only in your browser's localStorage.