Files
Files Operations
Get file metadata
Path Parameters
- Type: string · File Idfile
_id required
Responses
- Type: object · FileMetadata200
Successful Response
- Type: string · Created AtFormat: date-timecreated
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: boolean · Downloadabledownloadablerequired
Whether the original bytes can be downloaded. Uploaded files cannot.
- Type: string · Filenamefilenamerequired
- Type: string · Ididrequired
- Type: string · Mime Typemime
_type required - Type: integer · Size Bytessize
_bytes requiredInteger numbers.
- Type: string · Sourceenumsourcerequired
Origin of the file:
uploadfor user uploads,generatedfor model outputs.values- upload
- generated
- typeconst:filerequired
application/json - Type: object · HTTPValidationError422
Validation Error
- Type: array object[] · Detaildetail
- locType: array · Locationrequired
- Type: string
- msgType: string · Messagerequired
- typeType: string · Error Typerequired
- ctxType: 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.954Z",
"downloadable": true
}