Retrieve an artifact
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/artifacts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/artifacts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/artifacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"user": 123,
"filename": "<string>",
"storage_path": "<string>",
"bytes": 123,
"mime_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"thumbnail_base64": "<string>"
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Artifacts
Retrieve an artifact
Retrieve an artifact by ID.
GET
/
api
/
v3
/
artifacts
/
{id}
Retrieve an artifact
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/artifacts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/artifacts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/artifacts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"user": 123,
"filename": "<string>",
"storage_path": "<string>",
"bytes": 123,
"mime_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"thumbnail_base64": "<string>"
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.