PUT/api/v1/workspace/pull-through-priorities
Replace the workspace pull-through priorities
Replace the whole list.
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"priorities": [
{
"from_kb": false,
"level": "must",
"text": "Margin expansion is structural, not one-off"
}
]
}
REQUEST
curl -X PUT "https://gateway.kumkuat.ai/api/v1/workspace/pull-through-priorities" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"priorities": [
{
"from_kb": false,
"level": "must",
"text": "Margin expansion is structural, not one-off"
}
]
}'
import requests
r = requests.put("https://gateway.kumkuat.ai/api/v1/workspace/pull-through-priorities", headers={"X-API-Key": "YOUR_KEY"}, json={
"priorities": [
{
"from_kb": False,
"level": "must",
"text": "Margin expansion is structural, not one-off"
}
]
})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/workspace/pull-through-priorities", {
method: "PUT",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"priorities": [
{
"from_kb": false,
"level": "must",
"text": "Margin expansion is structural, not one-off"
}
]
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"priorities": [
{
"from_kb": false,
"level": "must",
"text": "Margin expansion is structural, not one-off"
}
]
}
