Skip to main content
GET
/
v1
/
loops
/
deployments
cURL
curl --request GET \
--url https://api.baseten.co/v1/loops/deployments \
--header "Authorization: Bearer $BASETEN_API_KEY"
{
  "deployments": [
    {
      "id": "<string>",
      "base_model": "<string>",
      "base_url": "<string>",
      "status": {},
      "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.

Response

200 - application/json

Response for GET /v1/loops/deployments.

Returns the caller's Loops deployments whose latest status is not STOPPED (i.e. CREATED, DEPLOYING, RUNNING, or FAILED). Stopped deployments are excluded so the list is a fit-for-purpose "what's currently provisioned for me" view — the deactivate endpoint is the inverse pair.

deployments
LoopsDeploymentV1 · object[]
required

Active Loops deployments.