Files
Files ऑपरेशन
Get file metadata
पाथ पैरामीटर
- टाइप: string · File Idfile
_id आवश्यक
responses
- टाइप: 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
}