Felo API PlatformFelo API Platform
v0.4.0
OpenAPI 3.1.0

Get file metadata

Server:https://openapi.felo.ai
Client-Bibliotheken

Files

​

Get file metadata

​
Pfadparameter
  • file_id
    Typ: string · File Id
    erforderlich
Antworten
  • 200
    Typ: object · FileMetadata

    Successful Response

    • created_at
      Typ: string · Created AtFormat: date-time
      erforderlich

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

    • downloadable
      Typ: boolean · Downloadable
      erforderlich

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

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

      Integer numbers.

    • source
      Typ: string · Sourceenum
      erforderlich

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

      Werte
      • upload
      • generated
    • type
      Konstante:  
      file
      erforderlich
    application/json
  • 422
    Typ: object · HTTPValidationError

    Validation Error

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

Brauchst du Hilfe?