API reference

API reference · Organizations

One organization

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

Members, keys and the shared balance, each present only when the caller's role may read it. A plain member gets null for the money.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredintegerThe organization id.

Answer 200

The organization as this caller may see it.

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