Get file details
Get file details API
GET
https://api.imagekit.io/v1/files/:fileId/details
Get all the details and attributes of the current version of the file.
Path Parameters
Name | Type | Description |
---|---|---|
fileId | string | The unique fileId of the uploaded file. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | base64 encoding of Note the colon in the end. |
Response structure and status code (application/JSON)
In case of an error, you will get an error code along with the error message. On success, you will receive a 200
status code with the file object in JSON-encoded response body.
Examples
Here is the example request to understand the API usage.
Last updated