object
string: "file"
id
uuid
itemId
uuid
fileName
string
createdAt
date
createdUserId
uuid
download
object
url
string: Download URL to the file which is valid for 10 minutes.
expiresAt
date
Endpoint: GET /v0/files/:id
curl https://api.nuclino.com/v0/files/eec0a152-b1e9-43fd-bef8-987f95c85c6e \
-H "Authorization: YOUR_API_KEY"
{
"status": "success",
"data": {
"object": "file",
"id": "eec0a152-b1e9-43fd-bef8-987f95c85c6e",
"itemId": "dd9a69db-048d-4644-8738-36bee31bbee0",
"fileName": "screenshot.png",
"createdAt": "2021-12-15T07:58:11.196Z",
"createdUserId": "2e96f3bb-c742-4164-af2c-151ab2fd346b",
"download": {
"url": "https://nuclino-files.s3.eu-central-1.amazonaws.com/a122ab11...",
"expiresAt": "2021-12-15T08:08:49.931Z"
}
}
}