---
title: "Update a model system prompt"
method: PUT
path: "/admin/models/system-prompt/{id}"
tags: ["Admin Models"]
---

# Update a model system prompt

`PUT /admin/models/system-prompt/{id}`

Update an existing model system prompt with the provided data

## Path parameters

- `id` string, required

## Request body

- UpdateModelSystemPromptDtoClass
  - `text` string — The system prompt text content
  - `status` 'IN_QUEUE' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'TIMED_OUT' — The status of the system prompt generation

## Response `200`

Model system prompt updated successfully

- UpdateModelSystemPromptResponseDto
  - `message` string, required — Success message

## Other responses

- `400` — Invalid input data
- `404` — Model system prompt not found

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
