Projects

Retrieve project model permissions

Changed on

Returns model permissions for a project.

get/organization/projects/{project_id}/model_permissions

Request

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

Path parameters

project_idstring required

The ID of the project.

Response

Project model permissions retrieved successfully.

object'project.model_permissions' required

The object type, which is always project.model_permissions.

mode'allow_list' | 'deny_list' required

Whether the project uses an allowlist or a denylist.

model_idsstring[] required

The model IDs included in the model permissions policy.

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

    • info

      added the non-success response with the status