Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Artifact Version manifest.
Response
Successful Response
The response is of type object.
curl --request POST \
  --url https://{controlPlaneURL}/api/ml/v1/artifact-versions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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>"
  }
}'{}curl --request POST \
  --url https://{controlPlaneURL}/api/ml/v1/artifact-versions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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>"
  }
}'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Artifact Version manifest.
Show child attributes
Successful Response
The response is of type object.
Was this page helpful?