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 · Source列挙値source必須
Origin of the file:
uploadfor user uploads,generatedfor model outputs.値- upload
- generated
- type定数: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:38:00.003Z",
"downloadable": true
}