Box · Capability

Box Files API — Retention Policy Assignments

Box Files API — Retention Policy Assignments. 1 operations. Lead operation: Box Get files under retention. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxRetention Policy Assignments

What You Can Do

GET
Getretentionpolicyassignmentsidfilesunderretention — Box Get files under retention
/v1/retention-policy-assignments/{retention-policy-assignment-id}/files-under-retention

MCP Tools

box-get-files-under-retention

Box Get files under retention

read-only idempotent

Capability Spec

files-retention-policy-assignments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Files API — Retention Policy Assignments
  description: 'Box Files API — Retention Policy Assignments. 1 operations. Lead operation: Box Get files under retention.
    Self-contained Naftiko capability covering one Box business surface.'
  tags:
  - Box
  - Retention Policy Assignments
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: files-retention-policy-assignments
    baseUri: ''
    description: Box Files API — Retention Policy Assignments business capability. Self-contained, no shared references.
    resources:
    - name: retention_policy_assignments-retention_policy_assignment_id-files_under_retentio
      path: /retention_policy_assignments/{retention_policy_assignment_id}/files_under_retention
      operations:
      - name: getretentionpolicyassignmentsidfilesunderretention
        method: GET
        description: Box Get files under retention
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: retention_policy_assignment_id
          in: path
          type: string
          description: The ID of the retention policy assignment.
          required: true
        - name: marker
          in: query
          type: string
          description: Defines the position marker at which to begin returning results. This is
        - name: limit
          in: query
          type: integer
          description: The maximum number of items to return per page.
  exposes:
  - type: rest
    namespace: files-retention-policy-assignments-rest
    port: 8080
    description: REST adapter for Box Files API — Retention Policy Assignments. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/retention-policy-assignments/{retention-policy-assignment-id}/files-under-retention
      name: retention-policy-assignments-retention-policy-assignment-id-files-under-retentio
      description: REST surface for retention_policy_assignments-retention_policy_assignment_id-files_under_retentio.
      operations:
      - method: GET
        name: getretentionpolicyassignmentsidfilesunderretention
        description: Box Get files under retention
        call: files-retention-policy-assignments.getretentionpolicyassignmentsidfilesunderretention
        with:
          retention_policy_assignment_id: rest.retention_policy_assignment_id
          marker: rest.marker
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: files-retention-policy-assignments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Files API — Retention Policy Assignments. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: box-get-files-under-retention
      description: Box Get files under retention
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: files-retention-policy-assignments.getretentionpolicyassignmentsidfilesunderretention
      with:
        retention_policy_assignment_id: tools.retention_policy_assignment_id
        marker: tools.marker
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.