Your app's data · Read with a key
Neon
Request-level AI usage rows from a Neon Postgres database, read with the Supabase / Postgres connector. Needs Neon's endpoint-in-password form; not run against a Neon project.
- How data moves
- AI Spendbook reads it on a schedule with a key, token or read-only role you give it.
- Credential
- Read-only database role
- What it covers
- request telemetry, app records
- Money
- Usage quantities, priced by AI Spendbook as an estimate
- Runs
- each scheduler run (daily on the hosted deployment)
- Freshness
- Not included
- billed cost
- Status
- Built from partial vendor documentation, or the vendor's endpoint is in beta or enabled per account. Not yet run against a live account.
Set it up
This uses the Supabase / Postgres connection.
- Create a connection of kind 'supabase' (Supabase / Postgres) with the database's host, port, database name and a read-only role, then run discovery and map the columns.
- The connector connects to the resolved address, so TLS carries no server name and Neon cannot tell which endpoint is meant. Enter the password as endpoint=<endpoint-id>$<password> (Neon's documented form for clients without SNI).
What it needs
A dedicated read-only Postgres role with SELECT on the selected tables only (no INSERT/UPDATE/DELETE, not a superuser). TLS is required.