Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Get file metadata

Pelayan:https://openapi.felo.ai
Pustaka Klien

Files

​

Get file metadata

​
Parameter Laluan
  • file_id
    Jenis: string · File Id
    wajib
Respons
  • 200
    Jenis: object · FileMetadata

    Successful Response

    • created_at
      Jenis: string · Created AtFormat: date-time
      wajib

      the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

    • downloadable
      Jenis: boolean · Downloadable
      wajib

      Whether the original bytes can be downloaded. Uploaded files cannot.

    • filename
      Jenis: string · Filename
      wajib
    • id
      Jenis: string · Id
      wajib
    • mime_type
      Jenis: string · Mime Type
      wajib
    • size_bytes
      Jenis: integer · Size Bytes
      wajib

      Integer numbers.

    • source
      Jenis: string · Sourceenum
      wajib

      Origin of the file: upload for user uploads, generated for model outputs.

      nilai
      • upload
      • generated
    • type
      const:  
      file
      wajib
    application/json
  • 422
    Jenis: object · HTTPValidationError

    Validation Error

    • detail
      Jenis: array object[] · Detail
      • loc
        Jenis: array · Location
        wajib
          • Jenis: string
      • msg
        Jenis: string · Message
        wajib
      • type
        Jenis: string · Error Type
        wajib
      • ctx
        Jenis: 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

Perlukan bantuan?