Create a sampler
Creates a standalone Loops sampler not linked to a run.
Documentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.
Body
ID of the Loops session this sampler belongs to.
Base model ID for standalone samplers (e.g., for baselines).
Maximum prompt length (in tokens) the sampler must handle. Set this to the longest prompt you plan to send. Omit to use the default for the base model.
Optional bt:// URI of an existing sampler-target checkpoint to load weights from on startup. Form: bt://loops:<run_id>/sampler_weights/<checkpoint_name>.
"bt://loops:k4q95w5/sampler_weights/step-100"
Optional Loops session ID whose deployment should be reused for this sampler. Same best-effort semantics as the run endpoint.