Skip to main content
GET
/
files
List files uploaded in your TimelinesAI workspace
curl --request GET \
  --url https://app.timelines.ai/integrations/api/files \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "data": [
    {
      "uid": "90d353e6-44c1-48ff-b15b-69b7721e5450",
      "filename": "somefile.png",
      "size": 10000,
      "mimetype": "image/png",
      "uploaded_by_email": "john.doe@acme.com",
      "uploaded_at": "2023-06-18 15:19:23 +0300"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filename
string

a filename or any part of it (for example, extension), case insensitive . Leave empty to get unfiltered list of all uploaded files.

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object[]
required