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
      константа:  
      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

Нужна помощь?