curl --request PUT \
--url https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'If-Match: <if-match>' \
--data '
{
"bounded_actions": [
"<string>"
],
"escalation_triggers": [
{}
],
"forbidden_actions": [
"<string>"
],
"max_autonomous_value": {}
}
'import requests
url = "https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy"
payload = {
"bounded_actions": ["<string>"],
"escalation_triggers": [{}],
"forbidden_actions": ["<string>"],
"max_autonomous_value": {}
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"If-Match": "<if-match>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
'Idempotency-Key': '<idempotency-key>',
'If-Match': '<if-match>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
bounded_actions: ['<string>'],
escalation_triggers: [{}],
forbidden_actions: ['<string>'],
max_autonomous_value: {}
})
};
fetch('https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'bounded_actions' => [
'<string>'
],
'escalation_triggers' => [
[
]
],
'forbidden_actions' => [
'<string>'
],
'max_autonomous_value' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>",
"If-Match: <if-match>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy"
payload := strings.NewReader("{\n \"bounded_actions\": [\n \"<string>\"\n ],\n \"escalation_triggers\": [\n {}\n ],\n \"forbidden_actions\": [\n \"<string>\"\n ],\n \"max_autonomous_value\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("If-Match", "<if-match>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy")
.header("Idempotency-Key", "<idempotency-key>")
.header("If-Match", "<if-match>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bounded_actions\": [\n \"<string>\"\n ],\n \"escalation_triggers\": [\n {}\n ],\n \"forbidden_actions\": [\n \"<string>\"\n ],\n \"max_autonomous_value\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["If-Match"] = '<if-match>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bounded_actions\": [\n \"<string>\"\n ],\n \"escalation_triggers\": [\n {}\n ],\n \"forbidden_actions\": [\n \"<string>\"\n ],\n \"max_autonomous_value\": {}\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"scope": "platform",
"scope_id": "<string>",
"resource": "alignment",
"primitive": "autonomy",
"value": {
"bounded_actions": [
"<string>"
],
"escalation_triggers": [
{}
],
"forbidden_actions": [
"<string>"
],
"max_autonomous_value": {}
},
"content_hash": "<string>",
"agents_flagged_for_recompose": 1,
"_warnings": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Replace autonomy settings
PUT replaces the entire autonomy block (bounded_actions[] + forbidden_actions[] + escalation_triggers[] + max_autonomous_value).
curl --request PUT \
--url https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'If-Match: <if-match>' \
--data '
{
"bounded_actions": [
"<string>"
],
"escalation_triggers": [
{}
],
"forbidden_actions": [
"<string>"
],
"max_autonomous_value": {}
}
'import requests
url = "https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy"
payload = {
"bounded_actions": ["<string>"],
"escalation_triggers": [{}],
"forbidden_actions": ["<string>"],
"max_autonomous_value": {}
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"If-Match": "<if-match>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
'Idempotency-Key': '<idempotency-key>',
'If-Match': '<if-match>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
bounded_actions: ['<string>'],
escalation_triggers: [{}],
forbidden_actions: ['<string>'],
max_autonomous_value: {}
})
};
fetch('https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'bounded_actions' => [
'<string>'
],
'escalation_triggers' => [
[
]
],
'forbidden_actions' => [
'<string>'
],
'max_autonomous_value' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>",
"If-Match: <if-match>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy"
payload := strings.NewReader("{\n \"bounded_actions\": [\n \"<string>\"\n ],\n \"escalation_triggers\": [\n {}\n ],\n \"forbidden_actions\": [\n \"<string>\"\n ],\n \"max_autonomous_value\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
req.Header.Add("If-Match", "<if-match>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy")
.header("Idempotency-Key", "<idempotency-key>")
.header("If-Match", "<if-match>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bounded_actions\": [\n \"<string>\"\n ],\n \"escalation_triggers\": [\n {}\n ],\n \"forbidden_actions\": [\n \"<string>\"\n ],\n \"max_autonomous_value\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/alignment/platform/{scope_id}/autonomy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["If-Match"] = '<if-match>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bounded_actions\": [\n \"<string>\"\n ],\n \"escalation_triggers\": [\n {}\n ],\n \"forbidden_actions\": [\n \"<string>\"\n ],\n \"max_autonomous_value\": {}\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"scope": "platform",
"scope_id": "<string>",
"resource": "alignment",
"primitive": "autonomy",
"value": {
"bounded_actions": [
"<string>"
],
"escalation_triggers": [
{}
],
"forbidden_actions": [
"<string>"
],
"max_autonomous_value": {}
},
"content_hash": "<string>",
"agents_flagged_for_recompose": 1,
"_warnings": {}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
Supabase JWT token in Authorization: Bearer header
Headers
Client-supplied idempotency token. Replays within 24 hours return the stored result verbatim. See ADR-023.
1 - 128Optimistic concurrency token. Pass the ETag from a recent GET ("sha256:<hex64>" shape). A stale ETag returns 412 Precondition Failed; a missing header returns 428 Precondition Required. See RFC 9110 §13.1.1.
^"sha256:[0-9a-f]{64}"$Path Parameters
Always default — the platform scope is a singleton; any other value returns 400 with care-framed guidance pointing at default.
default Body
Response
The autonomy primitive was updated at the platform scope.
platform alignment autonomy put, patch Show child attributes
Show child attributes
New sha256:<hex64> of the spec at this scope after the write.
x >= 0Pre-existing structural issues outside the modified primitive. Present only when the existing spec carries unrelated validation problems; never blocks the write.