curl --request POST \
--url https://{controlPlaneURL}/api/ml/v1/artifact-versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"manifest": {
"name": "<string>",
"metadata": {},
"ml_repo": "<string>",
"source": {
"type": "truefoundry",
"uri": "<string>"
},
"description": "<string>",
"version_alias": "<string>",
"version": 2,
"type": "artifact-version",
"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>",
"metadata": {},
"ml_repo": "<string>",
"source": {
"type": "truefoundry",
"uri": "<string>"
},
"description": "<string>",
"version_alias": "<string>",
"version": 2,
"type": "artifact-version",
"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 EmptyResponse · object.
Was this page helpful?