---
title: "Add log names to a run"
method: POST
path: "/api/runs/logName/add"
tags: ["Runs"]
---

# Add log names to a run

`POST /api/runs/logName/add`

## Request

- Base URL: `https://pluto-api.trainy.ai`
- URL: `https://pluto-api.trainy.ai/api/runs/logName/add`
- Auth: HTTP bearer

Adds new log names (metrics, console logs, etc.) to an existing run.

## Request body

- AddLogNameRequest
  - `runId` number, required: Numeric ID of the run
  - `logName` string[], required: Log names to add
  - `logType` 'METRIC' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'FILE' | 'TEXT' | 'ARTIFACT' | 'HISTOGRAM' | 'TABLE' | 'DATA', required: Type of log

## Response `200`

Log names added successfully

- Success
  - `success` boolean, required

## Other responses

- `404`: Run not found

---

[API](https://skmtc.dev/trainy/apis/mlop-api.md) - [All operations](https://skmtc.dev/trainy/apis/mlop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainy/apis/mlop-api/revisions/5d2c0b0baecb?raw)
