Files
Files Thao tác
Get file metadata
Tham số đường dẫn
- Kiểu: string · File Idfile
_id bắt buộc
Phản hồi
- Kiểu: object · FileMetadata200
Successful Response
- Kiểu: string · Created AtĐịnh dạng: date-timecreated
_at bắt buộcthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Kiểu: boolean · Downloadabledownloadablebắt buộc
Whether the original bytes can be downloaded. Uploaded files cannot.
- Kiểu: string · Filenamefilenamebắt buộc
- Kiểu: string · Ididbắt buộc
- Kiểu: string · Mime Typemime
_type bắt buộc - Kiểu: integer · Size Bytessize
_bytes bắt buộcInteger numbers.
- Kiểu: string · Sourceenumsourcebắt buộc
Origin of the file:
uploadfor user uploads,generatedfor model outputs.giá trị- upload
- generated
- typeconst:filebắt buộc
application/json - Kiểu: object · HTTPValidationError422
Validation Error
- Kiểu: array object[] · Detaildetail
- locKiểu: array · Locationbắt buộc
- Kiểu: string
- msgKiểu: string · Messagebắt buộc
- typeKiểu: string · Error Typebắt buộc
- ctxKiểu: 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
}