Project groups

List project groups

Changed on

Lists the groups that have access to a project.

get/organization/projects/{project_id}/groups

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/projects/{project_id}/groups
  • Auth
    HTTP bearer

Path parameters

project_idstring required

The ID of the project to inspect.

Query parameters

limitinteger

A limit on the number of project groups to return. Defaults to 20.

afterstring

Cursor for pagination. Provide the ID of the last group from the previous response to fetch the next page.

order'asc' | 'desc'

Sort order for the returned groups.

Response

Project groups listed successfully.

object'list' required

Always list.

has_moreboolean required

Whether additional project group memberships are available.

nextstring nullable required

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

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