Data retention

Retrieve project data retention

Changed on

Retrieves project data retention controls.

get/organization/projects/{project_id}/data_retention

Request

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

Path parameters

project_idstring required

The ID of the project to inspect.

Response

Project data retention controls retrieved successfully.

object'project.data_retention' required

The object type, which is always project.data_retention.

type'organization_default' | 'none' | 'zero_data_retention' | 'modified_abuse_monitoring' | 'enhanced_zero_data_retention' | 'enhanced_modified_abuse_monitoring' required

The configured project data retention type.

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 non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status