Documentation Get help

Connect the OpenAI Platform API

Connect the OpenAI Platform API to see which people and models use it, and what each OpenAI project costs.

You need access to connect AI providers. Ask your Flowstate admin.

Before you start

  • An organisation owner in OpenAI. Only owners can create admin keys.

Connect OpenAI

  1. In OpenAI, open Settings → Organization → Admin keys and create a key.
  2. Copy it straight away. It’s only shown once.
  3. In Flowstate, go to Settings → Integrations, select Browse catalog and open OpenAI Platform API.
  4. Under How to connect, select Use this route.
  5. Paste the key and select Verify and connect.

Check it’s working

The key is listed under Connected keys with the status Working, and Data through shows a recent date. See the spend in Agent insights.

What Flowstate brings in

  • Token usage per person and per model, each day.
  • Billed cost per OpenAI project and line item, each day. OpenAI doesn’t report cost per person.
  • Flowstate syncs every hour, and brings in your history when you first connect.

If something’s not right

The connection shows Key rejected. The key was revoked or replaced in OpenAI. Create a new admin key and select Replace key on the connection. Your history stays.

ChatGPT seat costs are missing. This connection only covers the API.

Usage isn’t shown against someone. Their OpenAI email doesn’t match anyone in Flowstate. Add them or correct their email, or match them by hand under Settings → Integrations → User attribution.