Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Get file metadata

เซิร์ฟเวอร์:https://openapi.felo.ai
ไลบรารีไคลเอนต์

Files

​
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 · Sourceenum
      จำเป็น

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

      ค่า
      • upload
      • generated
    • type
      const:  
      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

ต้องการความช่วยเหลือไหม