> ## Documentation Index
> Fetch the complete documentation index at: https://modelrunner.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Request Payloads

> Deletes the request's stored input/output payloads and its output media from the CDN. Irreversible. The request row itself is kept (soft purge) with `payloadsPurgedAt` set. Only terminal, already-charged requests can be purged. See the Data Retention guide for retention headers and account defaults.



## OpenAPI

````yaml /openapi.json delete /requests/{requestId}/payloads
openapi: 3.1.0
info:
  title: ModelRunner Requests API
  version: 1.0.0
  description: >-
    Endpoints to create, track, retrieve, and cancel inference requests on
    ModelRunner.
servers:
  - url: https://queue.modelrunner.run
security:
  - apiKeyAuth: []
paths:
  /requests/{requestId}/payloads:
    delete:
      summary: Delete Request Payloads
      description: >-
        Deletes the request's stored input/output payloads and its output media
        from the CDN. Irreversible. The request row itself is kept (soft purge)
        with `payloadsPurgedAt` set. Only terminal, already-charged requests can
        be purged. See the Data Retention guide for retention headers and
        account defaults.
      parameters:
        - name: requestId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Purge result.
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    type: string
                  payloads_deleted:
                    type: boolean
                  cdn_delete_results:
                    type: array
                    items:
                      type: object
                      properties:
                        url:
                          type: string
                        deleted:
                          type: boolean
                        error:
                          type:
                            - string
                            - 'null'
                      additionalProperties: true
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Authenticated, but not allowed for this caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Unknown request id, or not the caller's request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        statusCode:
          type: number
        details: {}
      required:
        - error
        - message
        - statusCode
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Use the format: Key modelrunner_key'

````