Update Project Instructions
Projects
Update Project Instructions
Upsert the per-workspace instructions for a project owned by the user.
The trimmed value is bounded by MAX_CUSTOM_INSTRUCTIONS_LENGTH (the same
cap as the global instructions store); an over-length value is rejected
with 422 before any write. An empty or null value clears the field (stored
as NULL). user_id is always the authenticated principal’s, never the
body. Returns 404 (not 403) on a missing or cross-tenant project.
IDOR AUDIT PASS - the write is gated by ensure_project_writable’s user_id
filter and re-filtered by user_id in the WHERE clause.
PATCH
Update Project Instructions
Authorizations
EDN API key presented as 'Bearer ' in the Authorization header. Create and manage keys from the Console.
Path Parameters
Body
application/json
Response
Successful Response
