Talk with Archie
Confirmation contract

A Write Stops for a Human

Archie does the work, but he never posts an irreversible entry on his own. When a write crosses a risk threshold he pauses and hands you a structured prompt to approve or deny.

Every way of calling Archie meets the same check. Over MCP the client asks the person before the call runs. Over REST and the SDKs the call answers HTTP 428 and runs nothing; completing it over REST is not available yet, so run a high-consequence call through MCP, or approve it in the WorkStream run.

The record

The Confirmation Object

A skill call that needs a person runs nothing and answers HTTP 428 with the code CONFIRMATION.REQUIRED. error.details holds the request: its confirmation_id, an action_summary to show the person, the consequence_level, the skill, and when it was issued and when it expires. The /api/v1/confirmations endpoints serve the approval cards inside Archie's own conversations; a skill caller does not use them.

json
{
  "error": {
    "type": "api_error",
    "code": "CONFIRMATION.REQUIRED",
    "message": "…",
    "correlation_id": "57f6c279-…",
    "details": {
      "confirmation_id": "6f1c2a4e-9d3b-4b7a-8c5e-1a2b3c4d5e6f",
      "action_summary": "workstream.advance: Advance a workstream run",
      "consequence_level": "high",
      "skill": "workstream_advance",
      "issued_at": "2026-10-21T17:25:36+00:00",
      "expires_at": "2026-10-21T17:30:36+00:00",
      "timeout_seconds": 300,
      "signature": "…",
      "reason": "missing"
    }
  },
  "correlation_id": "57f6c279-…"
}
Fields to show

What to Put in Front of the User

action_summary is the one field to put in front of the person. The others tell your code what to send back.

action_summary
string

What will happen, in words a person can read. Show it before asking for a decision.

confirmation_id
string (UUID)

The id of this confirmation request.

consequence_level
string

How serious Archie judges the action: high or critical.

skill
string

The skill the confirmation is for.

expires_at
timestamp

When the request lapses, five minutes after it was issued.

The decision

Approve or Deny

Today a REST or SDK caller cannot complete a confirmation: the step where the person confirms is not built for REST yet, so sending the call again with an Archie-Confirmation header is refused. The person confirms where Archie asks them: in an MCP client's confirmation prompt, or in a WorkStream run's approval step.

bash
# A high-consequence REST call answers 428 CONFIRMATION.REQUIRED.
# Today a REST caller cannot complete that confirmation: the person confirms
# where Archie asks them, in an MCP client's confirmation prompt or in a
# WorkStream run's approval step. Run the call through MCP (archie:workstream_advance)
# so the client can ask the person, or approve the step in the run.
Lifecycle

The Status of a Confirmation

There is nothing to poll or cancel. A request lasts five minutes; after that, or once used, call the skill again for a new one.

428 CONFIRMATION.REQUIRED
status

Nothing ran. Show the action_summary and wait for the person. details.reason says why: missing on a first call, expired or does_not_match_request on a stale or changed resend.

2xx
status

The person agreed and the call ran.

403 CONFIRMATION.INVALID
status

The confirmation_id is unknown, already used, or for another person, skill or input.

503 SAFETY.STORE_UNAVAILABLE
status

Confirmations cannot be checked right now, so nothing ran. Try again later.

Calling REST directly

Show action_summary to the person, and send them to where they can confirm: an MCP client, or the run's approval step. The person sees what will happen before it happens.