Files
Files Operace
Get file metadata
Parametry cesty
- Typ: string · File Idfile
_id povinné
Odpovědi
- Typ: object · FileMetadata200
Successful Response
- Typ: string · Created AtFormát: date-timecreated
_at povinnéthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Typ: boolean · Downloadabledownloadablepovinné
Whether the original bytes can be downloaded. Uploaded files cannot.
- Typ: string · Filenamefilenamepovinné
- Typ: string · Ididpovinné
- Typ: string · Mime Typemime
_type povinné - Typ: integer · Size Bytessize
_bytes povinnéInteger numbers.
- Typ: string · Sourceenumsourcepovinné
Origin of the file:
uploadfor user uploads,generatedfor model outputs.hodnoty- upload
- generated
- typeconst:filepovinné
application/json - Typ: object · HTTPValidationError422
Validation Error
- Typ: array object[] · Detaildetail
- locTyp: array · Locationpovinné
- Typ: string
- msgTyp: string · Messagepovinné
- typeTyp: string · Error Typepovinné
- ctxTyp: 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
}