---
title: "List a model's deployments"
method: GET
path: "/customers/{CUSTOMER_ID}/ai/models/{MODEL_ID}/deployments"
tags: ["Manage deployments"]
---

# List a model's deployments

`GET /customers/{CUSTOMER_ID}/ai/models/{MODEL_ID}/deployments`

## Request

- Base URL: `https://commerce_studio_id.experiencemanager.lucidworks.com`
- URL: `https://commerce_studio_id.experiencemanager.lucidworks.com/customers/{CUSTOMER_ID}/ai/models/{MODEL_ID}/deployments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lucidworks/apis/rules-rewrites-api/docs/customers/:CUSTOMER_ID/ai/models/:MODEL_ID/deployments/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the list of deployments for the specified model.

## Request body

- GetModelIdDeployments: GET https://api.lucidworks.com/customers/{CUSTOMER_ID}/ai/models/{MODEL_ID}/deployments

## Response `200`

OK

- object[]
  - `id` string: The identifier for the custom model. The value is the universally unique identified (UUID) that is the primary key for the model.
  - `modelId` string: The identifier for the deployed custom model. The value is the universally unique identified (UUID) reference the foreign keys for the model.
  - `region` string: The geographic region specified when the custom model is deployed.
  - `config` DeploymentConfig
    - `parameter_1` string: A unique parameter for the model deployment that is passed to the workflow as a raw JSON blob.
    - `parameter_2` string: A unique parameter for the model deployment that is passed to the workflow as a raw JSON blob.
  - `minReplicas` integer: The minimum value of Seldon replicas for the model.
  - `maxReplicas` integer: The maximum value of Seldon replicas for the model.
  - `state` string: This field specifies the current status of the custom model. The value is `DEPLOYING` or `DEPLOYED`.
  - `deployedAt` string, date-time: The date and time the deployment occurred.
  - `createdBy` string: The user who created the deployment.

---

[API](https://skmtc.dev/lucidworks/apis/rules-rewrites-api.md) - [All operations](https://skmtc.dev/lucidworks/apis/rules-rewrites-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lucidworks/apis/rules-rewrites-api/revisions/f2d3747848e8?raw)
