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 · 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

هل تحتاج إلى مساعدة؟