artifacts

Locate

GET
Gets the download URL for the artifact.

Query parameters

idstringRequired
The ID of the artifact to get the URL for.
versionstringOptional
The version of the artifact that needs to be fetched.

Response

This endpoint returns an object
url
string
The artifact's download URL.
expires_at
datetimeOptional
The expiration timestamp of the URL.
GET
1curl -G https://api.devrev.ai/artifacts.locate \
2 -H "Authorization: <apiKey>" \
3 -d id=ARTIFACT-12345
200Retrieved
1{
2 "url": "url",
3 "expires_at": "2023-01-01T12:00:00Z"
4}