Files
Files การดำเนินการ
Get file metadata
พารามิเตอร์ในพาธ
- ประเภท: string · File Idfile
_id จำเป็น
การตอบกลับ
- ประเภท: object · FileMetadata200
Successful Response
- ประเภท: string · Created Atรูปแบบ: date-timecreated
_at จำเป็นthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- ประเภท: boolean · Downloadabledownloadableจำเป็น
Whether the original bytes can be downloaded. Uploaded files cannot.
- ประเภท: string · Filenamefilenameจำเป็น
- ประเภท: string · Ididจำเป็น
- ประเภท: string · Mime Typemime
_type จำเป็น - ประเภท: integer · Size Bytessize
_bytes จำเป็นInteger numbers.
- ประเภท: string · Sourceenumsourceจำเป็น
Origin of the file:
uploadfor user uploads,generatedfor model outputs.ค่า- upload
- generated
- typeconst:fileจำเป็น
application/json - ประเภท: object · HTTPValidationError422
Validation Error
- ประเภท: array object[] · Detaildetail
- locประเภท: array · Locationจำเป็น
- ประเภท: string
- msgประเภท: string · Messageจำเป็น
- typeประเภท: string · Error Typeจำเป็น
- ctxประเภท: 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
}