Files
Files İşlemler
Get file metadata
Yol Parametreleri
- Tür: string · File Idfile
_id gerekli
Yanıtlar
- Tür: object · FileMetadata200
Successful Response
- Tür: string · Created AtBiçim: date-timecreated
_at gereklithe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Tür: boolean · Downloadabledownloadablegerekli
Whether the original bytes can be downloaded. Uploaded files cannot.
- Tür: string · Filenamefilenamegerekli
- Tür: string · Ididgerekli
- Tür: string · Mime Typemime
_type gerekli - Tür: integer · Size Bytessize
_bytes gerekliInteger numbers.
- Tür: string · Sourceenumsourcegerekli
Origin of the file:
uploadfor user uploads,generatedfor model outputs.değerler- upload
- generated
- typesabit:filegerekli
application/json - Tür: object · HTTPValidationError422
Validation Error
- Tür: array object[] · Detaildetail
- locTür: array · Locationgerekli
- Tür: string
- msgTür: string · Messagegerekli
- typeTür: string · Error Typegerekli
- ctxTür: 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:38:00.003Z",
"downloadable": true
}