Skip to content

operation_read

Follow an operation a proposal created: what it will do, what it did, where it stands.

For agents: this page as Markdown.

Group
Operations
Granted by
listings:read
Team permission
workspace.read — any member of the team
Effect
Reads only; changes nothing.

Description

Follow an operation a proposal created: what it will do, what it did, where it stands. operation_id is required: pass the handle_id listings_edit returns, or an operation_id from operations_find. detail is summary (default), targets, or preview — never embeds every target in a summary. Read-only; org-scoped.

Parameters

Name Type Required Description
detail "preview" | "summary" | "targets" no summary (default), targets, or preview.
limit integer no Max rows per page (1-100).
offset integer no Page offset, default 0.
operation_id string yes Required. UUID of the operation: the handle_id listings_edit returns, or an operation_id from operations_find.
status string no targets: filter by target status.

Example

Arguments
{
  "operation_id": "00000000-0000-0000-0000-000000000001",
  "detail": "summary"
}
Result
{
  "result": {
    "scope": {
      "organization_id": "00000000-0000-0000-0000-000000000001"
    },
    "freshness": {
      "observed_at": "2026-10-03T00:00:00Z"
    },
    "provenance": "workspace",
    "operation_id": "00000000-0000-0000-0000-000000000001",
    "detail": "summary",
    "data": {
      "operation_id": "00000000-0000-0000-0000-000000000001",
      "status": "applied",
      "scope_count": 1
    }
  }
}

Schemas

Exactly what the server declares to MCP clients. The input_schema is what the server validates arguments against.

Input schema· 33 lines of JSON
{
  "properties": {
    "detail": {
      "description": "summary (default), targets, or preview.",
      "enum": [
        "preview",
        "summary",
        "targets"
      ],
      "type": "string"
    },
    "limit": {
      "description": "Max rows per page (1-100).",
      "type": "integer"
    },
    "offset": {
      "description": "Page offset, default 0.",
      "type": "integer"
    },
    "operation_id": {
      "description": "Required. UUID of the operation: the handle_id listings_edit returns, or an operation_id from operations_find.",
      "type": "string"
    },
    "status": {
      "description": "targets: filter by target status.",
      "type": "string"
    }
  },
  "required": [
    "operation_id"
  ],
  "type": "object"
}
Output schema· 549 lines of JSON
{
  "additionalProperties": false,
  "properties": {
    "data": {
      "description": "Shape depends on detail: summary → the operation header; targets → a page of per-listing target rows; preview → a page of per-listing stored variation consequences, review hints, and blockers. Before/after remain null when complete states were not stored.",
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "authorization": {
              "additionalProperties": false,
              "properties": {
                "authorized_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authorized_by": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "changes": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "after": {},
                  "display": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "field": {
                    "type": "string"
                  },
                  "mode": {
                    "type": "string"
                  },
                  "values_omitted": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "field",
                  "mode",
                  "after",
                  "display"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "changes_omitted": {
              "minimum": 0,
              "type": "integer"
            },
            "completed_at": {
              "format": "date-time",
              "type": [
                "string",
                "null"
              ]
            },
            "control_available": {
              "type": "boolean"
            },
            "control_state": {
              "enum": [
                "active",
                "paused",
                "cancelled"
              ],
              "type": "string"
            },
            "copy": {
              "additionalProperties": false,
              "properties": {
                "destination_shop_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "outcome_counts": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "kind": {
              "type": [
                "string",
                "null"
              ]
            },
            "operation_id": {
              "type": "string"
            },
            "policy": {
              "additionalProperties": false,
              "properties": {
                "cost_class": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "directive": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "review_hints": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "recovery_ref": {
              "description": "Pass to change_revert to undo this change.",
              "type": "string"
            },
            "revert_available": {
              "type": "boolean"
            },
            "scope_count": {
              "type": "integer"
            },
            "status": {
              "enum": [
                "proposed",
                "authorized",
                "queued",
                "executing",
                "applied",
                "partial",
                "reverted",
                "failed",
                "cancelled"
              ],
              "type": "string"
            },
            "target_counts": {
              "additionalProperties": {
                "type": "integer"
              },
              "type": "object"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "operation_id"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "next_offset": {
              "type": "integer"
            },
            "targets": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "change_report": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "error": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "error_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "error_message": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "field_changes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "after": {},
                        "before": {},
                        "display": {
                          "additionalProperties": false,
                          "properties": {
                            "after": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "before": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "before",
                            "after"
                          ],
                          "type": "object"
                        },
                        "field": {
                          "type": "string"
                        },
                        "values_omitted": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "field",
                        "before",
                        "after",
                        "display"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "listing_id": {
                    "type": "string"
                  },
                  "outcome": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "enum": [
                      "pending",
                      "applied",
                      "partial",
                      "skipped",
                      "failed"
                    ],
                    "type": "string"
                  },
                  "thumbnail": {
                    "additionalProperties": false,
                    "properties": {
                      "expires_at": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "url",
                      "expires_at"
                    ],
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "targets"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "count": {
              "type": "integer"
            },
            "destination_shop_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "limit": {
              "type": "integer"
            },
            "next_offset": {
              "type": [
                "integer",
                "null"
              ]
            },
            "offset": {
              "type": "integer"
            },
            "operation_id": {
              "type": "string"
            },
            "results": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "completed_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "destination_listing_id": {
                    "type": "string"
                  },
                  "destination_removed_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "error_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "id": {
                    "type": "string"
                  },
                  "latest_operation_id": {
                    "type": "string"
                  },
                  "origin_member_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "outcome": {
                    "type": "string"
                  },
                  "recovery": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "recovery_expires_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "root_operation_id": {
                    "type": "string"
                  },
                  "source_listing_id": {
                    "type": "string"
                  },
                  "source_removed": {
                    "type": "boolean"
                  },
                  "source_shop_id": {
                    "type": "string"
                  },
                  "source_title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "revert_available": {
              "type": "boolean"
            }
          },
          "required": [
            "operation_id",
            "revert_available",
            "count",
            "results"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "next_offset": {
              "type": "integer"
            },
            "preview": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "after": {},
                  "before": {},
                  "blockers": {
                    "type": "array"
                  },
                  "consequences": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "listing_id": {
                    "type": "string"
                  },
                  "review_hints": {
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "thumbnail": {
                    "additionalProperties": false,
                    "properties": {
                      "expires_at": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "url",
                      "expires_at"
                    ],
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "preview"
          ],
          "type": "object"
        }
      ]
    },
    "detail": {
      "enum": [
        "preview",
        "summary",
        "targets"
      ],
      "type": "string"
    },
    "freshness": {
      "additionalProperties": false,
      "properties": {
        "observed_at": {
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    },
    "operation_id": {
      "type": "string"
    },
    "provenance": {
      "type": "string"
    },
    "scope": {
      "additionalProperties": false,
      "properties": {
        "organization_id": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "scope",
    "freshness",
    "provenance",
    "operation_id",
    "detail",
    "data"
  ],
  "type": "object",
  "x-result-size-budget": {
    "description": "Summary is at most 8 KiB; at most 100 targets or preview rows per page, cut to the longest fitting prefix and paginated via next_offset",
    "max_bytes": 65536,
    "strategy": "row-pagination"
  }
}