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