Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Get file metadata

Serveur:https://openapi.felo.ai
Bibliothèques clientes

Files

​

Get file metadata

​
Paramètres de chemin
  • file_id
    Type: string · File Id
    obligatoire
Réponses
  • 200
    Type: object · FileMetadata

    Successful Response

    • created_at
      Type: string · Created AtFormat: date-time
      obligatoire

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

    • downloadable
      Type: boolean · Downloadable
      obligatoire

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

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

      Integer numbers.

    • source
      Type: string · Sourceenum
      obligatoire

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

      valeurs
      • upload
      • generated
    • type
      constante:  
      file
      obligatoire
    application/json
  • 422
    Type: object · HTTPValidationError

    Validation Error

    • detail
      Type: array object[] · Detail
      • loc
        Type: array · Location
        obligatoire
          • Type: string
      • msg
        Type: string · Message
        obligatoire
      • type
        Type: string · Error Type
        obligatoire
      • ctx
        Type: 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:38:00.003Z",
  "downloadable": true
}
Get file metadata

Besoin d'aide ?