Asset Meta
curl --request GET \
--url https://api.lightdrift.ai/v1/asset/{asset_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.lightdrift.ai/v1/asset/{asset_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.lightdrift.ai/v1/asset/{asset_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"asset_id": "isorepublic:17191",
"title": "Mini in Brooklyn",
"source": "isorepublic",
"width": 4000,
"height": 2667,
"format": "jpeg",
"file": "https://api.lightdrift.ai/v1/asset/direct/isorepublic:17191",
"thumb": "https://api.lightdrift.ai/v1/asset/direct/isorepublic:17191?v=thumb",
"rights": {
"license": "cc0",
"license_verbatim": "CC0 1.0",
"commercial": true,
"attribution_required": false,
"derivatives": true,
"share_alike": false,
"attribution": null,
"provenance_url": "https://isorepublic.com/photo/mini-in-brooklyn/",
"basis": "as-declared by source; verify for critical use"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Asset Meta
Return canonical metadata and file URLs for one indexed asset by its asset_id, including the structured rights object and available dimensions and formats. Delivery is separate from search, and returned URLs include the query ID so downloads can be attributed to their search.
GET
/
v1
/
asset
/
{asset_id}
Asset Meta
curl --request GET \
--url https://api.lightdrift.ai/v1/asset/{asset_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.lightdrift.ai/v1/asset/{asset_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.lightdrift.ai/v1/asset/{asset_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"asset_id": "isorepublic:17191",
"title": "Mini in Brooklyn",
"source": "isorepublic",
"width": 4000,
"height": 2667,
"format": "jpeg",
"file": "https://api.lightdrift.ai/v1/asset/direct/isorepublic:17191",
"thumb": "https://api.lightdrift.ai/v1/asset/direct/isorepublic:17191?v=thumb",
"rights": {
"license": "cc0",
"license_verbatim": "CC0 1.0",
"commercial": true,
"attribution_required": false,
"derivatives": true,
"share_alike": false,
"attribution": null,
"provenance_url": "https://isorepublic.com/photo/mini-in-brooklyn/",
"basis": "as-declared by source; verify for critical use"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}