Skip to main content
POST
/
api
/
runs
/
modelGraph
/
create
Create model graph
curl --request POST \
  --url https://pluto-api.trainy.ai/api/runs/modelGraph/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "runId": 123,
  "graph": {
    "format": "<string>",
    "nodes": {}
  }
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key obtained from the mlop dashboard

Body

application/json
runId
number
required

Numeric ID of the run

graph
object
required

Graph data with nodes and edges

Response

Model graph created successfully

success
boolean
required