Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0
服务器:https://openapi.felo.ai
客户端库

Files

​
Files 操作

List files

​
查询参数
  • limit
    类型: integer
    最小值:  
    1
    最大值:  
    1000

    Integer numbers.

  • cursor
    类型: string

    Use one forward cursor per request.

  • after
    类型: string

    Use one forward cursor per request.

  • after_id
    类型: string

    Use one forward cursor per request.

  • order
    枚举
    常量:  
    asc
    值
    • asc
响应
  • 200
    类型: object · FilePage

    Successful Response

    • cursor
      类型: string · Cursor可为 null
      必填
    • data
      类型: array object[] · Data
      必填
      • created_at
        类型: string · Created At格式: date-time
        必填

        the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

      • downloadable
        类型: boolean · Downloadable
        必填

        Whether the original bytes can be downloaded. Uploaded files cannot.

      • filename
        类型: string · Filename
        必填
      • id
        类型: string · Id
        必填
      • mime_type
        类型: string · Mime Type
        必填
      • size_bytes
        类型: integer · Size Bytes
        必填

        Integer numbers.

      • source
        类型: string · Source枚举
        必填

        Origin of the file: upload for user uploads, generated for model outputs.

        值
        • upload
        • generated
      • type
        常量:  
        file
        必填
    • first_id
      类型: string · First Id可为 null
      必填
    • has_more
      类型: boolean · Has More
      必填
    • last_id
      类型: string · Last Id可为 null
      必填
    application/json
Request Example for get/api/v1/files
curl https://openapi.felo.ai/api/v1/files \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "id": "string",
      "type": "file",
      "source": "upload",
      "filename": "string",
      "mime_type": "string",
      "size_bytes": 1,
      "created_at": "2026-11-06T18:38:00.003Z",
      "downloadable": true
    }
  ],
  "first_id": "string",
  "last_id": "string",
  "cursor": "string",
  "has_more": true
}
List files

需要帮助?