Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Upload a file

سرور:https://openapi.felo.ai
کتابخانه‌های کلاینت

Files

​
Files عملیات

Upload a file

​

Upload one nonempty file up to 100 MiB. Uploaded files can be referenced by ID but cannot be downloaded. Supported uploads include PDF, PNG/JPEG/GIF/WebP, MP4, audio, Office documents and UTF-8 text. Generation inputs require compatible media and model capabilities; Messages/Responses accept PDF and images only.

بدنه
الزامی
application/json
پاسخ‌ها
  • 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
Request Example for post/api/v1/files
curl https://openapi.felo.ai/api/v1/files \
  --request POST \
  --header 'Content-Type: multipart/form-data' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --form 'file=@filename'
{
  "id": "string",
  "type": "file",
  "source": "upload",
  "filename": "string",
  "mime_type": "string",
  "size_bytes": 1,
  "created_at": "2026-11-06T18:37:59.954Z",
  "downloadable": true
}
Upload a file

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

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