---
title: "Changes to Train a custom LLM router"
method: POST
path: "/v2/pzn/trainCustomRouter"
---

# Changes to Train a custom LLM router

`POST /v2/pzn/trainCustomRouter`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-07-26** `bffaa36f5e47` — 1 breaking, 3 info

## Changes

- **2026-07-26** `bffaa36f5e47` — 1 breaking, 3 info
  - the `dataset_file` request property contentMediaType changed from `` to `application/octet-stream`
  - the `dataset_file` request property type/format was generalized from `string`/`binary` to `string`/``
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

---

[Operation](https://skmtc.dev/notdiamond/apis/not-diamond-api/docs/v2/pzn/trainCustomRouter/post.md) · [API](https://skmtc.dev/notdiamond/apis/not-diamond-api.md) · [Page](https://skmtc.dev/notdiamond/apis/not-diamond-api/changes/v2/pzn/trainCustomRouter/post)
