go-openai icon indicating copy to clipboard operation
go-openai copied to clipboard

feat: Admin Management Functionality

Open MattDavisRV opened this issue 8 months ago • 3 comments

A similar PR may already be submitted! Please search among the Pull request before creating one.

If your changes introduce breaking changes, please prefix the title of your pull request with "[BREAKING_CHANGES]". This allows for clear identification of such changes in the 'What's Changed' section on the release page, making it developer-friendly.

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request.

Describe the change This change includes functionality to manage your Org via Admin API. This change does not include all endpoints and functionality related to the Admin API. As I have time, and if no one else has added them, I will submit another PR for the missing functionality.

Provide OpenAI documentation link Admin API Documentation

Describe your solution Implemented functionality to:

  • Manage Admin API Keys
  • Manage Organization Invites
  • Manage Organization Users
  • Manage Projects
  • Manage Project Users
  • View Organization Costs

Tests Tests have been created for all functionality added. Test methodology was copied from existing tests in the library.

Additional context I'm unsure why the Sanity checks are failing, they were locally as well, but unrelated to my changes (jsonschema).

Issue: #XXXX

MattDavisRV avatar Mar 11 '25 17:03 MattDavisRV