Skip to main content
GET
/
v1
/
loops
/
samplers
/
{sampler_id}
cURL
curl --request GET \
--url https://api.baseten.co/v1/loops/samplers/{sampler_id} \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "sampler": {
    "id": "<string>",
    "base_url": "<string>",
    "base_model": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "model_id": "<string>",
    "deployment_id": "<string>"
  }
}

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

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

sampler_id
string
required

Response

200 - application/json

Response for GET /v1/loops/samplers/<sampler_id>.

sampler
LoopsSamplerV1 · object
required

The Loops sampler.