Skip to main content
GET
/
platform
/
files
/
{fileId}
/
history
File action history
curl --request GET \
  --url https://api.rootkey.ai/api-v1/platform/files/{fileId}/history \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "fileId": "<string>",
      "action": "<string>",
      "status": "<string>",
      "details": {},
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "previousCursor": "<string>",
    "nextCursor": "<string>"
  },
  "metadata": {
    "fetchedCount": 123,
    "totalCount": 123,
    "serverTimestamp": "2023-11-07T05:31:56Z",
    "parameters": {
      "limit": 123,
      "cursor": "<string>",
      "order": "asc"
    }
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

fileId
string
required

Query Parameters

limit
integer
required
order
enum<string>
required
Available options:
asc,
desc
cursor
string

Response

History retrieved

data
object[]
pagination
object
metadata
object