---
title: "active model"
method: PUT
path: "/admin/model/{id}/active"
tags: ["modelkit"]
---

# active model

`PUT /admin/model/{id}/active`

## Path parameters

- `id` integer, required

## Request body

- SvcActiveModelReq
  - `active` boolean

## Response `200`

OK

- object
  - `data` object
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

---

[API](https://skmtc.dev/chaitin/apis/koalaqa-api.md) · [All operations](https://skmtc.dev/chaitin/apis/koalaqa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/koalaqa-api/revisions/29abcc05d9fd/schema)
