Get File

GET/v1/files/:blobId

Retrieve metadata for a specific file using its blob ID.

Path Parameters

ParameterTypeDescription
blobIdstringThe unique blob ID of the file

Example Request

curl https://api.tuskr.dev/v1/files/abc123 \
  -H "Authorization: Bearer tsk_live_xxxx"

Response

{
  "blobId": "abc123",
  "url": "https://cdn.tuskr.dev/abc123",
  "name": "avatar.png",
  "tag": "avatar",
  "size": 204800,
  "createdAt": "2024-01-15T10:30:00Z",
  "expiresAt": "2024-02-15T10:30:00Z"
}

See Also