NAME

OpenAPI::Client::OpenAI::Path::organization-data_retention - Documentation for the /organization/data_retention path.

OPERATIONS

GET /organization/data_retention

retrieve-organization-data-retention

$client->retrieve_organization_data_retention({
    body => { ... },
});

Retrieves organization data retention controls.

Responses

200 - Organization data retention controls retrieved successfully.

Content-Type: application/json

Example:

{
   "object" : "organization.data_retention",
   "type" : "modified_abuse_monitoring"
}

POST /organization/data_retention

update-organization-data-retention

$client->update_organization_data_retention({
    body => { ... },
});

Updates organization data retention controls.

Responses

200 - Organization data retention controls updated successfully.

Content-Type: application/json

Example:

{
   "object" : "organization.data_retention",
   "type" : "modified_abuse_monitoring"
}

SCHEMAS

OrganizationDataRetention

Properties:

  • object (string, required) - The object type, which is always organization.data_retention .

    Allowed values: organization.data_retention

  • type (string, required) - The configured organization data retention type.

    Allowed values: zero_data_retention, modified_abuse_monitoring, enhanced_zero_data_retention, enhanced_modified_abuse_monitoring

UpdateOrganizationDataRetentionBody

Properties:

  • retention_type (string, required) - The desired organization data retention type.

    Allowed values: zero_data_retention, modified_abuse_monitoring, enhanced_zero_data_retention, enhanced_modified_abuse_monitoring

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2026 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.