Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Get file metadata

Máy chủ:https://openapi.felo.ai
Thư viện client

Files

​

Get file metadata

​
Tham số đường dẫn
  • file_id
    Kiểu: string · File Id
    bắt buộc
Phản hồi
  • 200
    Kiểu: object · FileMetadata

    Successful Response

    • 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
    application/json
  • 422
    Kiểu: object · HTTPValidationError

    Validation Error

    • detail
      Kiểu: array object[] · Detail
      • loc
        Kiểu: array · Location
        bắt buộc
          • Kiểu: string
      • msg
        Kiểu: string · Message
        bắt buộc
      • type
        Kiểu: string · Error Type
        bắt buộc
      • ctx
        Kiểu: object · Context
      • input
    application/json
Request Example for get/api/v1/files/{file_id}
curl 'https://openapi.felo.ai/api/v1/files/{file_id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": "string",
  "type": "file",
  "source": "upload",
  "filename": "string",
  "mime_type": "string",
  "size_bytes": 1,
  "created_at": "2026-11-06T18:38:00.003Z",
  "downloadable": true
}
Get file metadata

Cần trợ giúp?