Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0
Máy chủ:https://openapi.felo.ai
Thư viện client

Files

​
Files Thao tác

List files

​
Tham số truy vấn
  • limit
    Kiểu: integer
    tối thiểu:  
    1
    tối đa:  
    1000

    Integer numbers.

  • cursor
    Kiểu: string

    Use one forward cursor per request.

  • after
    Kiểu: string

    Use one forward cursor per request.

  • after_id
    Kiểu: string

    Use one forward cursor per request.

  • order
    enum
    const:  
    asc
    giá trị
    • asc
Phản hồi
  • 200
    Kiểu: object · FilePage

    Successful Response

    • cursor
      Kiểu: string · Cursorcó thể null
      bắt buộc
    • data
      Kiểu: array object[] · Data
      bắt buộc
      • created_at
        Kiểu: string · Created AtĐịnh dạng: date-time
        bắt buộc

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

      • downloadable
        Kiểu: boolean · Downloadable
        bắt buộc

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

      • filename
        Kiểu: string · Filename
        bắt buộc
      • id
        Kiểu: string · Id
        bắt buộc
      • mime_type
        Kiểu: string · Mime Type
        bắt buộc
      • size_bytes
        Kiểu: integer · Size Bytes
        bắt buộc

        Integer numbers.

      • source
        Kiểu: string · Sourceenum
        bắt buộc

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

        giá trị
        • upload
        • generated
      • type
        const:  
        file
        bắt buộc
    • first_id
      Kiểu: string · First Idcó thể null
      bắt buộc
    • has_more
      Kiểu: boolean · Has More
      bắt buộc
    • last_id
      Kiểu: string · Last Idcó thể null
      bắt buộc
    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:37:59.955Z",
      "downloadable": true
    }
  ],
  "first_id": "string",
  "last_id": "string",
  "cursor": "string",
  "has_more": true
}
List files

Cần trợ giúp?