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

# Create a system prompt for a model

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

Create a new system prompt for a model that does not have one yet

## Path parameters

- `id` string, required

## Request body

- CreateModelSystemPromptAdminDto
  - `text` string — Initial system prompt text
  - `status` 'IN_QUEUE' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'TIMED_OUT' — Status of the system prompt

## Response `201`

System prompt created successfully

## Other responses

- `400` — Model already has a system prompt or invalid input
- `404` — Model 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)
