Box · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Box Platform Retention policies API

6 actions 6 updates phrasing extends openapi/box-retention-policies-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Box's API. It is a proposal applied on top of the contract, not a document Box publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/retention_policies'].get
$.paths['/retention_policies'].post
$.paths['/retention_policies/{retention_policy_id}'].get
$.paths['/retention_policies/{retention_policy_id}'].put
$.paths['/retention_policies/{retention_policy_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Box Platform Retention policies API
  version: 1.0.0
extends: openapi/box-retention-policies-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/retention_policies'].get
  update:
    x-apievangelist-phrasing:
      intent: List retention policies
      effect: read
      questions:
      - Which retention policies are set up in our enterprise?
      - Can I list only the finite retention policies?
      instructions:
      - text: List all retention policies.
      - text: List retention policies named {policy_name}.
        slots:
          policy_name: query.policy_name
      method: generated
      generated: '2026-11-16'
- target: $.paths['/retention_policies'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a retention policy
      effect: write
      questions:
      - How do I create a retention policy that deletes content after a set number of days?
      - Can a retention policy be extended by the owner of the files it covers?
      instructions:
      - text: Create a {policy_type} retention policy named {policy_name} with disposition {disposition_action}.
        slots:
          policy_type: requestBody.policy_type
          policy_name: requestBody.policy_name
          disposition_action: requestBody.disposition_action
      - text: Create retention policy {policy_name} lasting {retention_length} days.
        slots:
          policy_name: requestBody.policy_name
          retention_length: requestBody.retention_length
      method: generated
      generated: '2026-11-16'
- target: $.paths['/retention_policies/{retention_policy_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a retention policy
      effect: read
      questions:
      - What disposition action and length does a specific retention policy use?
      - Can I look up one retention policy by ID?
      instructions:
      - text: Get retention policy {retention_policy_id}.
        slots:
          retention_policy_id: path.retention_policy_id
      - text: Show the disposition action of retention policy {retention_policy_id}.
        slots:
          retention_policy_id: path.retention_policy_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/retention_policies/{retention_policy_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a retention policy
      effect: write
      questions:
      - Can I change the disposition action of an existing retention policy?
      - How do I retire a retention policy?
      instructions:
      - text: Set the disposition action of retention policy {retention_policy_id} to {disposition_action}.
        slots:
          retention_policy_id: path.retention_policy_id
          disposition_action: requestBody.disposition_action
      - text: Retire retention policy {retention_policy_id} by setting its status to {status}.
        slots:
          retention_policy_id: path.retention_policy_id
          status: requestBody.status
      method: generated
      generated: '2026-11-16'
- target: $.paths['/retention_policies/{retention_policy_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a retention policy
      effect: destructive
      questions:
      - How do I permanently delete a retention policy?
      - Can I remove a retention policy we no longer use?
      instructions:
      - text: Delete retention policy {retention_policy_id}.
        slots:
          retention_policy_id: path.retention_policy_id
      - text: Permanently remove the retention policy {retention_policy_id}.
        slots:
          retention_policy_id: path.retention_policy_id
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/box-retention-policies-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.

A second provider on the same verified email joins the account you already have.