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

# Get Async Parse Result

> Query the processing status and results of an asynchronous parsing job via job_id.

Job statuses include:
- pending: Queued
- in_progress: Processing
- completed: Completed
- failed: Failed




## OpenAPI

````yaml api-reference/parse-async-1.3.0.openapi.yaml GET /api/v1/xparse/parse/async/{job_id}
openapi: 3.0.3
info:
  title: XParse Parse Async API
  description: >
    Standalone asynchronous API for document parsing, supporting asynchronous
    processing of document parsing tasks.


    This API is suitable for handling large files or batch files. Query
    processing status and results via job_id to avoid long waiting times.
  version: 1.0.0
  contact:
    name: TextIn API Team
servers:
  - url: https://api.textin.ai
    description: Production Environment
security:
  - AppIdAuth: []
    SecretCodeAuth: []
tags:
  - name: XParse Parse
    description: >
      Standalone asynchronous API for document parsing


      ## Features

      - 📄 Asynchronous Processing: Supports large files and batch file
      processing

      - 🔔 Webhook Support: Supports task completion callback notifications

      - 📊 Status Query: Query task status via job_id

      - ⏱️ No Timeout Limit: Avoids HTTP timeout issues


      ## Billing Information

      - Billed based on the number of pages processed

      - Billing information is associated via x-ti-app-id and x-ti-secret-code
paths:
  /api/v1/xparse/parse/async/{job_id}:
    get:
      tags:
        - XParse Parse
      summary: Query Async Parse Job Status
      description: >
        Query the processing status and results of an asynchronous parsing job
        via job_id.


        Job statuses include:

        - pending: Queued

        - in_progress: Processing

        - completed: Completed

        - failed: Failed
      operationId: getParseAsyncJobStatus
      parameters:
        - name: job_id
          in: path
          required: true
          description: Job ID
          schema:
            type: string
          example: xxx
      responses:
        '200':
          description: Job Status
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/codemessage'
                  - $ref: '#/components/schemas/JobStatusResponse'
              examples:
                pending:
                  summary: Queued
                  value:
                    code: 200
                    message: success
                    data:
                      job_id: c020a1f03c994091a94d6763cdbe0684
                      file_id: 00c685bad97544609d3607885d76bdc4
                      status: pending
                in_progress:
                  summary: Processing
                  value:
                    code: 200
                    message: success
                    data:
                      job_id: c020a1f03c994091a94d6763cdbe0684
                      file_id: 00c685bad97544609d3607885d76bdc4
                      status: in_progress
                completed:
                  summary: Completed
                  value:
                    code: 200
                    message: success
                    data:
                      job_id: c020a1f03c994091a94d6763cdbe0684
                      file_id: 00c685bad97544609d3607885d76bdc4
                      status: completed
                      result_url: https://web-api.textin.ai/file/xparse_result/xxx
                failed:
                  summary: Failed
                  value:
                    code: 200
                    message: success
                    data:
                      job_id: c020a1f03c994091a94d6763cdbe0684
                      file_id: 00c685bad97544609d3607885d76bdc4
                      status: failed
                      message: error message
components:
  schemas:
    codemessage:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          default: 200
          description: >
            Status code

            - 200: Success

            - 40101: x-ti-app-id or x-ti-secret-code is empty

            - 40102: x-ti-app-id or x-ti-secret-code is invalid, authentication
            failed

            - 40004: Parameter error, please check technical documentation and
            verify parameters

            - 500: Internal server error


            For more detailed error information, refer to [Error Code
            Description](/xparse/v1/parse-response#常见错误码).
          enum:
            - 200
            - 40101
            - 40102
            - 40004
            - 500
        message:
          type: string
          description: Error message
          example: success
    JobStatusResponse:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/JobStatusData'
    JobStatusData:
      type: object
      required:
        - job_id
        - file_id
        - status
      properties:
        job_id:
          type: string
          description: Job ID
          example: c020a1f03c994091a94d6763cdbe0684
        file_id:
          type: string
          description: File ID
          example: 00c685bad97544609d3607885d76bdc4
        status:
          type: string
          description: |
            Job status
            - pending: Queued
            - in_progress: Processing
            - completed: Completed
            - failed: Failed
          enum:
            - pending
            - in_progress
            - completed
            - failed
          example: completed
        result_url:
          type: string
          description: >
            Result download URL (returned only when status is completed)


            The parsing result can be downloaded via this URL. The result format
            is consistent with the synchronous API.
          example: https://web-api.textin.ai/file/xparse_result/xxx
        message:
          type: string
          description: Error message (returned only when status is failed)
          example: error message
  securitySchemes:
    AppIdAuth:
      type: apiKey
      in: header
      name: x-ti-app-id
      description: >-
        Please [log in to
        TextIn](https://www.textin.ai/console/dashboard/setting) and navigate to
        "Console - API Keys" to view x-ti-app-id
    SecretCodeAuth:
      type: apiKey
      in: header
      name: x-ti-secret-code
      description: >-
        Please [log in to
        TextIn](https://www.textin.ai/console/dashboard/setting) and navigate to
        "Console - API Keys" to view x-ti-secret-code

````