API reference

API reference · Organizations

One project's month

GET/api/orgs/{id}/projects/{projectId}Signed in session

billing.view. The budget state, spend by UTC day from the ledger for the last 30 days, and requests by model and by key from the meter for the keys filed under it now.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe crew's id.
projectId (path)requiredintegerThe project's id.

Answer 200

The project's usage.

The answer's fields are not named in the document.

Errors

  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter