Generated by API Evangelist
Written by API Evangelist tooling for Sonatype's API. It is a proposal applied on top of the contract, not a document Sonatype publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Sonatype Data Retention Policies API
version: 1.0.0
extends: openapi/sonatype-data-retention-policies-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-28'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api/v2/dataRetentionPolicies/organizations/{organizationId}'].get
update:
x-apievangelist-phrasing:
intent: View an organization's data retention policies
effect: read
questions:
- How long does IQ Server keep application reports and success metrics before deleting them?
- Can I see the data retention settings for one organization?
instructions:
- text: Show the data retention policies for organization {organizationId}.
slots:
organizationId: path.organizationId
- text: List how long reports and metrics are retained in {organizationId}.
slots:
organizationId: path.organizationId
method: generated
generated: '2026-11-28'
- target: $.paths['/api/v2/dataRetentionPolicies/organizations/{organizationId}'].put
update:
x-apievangelist-phrasing:
intent: Set an organization's data retention policies
effect: write
questions:
- How do I change how long IQ Server keeps application reports?
- Can I set a different retention period for success metrics?
instructions:
- text: Set application report retention to {applicationReports} in organization {organizationId}.
slots:
applicationReports: requestBody.applicationReports
organizationId: path.organizationId
- text: Set success metrics retention to {successMetrics} for {organizationId}.
slots:
successMetrics: requestBody.successMetrics
organizationId: path.organizationId
method: generated
generated: '2026-11-28'
- target: $.paths['/api/v2/dataRetentionPolicies/organizations/{organizationId}/parent'].get
update:
x-apievangelist-phrasing:
intent: View the parent organization's retention policies
effect: read
questions:
- What data retention settings does my parent organization use?
- How long does the parent keep application reports?
instructions:
- text: Show the parent organization's data retention policies for {organizationId}.
slots:
organizationId: path.organizationId
- text: Get the inherited retention settings of {organizationId}'s parent.
slots:
organizationId: path.organizationId
method: generated
generated: '2026-11-28'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.