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

# Retry File Processing

> Retry processing a file.



## OpenAPI

````yaml /docflow/en/rest-api/openapi.bundle.yaml post /api/app-api/sip/platform/v2/file/retry
openapi: 3.0.0
info:
  title: DocFlow API
  description: >-
    DocFlow REST API, providing file upload and file processing result retrieval
    capabilities
  version: 2.8.4
servers:
  - url: https://docflow.textin.com
security:
  - ApiId: []
    SecretCode: []
paths:
  /api/app-api/sip/platform/v2/file/retry:
    post:
      summary: Retry File Processing
      description: Retry processing a file.
      operationId: retryFile
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                workspace_id:
                  type: string
                  description: Workspace ID
                  example: 1234567890
                task_id:
                  type: string
                  description: Task ID
                  example: 1234567890
                parser_params:
                  $ref: '#/components/schemas/DocumentParserParam'
              required:
                - workspace_id
                - task_id
      responses:
        '200':
          description: Successfully retried file processing
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/CodeMessage'
components:
  schemas:
    DocumentParserParam:
      type: object
      properties:
        formula_level:
          type: integer
          description: >-
            Formula recognition level (0 recognizes both display and inline
            formulas, 1 recognizes display formulas only, 2 recognizes no
            formulas)
          example: 0
        apply_merge:
          type: integer
          description: Merge cross-page paragraphs and tables (0 no, 1 yes)
          example: 1
        table_text_split_mode:
          type: integer
          description: Split text blocks crossed by table lines (0 no, 1 yes)
          example: 0
        crop_dewarp:
          type: integer
          description: Crop and dewarp (0 no, 1 yes)
          example: 0
        remove_watermark:
          type: integer
          description: Remove watermark (0 no, 1 yes)
          example: 0
        dpi:
          type: integer
          description: File resolution (144 default, 216 high precision)
          example: 144
          enum:
            - 144
            - 216
        parse_mode:
          type: string
          description: |
            Parse mode
            - `auto`: Automatic (default)
            - `scan`: Scanned document mode
            - `vlm`: VLM mode
          example: auto
          enum:
            - auto
            - scan
            - vlm
        pdf_pwd:
          type: string
          description: PDF file password for decrypting encrypted PDF files
    CodeMessage:
      type: object
      properties:
        code:
          type: integer
          description: Status code
          example: 200
        msg:
          type: string
          description: Status description
      required:
        - code
        - msg
  securitySchemes:
    ApiId:
      type: apiKey
      in: header
      name: x-ti-app-id
    SecretCode:
      type: apiKey
      in: header
      name: x-ti-secret-code

````