Skip to content

Put Project Instructions

PUT
/api/v1/projects/{project_id}/instructions
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.

project_id
required
Project Id
string
Media typeapplication/json
AgentInstructionsRequest
object
content
required
Content
string
>= 1 characters
Examplegenerated
{
"content": "example"
}

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>
ValidationError
object
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"
}
]
}