---
title: "Activate artifact for inference"
method: POST
path: "/v1/inference/deployments"
---

# Activate artifact for inference

`POST /v1/inference/deployments`

## Request

- Base URL: `https://api.clichefactory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clichefactory.com/v1/inference/deployments`
- Auth: none declared

## Headers

- `X-API-KEY` string, nullable

## Request body

- ActivateDeploymentRequest
  - `tenant_id` string, required
  - `project_id` string, required
  - `task_id` string
  - `environment` string
  - `artifact_id` string, required
  - `artifact_uri` string, required
  - `rollout` DeploymentRollout
    - `mode` 'immediate'

## Response `200`

Successful Response

- DeploymentResponse
  - `deployment_id` string, required
  - `status` 'active'
  - `active_artifact_id` string, required
  - `artifact_uri` string, required
  - `tenant_id` string, required
  - `project_id` string, required
  - `task_id` string
  - `environment` string, required
  - `activated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clichefactory/apis/aio-server.md) · [All operations](https://skmtc.dev/clichefactory/apis/aio-server/llms.txt) · [OpenAPI document](https://skmtc.dev/clichefactory/apis/aio-server/revisions/9bd59f9bbb31?raw)
