For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get File Details

Get a media-library file by its asset ID and directory path, or by its S3 path.

Supply either s3Path alone, or assetId together with directoryPath. Use values returned by the library rather than constructing asset identifiers.

Requires the files:read scope.

get
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Query parameters
assetIdstring · min: 1 · max: 1024Optional
directoryPathstring · max: 1024Optional
s3Pathstring · min: 1 · max: 2048Optional
Responses
200

Successful response.

application/json
get/v1/files/lookup
GET /v1/files/lookup HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "type": "text",
    "assetId": "text",
    "directoryPath": "text",
    "name": "text",
    "extension": "text",
    "mimeType": "text",
    "sizeBytes": 1,
    "url": "text",
    "createdAt": "text",
    "modifiedAt": "text",
    "revisionsNumber": 1,
    "width": 1,
    "height": 1,
    "aspectRatio": "text"
  }
}

Last updated

Was this helpful?