---
title: "Edit scenario prompts"
method: PUT
path: "/simulate/scenarios/{scenario_id}/prompts/"
tags: ["Scenarios"]
---

# Edit scenario prompts

`PUT /simulate/scenarios/{scenario_id}/prompts/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/scenarios/{scenario_id}/prompts/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Updates the simulator agent prompt for a scenario.

## Request body

- ScenarioEditPromptsRequest
  - `prompts` string, required

## Response `200`

OK

- ScenarioPromptsUpdateResponse
  - `message` string
  - `prompts` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
