Files
Files Operasi
Get file metadata
Parameter Laluan
- Jenis: string · File Idfile
_id wajib
Respons
- Jenis: object · FileMetadata200
Successful Response
- Jenis: string · Created AtFormat: date-timecreated
_at wajibthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Jenis: boolean · Downloadabledownloadablewajib
Whether the original bytes can be downloaded. Uploaded files cannot.
- Jenis: string · Filenamefilenamewajib
- Jenis: string · Ididwajib
- Jenis: string · Mime Typemime
_type wajib - Jenis: integer · Size Bytessize
_bytes wajibInteger numbers.
- Jenis: string · Sourceenumsourcewajib
Origin of the file:
uploadfor user uploads,generatedfor model outputs.nilai- upload
- generated
- typeconst:filewajib
application/json - Jenis: object · HTTPValidationError422
Validation Error
- Jenis: array object[] · Detaildetail
- locJenis: array · Locationwajib
- Jenis: string
- msgJenis: string · Messagewajib
- typeJenis: string · Error Typewajib
- ctxJenis: 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
}