Naar hoofdinhoud gaan
GET
/
v1
/
files
Lijst Bestanden
curl --request GET \
  --url https://api.olostep.com/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "data": [
    {
      "id": "<string>",
      "object": "<string>",
      "created": 123,
      "filename": "<string>",
      "bytes": 123,
      "purpose": "<string>",
      "status": "<string>"
    }
  ]
}

Autorisaties

Authorization
string
header
vereist

Bearer authenticatie header in de vorm Bearer , waarbij jouw auth token is.

Queryparameters

purpose
enum<string>

Filter bestanden op doel. Ondersteunde waarden: 'context' of 'batch'.

Beschikbare opties:
context,
batch

Respons

Succesvolle reactie met lijst van bestanden.

object
string

Het soort object. "list" voor deze endpoint.

data
object[]