Call it
curl https://api.peume.com/v1/call/get-section-change-history \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"act_id": "your act id"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-section-change-history", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"act_id": "your act id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-section-change-history",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"act_id": "your act id"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: get-section-change-history.
Parameters
limitintegerMax changes on this page (1-200, default 50).
sinceIdintegerOnly changes with an id greater than this — the cursor for polling forward. Carry cursor from the previous page.
beforeIdintegerOnly changes with an id less than this — the cursor for walking back through history. Pass the smallest id already held.
changeKindarrayKeep only these kinds of change. Omit for all three.
orderstring'desc' (default) is newest first; 'asc' replays the section's history forward.
asc · desc
act_idRequiredstringSection identifier, e.g. 'USC_T42_C21_S1983'. Take it from a search, resolve, or divisions result — a hand-assembled id usually answers 404 because the chapter segment is not derivable from a citation.
