---
title: "Upload run trace"
method: POST
path: "/run/trace/{id}"
tags: ["run"]
---

# Upload run trace

`POST /run/trace/{id}`

Uploads a run trace. Upon success, it returns the run id.

## Path parameters

- `id` number, required

## Query parameters

- `api_key` string, required

## Response `200`

Id of the run with the trace

- object
  - `upload_flow` InlineResponse20023UploadFlow
    - `id` string — ID of the run with the trace, a positive integer

## Other responses

- `412` — Precondition failed. An error code and message are returned. 561 - Problem with uploaded trace file. 562 - Problem validating xml trace file. 563 - Problem loading xml trace file.

---

[API](https://skmtc.net/openml/apis/openml-api.md) · [All operations](https://skmtc.net/openml/apis/openml-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openml/openml-api/versions/263d3d6ee586/schema)
