---
title: "Upsert Project Instructions"
method: POST
path: "/user/projects/{project_id}/instructions"
tags: ["public"]
---

# Upsert Project Instructions

`POST /user/projects/{project_id}/instructions`

Create or update this project's instructions stored on the project itself.

## Path parameters

- `project_id` integer, required

## Request body

- UpsertProjectInstructionsRequest
  - `instructions` string, required

## Response `200`

Successful Response

- ProjectInstructionsResponse
  - `instructions` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/onyx-dot-app/apis/onyx-api.md) · [All operations](https://skmtc.net/onyx-dot-app/apis/onyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onyx-dot-app/onyx-api/versions/027af016ba5c/schema)
