PUT
/
api
/
svc
/
v1
/
apply
Create or Update Resources
curl --request PUT \
  --url https://{controlPlaneURL}/api/svc/v1/apply \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "manifest": "<any>",
  "dryRun": true
}'
{
  "existingManifest": "<any>",
  "action": "CREATE"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
manifest
required

manifest of the resource to be created or updated +label=MLRepo +usage=MLRepo is a repository ML training runs that log params, metrics, plots, images and versioned entities like artifacts, models, prompts, tools, agents

dryRun
boolean

Dry run the apply operation without actually applying

Response

200 - application/json

The resource has been successfully created or updated.

existingManifest

The existing manifest of the resource +label=MLRepo +usage=MLRepo is a repository ML training runs that log params, metrics, plots, images and versioned entities like artifacts, models, prompts, tools, agents

action
enum<string>

The action performed: CREATE or UPDATE

Available options:
CREATE,
UPDATE