GET
/
api
/
ml
/
v1
/
artifact-versions
/
{id}
curl --request GET \
  --url https://{controlPlaneURL}/api/ml/v1/artifact-versions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "fqn": "<string>",
    "created_by_subject": {
      "subjectId": "<string>",
      "subjectType": "user",
      "subjectSlug": "<string>",
      "subjectDisplayName": "<string>"
    },
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "manifest": {
      "name": "<string>",
      "description": "<string>",
      "metadata": {},
      "version_alias": "<string>",
      "ml_repo": "<string>",
      "version": 2,
      "type": "artifact-version",
      "source": {
        "type": "truefoundry",
        "uri": "<string>"
      },
      "step": 0,
      "run_id": "<string>"
    },
    "usage_code_snippet": "<string>",
    "ml_repo_id": "<string>",
    "artifact_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/json

Successful Response

The response is of type object.