---
title: "PUT /v1/agents/{agent_id}/instructions"
method: PUT
path: "/v1/agents/{agent_id}/instructions"
tags: ["instructions"]
---

# PUT /v1/agents/{agent_id}/instructions

`PUT /v1/agents/{agent_id}/instructions`

## Path parameters

- `agent_id` string, uuid, required

## Request body

- UpdateInstructionsBody
  - `content` string, required
  - `source_id` string, nullable
  - `source_type` string, nullable

## Response `200`

- CancelRunResponse
  - `error` string, nullable
  - `success` boolean, required

## Other responses

- `400`

---

[API](https://skmtc.net/twin/apis/twin-api.md) · [All operations](https://skmtc.net/twin/apis/twin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twin/twin-api/revisions/a674e57c2ec4/schema)
