API ReferenceFiles

List Files

GET
/v1/files

Authorization

bearerAuth
AuthorizationBearer <token>

Send a SimpleServe API key as Authorization: Bearer <key>.

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
cursor?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"}