Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Get file metadata

伺服器:https://openapi.felo.ai
用戶端程式庫

Files

​

Get file metadata

​
路徑參數
  • file_id
    類型: string · File Id
    必填
回應
  • 200
    類型: object · FileMetadata

    Successful Response

    • 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
      必填
    application/json
  • 422
    類型: object · HTTPValidationError

    Validation Error

    • detail
      類型: array object[] · Detail
      • loc
        類型: array · Location
        必填
          • 類型: string
      • msg
        類型: string · Message
        必填
      • type
        類型: string · Error Type
        必填
      • ctx
        類型: 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:37:59.954Z",
  "downloadable": true
}
Get file metadata

需要協助嗎?