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
}