Skip to main content
GET
/
v1
/
files
List Files
curl --request GET \
  --url http://localhost:8080/v1/files
{
  "object": "<string>",
  "data": [
    {
      "id": "<string>",
      "object": "<string>",
      "bytes": 123,
      "created_at": 123,
      "filename": "<string>",
      "purpose": "<string>",
      "status": "<string>"
    }
  ],
  "has_more": true,
  "extra_fields": "<unknown>"
}

Query Parameters

provider
string
required

The model provider

purpose
string

Filter by file purpose

limit
integer
default:20

Maximum number of files to return

Response

200 - application/json

List of files

object
string
data
object[]
has_more
boolean
extra_fields
any