Create a team sampler
Creates a standalone Loops sampler not linked to a run; the sampler belongs to the given team.
Authorizations
Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.
Path Parameters
Body
ID of the Loops session this sampler belongs to.
Capacity the sampler runs on. 'spot' allows preemption when its GPUs are reclaimed. Defaults to 'dedicated' for standalone samplers. Paired samplers inherit their run's availability model; an explicit value must match it.
dedicated, spot Base model ID for a standalone sampler (for example, a baseline).
ID of an existing run to attach this sampler to. When set, the sampler is paired to the run and weight-syncs from its trainer, and base_model is inherited from the run. Omit to create a standalone sampler.
Maximum prompt length (in tokens) the sampler must handle. Set this to the longest prompt you plan to send.
bt:// URI of an existing sampler checkpoint to serve. Form: bt://loops:<run_id>/sampler_weights/<checkpoint_name>.
"bt://loops:k4q95w5/sampler_weights/step-100"
Optional ID of a prior Loops session to reuse a trainer and/or sampler from. Deprecated.