Skip to main content
POST
/
api
/
runs
/
logName
/
add
Add log names to a run
curl --request POST \
  --url https://pluto-api.trainy.ai/api/runs/logName/add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "runId": 123,
  "logName": [
    "train/loss",
    "train/accuracy"
  ],
  "logType": "METRIC"
}
'
{
  "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

logName
string[]
required

Log names to add

Example:
["train/loss", "train/accuracy"]
logType
enum<string>
required

Type of log

Available options:
METRIC,
IMAGE,
VIDEO,
AUDIO,
FILE,
TEXT,
ARTIFACT,
HISTOGRAM,
TABLE,
DATA
Example:

"METRIC"

Response

Log names added successfully

success
boolean
required