Roles

List organization roles

Changed on

Lists the roles configured for the organization.

get/organization/roles

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/roles
  • Auth
    HTTP bearer

Query parameters

limitinteger

A limit on the number of roles to return. Defaults to 1000.

afterstring

Cursor for pagination. Provide the value from the previous response's next field to continue listing roles.

order'asc' | 'desc'

Sort order for the returned roles.

Response

Roles listed successfully.

object'list' required

Always list.

has_moreboolean required

Whether more roles are available when paginating.

nextstring nullable required

Cursor to fetch the next page of results, or null when there are no additional roles.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status