---
title: "Generate context prompt for scene using AI"
method: POST
path: "/admin/scenes/{id}/generate/context-prompt"
tags: ["Admin - Scenes"]
---

# Generate context prompt for scene using AI

`POST /admin/scenes/{id}/generate/context-prompt`

## Path parameters

- `id` string, required

## Response `201`

Context prompt generated successfully

- AdminGenerateContextPromptResponseDto
  - `contextPrompt` string, required

## Other responses

- `404` — Scene 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)
