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.955Z",
  "downloadable": true
}
Get file metadata

צריך עזרה?