artifacts

Locate Post

POST
Gets the download URL for the artifact.

Request

This endpoint expects an object.
id
stringRequired
The ID of the artifact to get the URL for.
version
stringOptional
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.
POST
1curl -X POST https://api.devrev.ai/artifacts.locate \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "ARTIFACT-12345"
6}'
Response
1{
2 "url": "url",
3 "expires_at": "2023-01-01T12:00:00Z"
4}