# 数据列表接口

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /consoleapi/datasets/data-records/all:
    get:
      summary: 数据列表接口
      deprecated: false
      description: ''
      tags:
        - ✏️ 开发文档/网络接口/前台/AI知识库
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{token}}
          schema:
            type: string
            default: Bearer {{token}}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            datasetId:
                              type: string
                            fileId:
                              type: string
                            fileName:
                              type: string
                            fileType:
                              type: string
                            fileSize:
                              type: string
                            chunkCount:
                              type: integer
                            embeddingModelId:
                              type: string
                            status:
                              type: string
                            progress:
                              type: integer
                            error:
                              type: 'null'
                            createdBy:
                              type: string
                            createdAt:
                              type: string
                            updatedAt:
                              type: string
                          required:
                            - id
                            - datasetId
                            - fileId
                            - fileName
                            - fileType
                            - fileSize
                            - chunkCount
                            - embeddingModelId
                            - status
                            - progress
                            - error
                            - createdBy
                            - createdAt
                            - updatedAt
                          x-apifox-orders:
                            - id
                            - datasetId
                            - fileId
                            - fileName
                            - fileType
                            - fileSize
                            - chunkCount
                            - embeddingModelId
                            - status
                            - progress
                            - error
                            - createdBy
                            - createdAt
                            - updatedAt
                      total:
                        type: integer
                      page:
                        type: integer
                      pageSize:
                        type: integer
                      totalPages:
                        type: integer
                    required:
                      - items
                      - total
                      - page
                      - pageSize
                      - totalPages
                    x-apifox-orders:
                      - items
                      - total
                      - page
                      - pageSize
                      - totalPages
                  timestamp:
                    type: integer
                required:
                  - code
                  - message
                  - data
                  - timestamp
                x-apifox-orders:
                  - code
                  - message
                  - data
                  - timestamp
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: ✏️ 开发文档/网络接口/前台/AI知识库
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7638906/apis/api-400401911-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: http://prod-cn.your-api-server.com
    description: 正式环境
security: []

```
