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・請求・アカウントのご質問はサポートへ。
  • Discord で Felo の開発者と交流できます。
  • 更新履歴 をご覧ください。
  • ボリューム価格や購買についてのご相談は営業窓口へ。
  • LLM での構築をお考えですか?llms.txt をご覧ください。