Files
Files Operationen
Get file metadata
Pfadparameter
- Typ: string · File Idfile
_id erforderlich
Antworten
- Typ: object · FileMetadata200
Successful Response
- Typ: string · Created AtFormat: date-timecreated
_at erforderlichthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Typ: boolean · Downloadabledownloadableerforderlich
Whether the original bytes can be downloaded. Uploaded files cannot.
- Typ: string · Filenamefilenameerforderlich
- Typ: string · Ididerforderlich
- Typ: string · Mime Typemime
_type erforderlich - Typ: integer · Size Bytessize
_bytes erforderlichInteger numbers.
- Typ: string · Sourceenumsourceerforderlich
Origin of the file:
uploadfor user uploads,generatedfor model outputs.Werte- upload
- generated
- typeKonstante:fileerforderlich
application/json - Typ: object · HTTPValidationError422
Validation Error
- Typ: array object[] · Detaildetail
- locTyp: array · Locationerforderlich
- Typ: string
- msgTyp: string · Messageerforderlich
- typeTyp: string · Error Typeerforderlich
- ctxTyp: 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
}