---
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.

## Changes

- **2019-02-22** `8e2f718635ef` — 4 info
  - added the non-success response with the status `412`
  - removed the non-success response with the status `561`
  - removed the non-success response with the status `562`
  - removed the non-success response with the status `563`
- **2018-09-18** `4df86fe63217` — 1 info
  - endpoint added
- **2018-01-17** `2209d99ea36e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openml/apis/openml-api/changes/run/trace/:id/post.md)

---

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