API reference · Credits
The details invoices are made out to
GET/api/account/billing-detailsSigned in session
Parameters
| Field | Type | What it is |
|---|---|---|
| orgId (query) | integer | A team's details instead of the account's: reading needs billing.view, changing needs billing.fund. |
Answer 200
Null when none are set.
| Field | Type | What it is |
|---|---|---|
| details | object or null | |
| details. | string | At most 200 characters. |
| details. | string or null | At most 600 characters, lines kept. |
| details. | string or null | At most 64 characters. |
Errors
- 401OpenAI 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.