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.955Z",
"downloadable": true
}