artifacts

Get Post

POST
Gets the requested artifact's information.

Request

This endpoint expects an object.
id
stringRequired
The requested artifact's ID.
version
stringOptional
The version of the artifact that needs to be fetched.

Response

This endpoint returns an object
artifact
object
version
object
The version of the artifact.
POST
1curl -X POST https://api.devrev.ai/artifacts.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "ARTIFACT-12345"
6}'
Response
1{
2 "artifact": {
3 "id": "id",
4 "created_date": "2023-01-01T12:00:00Z",
5 "display_id": "display_id",
6 "modified_date": "2023-01-01T12:00:00Z"
7 },
8 "version": {
9 "timestamp": "2023-01-01T12:00:00Z",
10 "version": "version"
11 }
12}