Appearance
OpenAI Platform API
Pull your OpenAI API spend into Flowstate so it lands on the same ledger as payroll and projects, instead of being reconciled against the invoice by hand once a quarter.
This is the API, not ChatGPT seats
This connector reads the OpenAI Platform API — the pay-per-token surface behind platform.openai.com. ChatGPT Business and Enterprise seat subscriptions are billed separately and are not covered here.
What syncs
OpenAI splits usage and money across two endpoints, and Flowstate reads both from the same admin key:
| Data | Grain |
|---|---|
| Token usage | Per user and per model, per day |
| Invoiced cost | Per line item and per OpenAI project, per day |
The two planes have different axes. OpenAI's cost endpoint carries no user dimension, so dollars attribute to a project and line item rather than to a person — token counts are where per-person usage comes from.
What you'll see in Flowstate
- Spend reconciliation — OpenAI's own cost figures next to Agent telemetry. See Spend.
- Per-project attribution — with the Flowstate Agent, calls are attributed to a person, project and cost centre. See Attribution.
- Model breakdown — which models your team actually uses, and how the mix shifts.
- Cost trends — daily burn, so a runaway batch job shows up before invoice day.
Getting started
You need to be an organisation owner — only owners can create admin keys.
- Open platform.openai.com → Settings → Organization → Admin keys and create a key
- Copy it straight away — it is shown once
- In Flowstate, open Settings → Integrations → OpenAI Platform API, paste the key and click Verify and connect — Flowstate makes one read-only call to check it works before saving anything
How syncing works
Usage syncs hourly, and the first connect backfills history automatically.
OpenAI does not document a retention limit for its usage and cost endpoints, so Flowstate makes no promise about how far back the first backfill reaches — it goes as far as your organisation's data does. Both endpoints are read one day at a time, the finest granularity OpenAI offers.
If a key is rotated or revoked, the connection shows OpenAI's real error on its provider page. Use Replace key on that connection to paste a new one — there is no need to disconnect and start again, and the history stays.