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

# 查询应用列表

> 查询应用列表。查询高速版自定义抽取应用列表时，设置 ai_function=1425。



## OpenAPI

````yaml api-reference/adp-api.yaml GET /open/agentic_doc_processor/{tenant_name}/v1/app-list
openapi: 3.1.0
info:
  title: ADP API
  version: 1.0.0
  description: >-
    Laiye ADP 官方 OpenAPI
    接口规范，覆盖文档抽取、解析与转换，抽取应用管理、Webhook、人机协同、积分查询，以及工作流发现、运行、导出和文件管理。
  license:
    name: MIT
    identifier: MIT
servers:
  - url: https://adp.laiye.com
    description: ADP 生产环境
security: []
tags:
  - name: 文档抽取
    description: 从上传的文档中抽取结构化字段。
  - name: 文档解析
    description: 识别上传文档中的文字、版面块和位置信息。
  - name: 文档转换
    description: 将 PDF、Office、OFD 和图片转换为页面图片或电子表格结构。
  - name: 应用管理
    description: 创建、修改、删除和查询抽取应用及配置。
  - name: Webhook
    description: 查询事件目录并管理事件回调。
  - name: 账户
    description: 查询账户积分和使用情况。
  - name: 工作流
    description: 查询业务工作流模板、运行工作流应用并查询执行结果。
  - name: 工作流文件
    description: 上传和管理工作流应用使用的文件。
  - name: 人机协同
    description: 配置审核触发规则，查询协同任务并提交人工修正。
paths:
  /open/agentic_doc_processor/{tenant_name}/v1/app-list:
    get:
      tags:
        - 应用管理
      summary: 查询应用列表
      description: 查询应用列表。查询高速版自定义抽取应用列表时，设置 ai_function=1425。
      operationId: listExtractionApps
      parameters:
        - $ref: '#/components/parameters/TenantName'
        - name: app_name
          in: query
          required: false
          description: 按应用名称过滤，支持模糊匹配。
          schema:
            type: string
        - name: ai_function
          in: query
          required: false
          description: 按 AI 能力过滤。高速版自定义抽取应用传 1425；标准自定义抽取应用传 1406。
          schema:
            type: integer
            enum:
              - 1406
              - 1425
            default: 1425
        - name: app_type
          in: query
          required: false
          description: 应用类型。1=自定义应用，0=开箱即用。
          schema:
            type: integer
            enum:
              - 0
              - 1
        - name: with_extra
          in: query
          required: false
          description: 是否查询扩展信息。
          schema:
            type: integer
            enum:
              - 0
              - 1
            default: 1
        - name: sort[]
          in: query
          required: false
          description: 排序字段列表。字段名前加 - 表示降序，不加表示升序；默认按 updated_at 降序。
          style: form
          explode: true
          schema:
            type: array
            default:
              - '-updated_at'
            items:
              type: string
        - name: offset
          in: query
          required: false
          description: 分页偏移量。
          schema:
            type: integer
            default: 0
            minimum: 0
            maximum: 1000
        - name: limit
          in: query
          required: false
          description: 每页数量。
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 1000
      responses:
        '200':
          $ref: '#/components/responses/AppListResponse'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - ApiKeyAuth: []
components:
  parameters:
    TenantName:
      name: tenant_name
      in: path
      required: true
      description: 租户名称，默认 laiye。
      schema:
        type: string
        default: laiye
  responses:
    AppListResponse:
      description: 应用列表。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AppListResponse'
          example:
            code: success
            message: ''
            tips: null
            data:
              range:
                offset: 0
                size: 20
                total: 1
              list:
                - id: app_1425
                  app_name: 高速版发票抽取应用
                  ai_function: 1425
                  app_label:
                    - invoice
                    - high-speed
                  app_type: 1
                  created_at: '2026-04-30T10:00:00Z'
                  updated_at: '2026-04-30T10:10:00Z'
                  engine_type: extract
    ValidationError:
      description: 参数校验错误。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HTTPValidationError'
          example:
            detail:
              - type: greater_than
                loc:
                  - query
                  - limit
                msg: Input should be greater than 0
                input: 0
                ctx:
                  gt: 0
  schemas:
    AppListResponse:
      allOf:
        - $ref: '#/components/schemas/SimpleResponse'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/AppListData'
    HTTPValidationError:
      type: object
      description: FastAPI/Pydantic 请求参数校验错误。
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorItem'
      required:
        - detail
    SimpleResponse:
      type: object
      properties:
        code:
          oneOf:
            - type: string
            - type: integer
          description: 业务码。成功通常为 success 或 200。
        message:
          type: string
          description: 返回信息。
        tips:
          type:
            - string
            - 'null'
          description: 详细信息，默认为空。
    AppListData:
      type: object
      properties:
        range:
          $ref: '#/components/schemas/PaginationRange'
        list:
          type: array
          items:
            $ref: '#/components/schemas/AppListItem'
      required:
        - range
        - list
    ValidationErrorItem:
      type: object
      additionalProperties: true
      properties:
        type:
          type: string
          description: 校验错误类型。
        loc:
          type: array
          description: 错误字段在请求中的位置。
          items:
            oneOf:
              - type: string
              - type: integer
        msg:
          type: string
          description: 可读的错误说明。
        input:
          description: 导致校验失败的输入值。
        ctx:
          type: object
          additionalProperties: true
          description: 校验器提供的补充上下文。
        url:
          type: string
          format: uri
          description: Pydantic 错误说明链接。
      required:
        - type
        - loc
        - msg
    PaginationRange:
      type: object
      properties:
        offset:
          type: integer
          minimum: 0
        size:
          type: integer
          minimum: 0
        total:
          type: integer
          minimum: 0
      required:
        - offset
        - size
        - total
    AppListItem:
      type: object
      description: 应用列表中的非敏感公开字段。凭证及内部配置字段不会在公共 schema 中声明。
      properties:
        id:
          type: string
          description: 应用 ID。
        app_type:
          type: integer
          description: 应用类型。1 表示自定义应用，0 表示开箱即用。
        ai_function:
          type: integer
          description: AI 能力类型。
        app_name:
          type: string
          description: 应用名称。
        app_label:
          type:
            - array
            - 'null'
          description: 应用标签列表。
          items:
            type: string
        created_at:
          type: string
          format: date-time
          description: 创建时间。
        updated_at:
          type: string
          format: date-time
          description: 更新时间。
        engine_type:
          type: string
          description: 应用引擎类型。
      required:
        - id
        - app_type
        - ai_function
        - app_name
        - app_label
        - created_at
        - updated_at
        - engine_type
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: 生产环境 API Key，可在 ADP 平台的「我的 API」中查看。请确保 API Key 有效且属于生产环境。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.