Put Project Instructions
PUT
/api/v1/projects/{project_id}/instructions
const url = 'https://aura-api-eu.strangeworks.com/api/v1/projects/example/instructions';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"content":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://aura-api-eu.strangeworks.com/api/v1/projects/example/instructions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "content": "example" }'Set this project’s own instructions, layered onto anything pulled from its deployment.
Writes only the project’s own block; the deployment’s copy is a separate object, so a project can add rules without silently dropping the deployment’s. Reachable only here — never by a user talking to the agent.
Accepted on a define-mode project deliberately, though only Run turns read it: a project reaches run mode later, and the prompt is rebuilt from storage every turn, so this is deferred rather than discarded. Rejecting it would break configuring a project before it transitions.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”project_id
required
Project Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
AgentInstructionsRequest
object
content
required
Content
string
Examplegenerated
{ "content": "example"}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
AgentInstructionsResponse
Echo of a stored write, so a caller sees exactly what took effect.
object
content
required
Content
string
Examplegenerated
{ "content": "example"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}