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

به کمک نیاز دارید؟

  • برای پرسش‌های مربوط به API، صورت‌حساب و حساب کاربری با پشتیبانی در تماس باشید.
  • با توسعه‌دهندگان Felo در Discord گفت‌وگو کنید.
  • تاریخچه تغییرات ما را ببینید.
  • به قیمت‌گذاری حجمی یا کمک در خرید نیاز دارید؟ تماس با فروش.
  • با LLM می‌سازید؟ llms.txt را بخوانید.