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
}