Call it
curl https://api.peume.com/v1/call/resolve-legal-citations \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"citations": []
}
}'const res = await fetch("https://api.peume.com/v1/call/resolve-legal-citations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"citations": []
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/resolve-legal-citations",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"citations": []
}
},
)
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: resolve-legal-citations.
Parameters
citationsRequiredarrayBluebook citations to resolve, e.g. ['42 U.S.C. 1983', '16 C.F.R. 444.1', 'Cal. Civ. Code 1950.5']. Duplicates are collapsed; at most 50 distinct citations per call. A pinpoint such as '42 U.S.C. 1983(b)(2)' resolves to the parent section and is echoed back in subsection.
statestringLowercase two-letter jurisdiction to resolve the whole batch within, for forms several states share ('8 CCR 1206-2' is Colorado, '22 CCR 76227' California). Omit for a batch that spans jurisdictions.
al · ak · az · ar · ca · co · ct · de · dc · fl · ga · hi …
corpusTypestringCorpus to resolve the whole batch within: STATE (statutory text), REGULATION (administrative codes), STATE_RULES (court rules), CONSTITUTION / STATE_CONSTITUTION.
CONSTITUTION · REGULATION · STATE · STATE_CONSTITUTION · STATE_RULES
