How to track AI requests by development, staging and production

Use environment-specific workspace keys and provider projects where needed. Name owners and compare usage with deployment manifests.

Example

A staging load test should appear separately from live support traffic so its alerts do not surprise the production owner.

What to do

  1. Issue distinct credentials and store them in each environment's secret store. Use an environment field in appropriate audit records.
  2. Verify a synthetic request in each environment. Check gateway and provider records against the configured routes.
  3. Review weekly by environment and notify the owner when a request appears in the wrong project.

How to verify

You can trace each test to a unique environment and retire a staging key without affecting live traffic.

Limits

Shared upstream projects may merge bills and quotas even if gateway keys separate your internal accounting.

Spendplane for this workflow

See Teams options and available workspace regions

Related reading