Skip to main content
Decisions are the record of what your company decided: the theme, the date, the people, the decision and, when known, the reasons. A decision in effect is one your AI systems treat as settled. When the company changes its mind, a new decision replaces or cancels the old one, and the old one stays readable with what ended it. Staff users read and record decisions in AGO under Knowledge > Decisions. See Decisions.

Before you start

  • Decisions are available where Business rules is enabled for your workspace. Elsewhere, calls return 403 with code decisions_disabled.
  • Every call acts for an active staff user. For an API key, that is the user who created the key. For OAuth, it is the user who granted access. No call accepts an author: the person recording, confirming or cancelling is always that user. If they are not an active staff user, calls return 403 with code staff_principal_required.
  • Scopes: decisions:read to read every decision. decisions:write to record, edit, confirm, cancel and restore them. decisions:write includes decisions:read.
Create the key in Studio > API Keys. See API Key Authentication.

The states of a decision

Only proposed and active decisions can be edited. A decision that took effect is never deleted.

Record a decision

The call answers 201 with the decision:
A proposed decision ends nothing. The decisions it lists in replaces and cancels end when it is confirmed. recorded_by.via and confirmed_by.via name the tool used: app for AGO, api for this API, or the name an AI assistant connected through MCP reports.

Contradictions

Before recording, AGO compares the new decision with the decisions in effect closest to it. When it contradicts one, nothing is recorded and the call answers 409:
Send the call again with the contradicted decisions in replaces or cancels, or with "conflict_check": "skip" to keep both. Decisions listed in replaces and cancels are not compared. The same check runs when you change the title or decision of an existing decision. The reasons are written in English. Add ?language=fr to the call for another language. If the check cannot run, the call answers 502 with code conflict_check_failed and nothing is recorded.

Read decisions

Decisions are listed most recently decided first, 50 per page (page, page_size up to 100). The list holds the same fields as above without history. GET /api/v1/decisions/{ref} returns one decision with its history: one line per change, most recent first, with who made it and through which tool. {ref} is an ID or a reference such as D-12. GET /api/v1/decisions/themes lists the themes with the number of decisions each holds (total) and how many are in effect (active).

Edit, confirm, cancel and restore

To change what was decided, record a new decision that replaces the old one instead of rewriting its text: the log then keeps both. Once a decision in effect has replaced or cancelled another, that link cannot be removed by an edit: restore the ended decision instead.

Errors

See Errors for the error envelope.

MCP tools

AI assistants connected to the AGO MCP server get the same operations: list_decisions, get_decision, list_decision_themes, record_decision, update_decision, confirm_decision, cancel_decision, restore_decision and delete_decision. AGO also tells a connected assistant how to use them. With decisions:read, it checks the decisions in effect before proposing something they may cover, and names the decision a request contradicts. With decisions:write, it offers to record a decision you take during the conversation, and records it as active only after you explicitly said yes to its exact wording. Without your answer it records nothing, or a proposed decision you can confirm later in AGO.

Events

Workflows can start when a decision is proposed, comes into effect, is replaced or is cancelled. The workflow’s owner must be an active staff user. These events are not available to webhooks or MCP Events.