---
search:
  tags:
    - V1
    - GET
seo:
  description: >-
    Read an artifact revision with its full source. Supply… Reference for the
    GET /v1/projects/{projectId}/artifact-revisions endpoint in the Judgeval
    API.
sidebar:
  label: Get artifact revision
  badge: GET
title: Get artifact revision
type: openapi-operation
---
Read an artifact revision with its full source. Supply revision_id alone, or artifact_id with an exact version, or artifact_id alone for the highest version. Returns null when the revision ID or the requested version of an existing artifact is absent, and 404 when the artifact is absent.

`GET /v1/projects/{projectId}/artifact-revisions`

**Responses**

- `200` — Response for status 200

Response example, 200:

```json
{
  "revision": {
    "id": "string",
    "artifact_id": "string",
    "version": 1,
    "storage": "string",
    "filename": "string",
    "size_bytes": 0,
    "created_by": "string",
    "created_at": "string",
    "source_code": "string"
  }
}
```
