View Source OpenAi.Operations (OpenAI REST API Client v1.0.0)
Provides API endpoints related to operations
Summary
Functions
Create an organization admin API key
Delete an organization admin API key
Retrieve a single organization API key
List organization API keys
Types
Functions
@spec admin_api_keys_create(body :: map(), opts :: keyword()) :: {:ok, OpenAi.AdminApiKey.t()} | {:error, OpenAi.Error.error()}
Create an organization admin API key
Create a new admin-level API key for the organization.
@spec admin_api_keys_delete(key_id :: String.t(), opts :: keyword()) :: {:ok, admin_api_keys_delete_200_json_resp()} | {:error, OpenAi.Error.error()}
Delete an organization admin API key
Delete the specified admin API key.
@spec admin_api_keys_get(key_id :: String.t(), opts :: keyword()) :: {:ok, OpenAi.AdminApiKey.t()} | {:error, OpenAi.Error.error()}
Retrieve a single organization API key
Get details for a specific organization API key by its ID.
@spec admin_api_keys_list(opts :: keyword()) :: {:ok, OpenAi.AdminApiKey.List.t()} | {:error, OpenAi.Error.error()}
List organization API keys
Retrieve a paginated list of organization admin API keys.
Options
afterorderlimit