API ReferenceFiles
List Files
Authorization
bearerAuth AuthorizationBearer <token>
Send a SimpleServe API key as Authorization: Bearer <key>.
In: header
Query Parameters
limit?integer
Range
1 <= value <= 100Default
50cursor?string
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/files"{ "data": [ { "id": "string", "object": "file", "purpose": "agent_input", "filename": "string", "media_type": "string", "size_bytes": 0, "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z" } ], "has_more": true, "next_cursor": "string"}