---
title: "Changes to Sample"
method: POST
path: "/rl/training-sessions/{session_id}/operations/sample"
---

# Changes to Sample

`POST /rl/training-sessions/{session_id}/operations/sample`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 5 of 15 revisions.

- **2026-08-21** `3ad4ab328948` — 1 breaking, 2 info
- **2026-08-08** `f26a23fab8e0` — 2 info
- **2026-08-04** `ebd4756a41e4` — 1 warning
- **2026-07-31** `9ccc57e5e4b9` — 2 breaking, 3 warning, 3 info
- **2026-07-26** `0c4fdad77435` — 1 breaking, 8 info

## Changes

- **2026-08-21** `3ad4ab328948` — 1 breaking, 2 info
  - the response property `output/results/items/sequences/items/routed_experts/data` became optional for the status `200`
  - added the new optional request property `return_routed_experts_object_uri`
  - added the optional property `output/results/items/sequences/items/routed_experts/object_uri` to the response with the `200` status
- **2026-08-08** `f26a23fab8e0` — 2 info
  - added the new optional request property `return_routed_experts`
  - added the optional property `output/results/items/sequences/items/routed_experts` to the response with the `200` status
- **2026-08-04** `ebd4756a41e4` — 1 warning
  - added the new `TRAINING_OPERATION_ERROR_CODE_NON_FINITE_LOSS` enum value to the `error/code` response property for the response status `200`
- **2026-07-31** `9ccc57e5e4b9` — 2 breaking, 3 warning, 3 info
  - added the new required request property `model_inputs`
  - removed the required property `output/rollouts` from the response with the `200` status
  - removed the request property `prompts`
  - removed the request property `sampling_params/return_prompt_logprobs`
  - removed the optional property `output/policy_segments` from the response with the `200` status
  - added the new optional request property `prompt_logprobs`
  - added the new optional request property `topk_prompt_logprobs`
  - added the required property `output/results` to the response with the `200` status
- **2026-07-26** `0c4fdad77435` — 1 breaking, 8 info
  - the `output/rollouts/items/sequences/items/logprobs/items/` response's property format changed from `double` to no format for status `200`
  - added the new optional request property `sampling_params/return_prompt_logprobs`
  - the `max_tokens` request property default value changed from `100` to `512`
  - the `num_samples` request property format was generalized from `int64` to no format
  - the `sampling_params/max_tokens` request property format was generalized from `int32` to no format
  - the `sampling_params/temperature` request property format was generalized from `float` to no format
  - the `sampling_params/top_k` request property format was generalized from `int32` to no format
  - the `sampling_params/top_p` request property format was generalized from `float` to no format
  - added the optional property `output/rollouts/items/prompt_logprobs` to the response with the `200` status

---

[Operation](https://skmtc.dev/together/apis/together-apis/docs/rl/training-sessions/:session_id/operations/sample/post.md) · [API](https://skmtc.dev/together/apis/together-apis.md) · [Page](https://skmtc.dev/together/apis/together-apis/changes/rl/training-sessions/:session_id/operations/sample/post)
