Docs

Read an Operation How-to

Updated View as Markdown

You called a durable action and kept the identity of the Operation it answered with. These steps tell you where that work stands and, once it ends, what it returned.

Before you start

Read these first if a step below is new to you.

OperationsConcept
  1. Call operation.get with the Operation's identity.
  2. Read the state. While the work waits or continues, it has not ended: read the Operation again later, or watch it to its end.
  3. Once the state shows that the work ended, read how it ended, and read the action's result where the answer carries one.
  4. Read the cost. It holds the settled amount once the work settles, and it stays empty until the charge is known.

You are done when the answer shows how the work ended, with the result and the cost you expected. If you get a refusal instead, your Mandates do not reach the action the Operation records, another Workspace holds the Operation, or the identity names no Operation you can read. The refusal is the same in each case, so ask an owner of your Workspace which one applies.

Sources

  1. Operations
  2. Workspace REST and MCP reference