artifacts

Get

GET
Gets the requested artifact's information.

Query parameters

idstringRequired
The requested artifact's ID.
versionstringOptional
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.
GET
1curl -G https://api.devrev.ai/artifacts.get \
2 -H "Authorization: <apiKey>" \
3 -d id=ARTIFACT-12345
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}