Files
Files 操作
List files
查询参数
- 类型: integerlimit最小值:1最大值:1000
Integer numbers.
- 类型: stringcursor
Use one forward cursor per request.
- 类型: stringafter
Use one forward cursor per request.
- 类型: stringafter
_id Use one forward cursor per request.
- 枚举order常量:asc值
- asc
响应
- 类型: object · FilePage200
Successful Response
- 类型: string · Cursor可为 nullcursor必填
- 类型: array object[] · Datadata必填
- created类型: string · Created At格式: date-time
_at 必填the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- downloadable类型: boolean · Downloadable必填
Whether the original bytes can be downloaded. Uploaded files cannot.
- filename类型: string · Filename必填
- id类型: string · Id必填
- mime类型: string · Mime Type
_type 必填 - size类型: integer · Size Bytes
_bytes 必填Integer numbers.
- source类型: string · Source枚举必填
Origin of the file:
uploadfor user uploads,generatedfor model outputs.值- upload
- generated
- type常量:file必填
- 类型: string · First Id可为 nullfirst
_id 必填 - 类型: boolean · Has Morehas
_more 必填 - 类型: string · Last Id可为 nulllast
_id 必填
application/json
Request Example for get/api/v1/files
curl https://openapi.felo.ai/api/v1/files \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "string",
"type": "file",
"source": "upload",
"filename": "string",
"mime_type": "string",
"size_bytes": 1,
"created_at": "2026-11-06T18:38:00.003Z",
"downloadable": true
}
],
"first_id": "string",
"last_id": "string",
"cursor": "string",
"has_more": true
}