Docs

Orion Intelligence

Undo, accept or reject Orion Intelligence changes

Acts on Orion Intelligence changes from list_intelligence_changes (the `id` of each change): `undo` an applied change, `accept` or `reject` a suggestion, or mark changes `seen`. undo, accept and reject act on the WHOLE decision the id belongs to: one decision can show as several changes (other days, other phases or properties, each with the same decision_id), and all of them are undone, accepted or rejected together.

POST
/v1/intelligence/changes

Check the decision_id of each change before acting. Send change_id (one) or change_ids (several). Each id gets its own result { change_id, ok, status }; one failing does not stop the others (e.g. status expired for a suggestion that is no longer current).

Request parameters

Headers
Authorization string required

Your API key as a bearer token: Bearer os_…. Make one on the API keys page; see Authentication.

Body application/json
  • action enum<string> required

    undo | accept | reject | seen

    Possible values: seen undo accept reject

  • change_id string min length 1max length 128

    One change: the id of a change from list_intelligence_changes.

  • change_ids string[] min items 1max items 200each min length 1each max length 128

    Several changes: ids from list_intelligence_changes.

Response parameters

200 OK application/json
  • results object[] required

Errors

Every error answers { "error": { "code", "message" } }.

StatusCodeMeaning
400invalidInvalid input.
401unauthorizedMissing or unsupported API key.
403forbiddenNot allowed on this device or user.
429rate_limitedRate limit exceeded.
503unavailableNot available for this account.
Also an MCP tool: act_on_intelligence_changes