Put Deployment Instructions
PUT
/api/v1/deployments/{name}/instructions
const url = 'https://aura-api-eu.strangeworks.com/api/v1/deployments/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/deployments/example/instructions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "content": "example" }'Replace the deployment’s AGENTS.md.
Deployments are company-owned and their instructions change agent behaviour for everyone who seeds from them, so this is a company write — never reachable by a user talking to the agent.
Existing projects hold a copy and do not see this until something pulls it:
POST /projects/{id}/agent-config/pull, or a checkout from this deployment.
Projects created after this write get the new text at seed time.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
Name
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" } ]}