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:37:59.954Z",
"downloadable": true
}
],
"first_id": "string",
"last_id": "string",
"cursor": "string",
"has_more": true
}