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

# Delete Result

> Delete the stored result for a finished request.

Results otherwise persist until the output bucket's one-day lifecycle rule
removes them. This lets a customer clear one as soon as they have downloaded
it, which is what a zero-data-retention posture actually requires.

Deleting is allowed regardless of the team's data-retention settings. Those
flags govern whether we *write* an extra copy for QA and training; they are
not a permission to delete, and gating on them would mean a retention-enabled
team could not clear its own documents.



## OpenAPI

````yaml https://www.datalab.to/openapi.json delete /api/v1/results/{request_id}
openapi: 3.1.0
info:
  title: Datalab API
  version: 0.0.1
servers:
  - url: https://www.datalab.to
    description: Datalab API
security: []
paths:
  /api/v1/results/{request_id}:
    delete:
      summary: Delete Result
      description: >-
        Delete the stored result for a finished request.


        Results otherwise persist until the output bucket's one-day lifecycle
        rule

        removes them. This lets a customer clear one as soon as they have
        downloaded

        it, which is what a zero-data-retention posture actually requires.


        Deleting is allowed regardless of the team's data-retention settings.
        Those

        flags govern whether we *write* an extra copy for QA and training; they
        are

        not a permission to delete, and gating on them would mean a
        retention-enabled

        team could not clear its own documents.
      operationId: delete_result_api_v1_results__request_id__delete
      parameters:
        - name: request_id
          in: path
          required: true
          schema:
            type: string
            title: Request Id
        - name: wos-session
          in: cookie
          required: false
          schema:
            type: string
            title: Wos-Session
        - name: datalab_active_team
          in: cookie
          required: false
          schema:
            type: string
            title: Datalab Active Team
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResultResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    DeleteResultResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the deletion was successful
          default: true
        message:
          type: string
          title: Message
          description: Confirmation message
      type: object
      required:
        - message
      title: DeleteResultResponse
      description: Response after deleting a stored request result.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````