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:37:59.954Z",
"downloadable": true
}