The project’s rules
const url = 'https://beta-api.plune.ai/v1/memory/rules?state=in_force';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://beta-api.plune.ai/v1/memory/rules?state=in_force' \ --header 'Authorization: Bearer <token>'The rules of the project’s memory (#2198), oldest accepted first: what an agent working on the project reads before it asks. Any token reads them, a read token included. state: in_force (the default), retired, or all.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”The rules
object
A rule of the project’s memory (#2198): what a person accepted, from where, and whether it is still in force.
object
Where a candidate rule came from (#2198), and its identity: one source is one candidate and one rule. answer: a person’s answer to a question; decline: the reason a person rejected a queue entry with; failure_choice (#2195): the action a person picked in a question on a failed test; report_lesson (#2193): a lesson of an approved mission report.
object
The record: a review item; for report_lesson, <the report’s review item>:<the lesson’s questionId>.
The candidate entry a person approved.
The user who approved it, in a session.
False once retired. A retired rule is kept, and is neither read by default nor exported.
Present on a retired rule.
Present on a retired rule.
Example
{ "rules": [ { "id": "6f1c2b3a-0000-4000-8000-000000002198", "text": "Which flow is the checkout: the one-page form or the three steps?\nAnswer: Three steps", "source": { "kind": "answer", "id": "6f1c2b3a-0000-4000-8000-0000000021a9" }, "reviewItemId": "6f1c2b3a-0000-4000-8000-0000000021c8", "acceptedBy": "6f1c2b3a-0000-4000-8000-0000000000a2", "acceptedAt": "2026-09-16T09:12:04.151Z", "inForce": true } ]}A state that is none of the three
object
Example generated
{ "error": "example"}No / invalid token or session