> ## Documentation Index
> Fetch the complete documentation index at: https://docs.base39.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar alterações do monitoramento

> Ferramenta MCP list_portfolio_item_changes da Base39.

Lista os valores anteriores e atuais dos campos alterados no item da organização autenticada. Preço: R\$ 0,00 (gratuito).

## Ferramenta

`list_portfolio_item_changes`

## Exemplo de chamada

```json theme={null}
{
  "method": "tools/call",
  "params": {
    "name": "list_portfolio_item_changes",
    "arguments": {
      "id": "mon_00000000000000000000000000000001",
      "limit": 20
    }
  }
}
```

## Exemplo de resultado

```json theme={null}
{
  "object": "list",
  "data": [
    {
      "object": "portfolio_update",
      "id": "evt_00000000000000000000000000000001",
      "item_id": "mon_00000000000000000000000000000001",
      "document": "00000000000191",
      "created_at": "2026-11-10T12:00:00.000Z",
      "changes": [
        {
          "path": "/registration/registration_status",
          "operation": "replace",
          "old_value": "ATIVA",
          "new_value": "SUSPENSA"
        }
      ]
    }
  ]
}
```

> [accordion] Parâmetros
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "limit": {
>       "default": 20,
>       "description": "Quantidade máxima de registros por página.",
>       "type": "integer",
>       "minimum": 1,
>       "maximum": 100
>     },
>     "cursor": {
>       "description": "Cursor devolvido pela página anterior.",
>       "type": "string",
>       "maxLength": 128
>     },
>     "id": {
>       "type": "string",
>       "pattern": "^mon_[a-f0-9]{32}$",
>       "description": "Identificador do item monitorado."
>     }
>   },
>   "required": [
>     "id"
>   ],
>   "additionalProperties": false,
>   "examples": [
>     {
>       "id": "mon_00000000000000000000000000000001",
>       "limit": 20
>     }
>   ]
> }
> ```

> [accordion] Resultado
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "object": {
>       "type": "string",
>       "const": "list",
>       "description": "Página de resultados."
>     },
>     "data": {
>       "type": "array",
>       "items": {
>         "type": "object",
>         "properties": {
>           "object": {
>             "type": "string",
>             "const": "portfolio_update",
>             "description": "Alteração detectada no monitoramento."
>           },
>           "id": {
>             "type": "string",
>             "pattern": "^evt_[a-f0-9]{32}$",
>             "description": "Identificador da alteração detectada."
>           },
>           "item_id": {
>             "type": "string",
>             "pattern": "^mon_[a-f0-9]{32}$",
>             "description": "Identificador do item monitorado."
>           },
>           "document": {
>             "type": "string",
>             "description": "Documento monitorado."
>           },
>           "created_at": {
>             "type": "string",
>             "format": "date-time",
>             "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
>             "description": "Data de detecção."
>           },
>           "changes": {
>             "type": "array",
>             "items": {
>               "type": "object",
>               "properties": {
>                 "path": {
>                   "type": "string",
>                   "description": "Caminho do campo alterado, como ponteiro JSON."
>                 },
>                 "operation": {
>                   "type": "string",
>                   "enum": [
>                     "add",
>                     "remove",
>                     "replace"
>                   ],
>                   "description": "Tipo de alteração."
>                 },
>                 "old_value": {
>                   "$ref": "#/$defs/__schema0"
>                 },
>                 "new_value": {
>                   "$ref": "#/$defs/__schema1"
>                 }
>               },
>               "required": [
>                 "path",
>                 "operation",
>                 "old_value",
>                 "new_value"
>               ],
>               "additionalProperties": false
>             },
>             "description": "Alterações em relação ao último ciclo completo."
>           }
>         },
>         "required": [
>           "object",
>           "id",
>           "item_id",
>           "document",
>           "created_at",
>           "changes"
>         ],
>         "additionalProperties": false
>       },
>       "description": "Alterações detectadas da página."
>     },
>     "next_cursor": {
>       "description": "Cursor para continuar; ausente ao terminar.",
>       "type": "string",
>       "maxLength": 128
>     }
>   },
>   "required": [
>     "object",
>     "data"
>   ],
>   "additionalProperties": false,
>   "examples": [
>     {
>       "object": "list",
>       "data": [
>         {
>           "object": "portfolio_update",
>           "id": "evt_00000000000000000000000000000001",
>           "item_id": "mon_00000000000000000000000000000001",
>           "document": "00000000000191",
>           "created_at": "2026-11-10T12:00:00.000Z",
>           "changes": [
>             {
>               "path": "/registration/registration_status",
>               "operation": "replace",
>               "old_value": "ATIVA",
>               "new_value": "SUSPENSA"
>             }
>           ]
>         }
>       ]
>     }
>   ],
>   "$defs": {
>     "__schema0": {
>       "description": "Valor anterior; nulo quando não existia.",
>       "anyOf": [
>         {
>           "type": "string"
>         },
>         {
>           "type": "number"
>         },
>         {
>           "type": "boolean"
>         },
>         {
>           "type": "null"
>         },
>         {
>           "type": "array",
>           "items": {
>             "$ref": "#/$defs/__schema0"
>           }
>         },
>         {
>           "type": "object",
>           "propertyNames": {
>             "type": "string"
>           },
>           "additionalProperties": {
>             "$ref": "#/$defs/__schema0"
>           }
>         }
>       ]
>     },
>     "__schema1": {
>       "description": "Novo valor; nulo quando removido.",
>       "anyOf": [
>         {
>           "type": "string"
>         },
>         {
>           "type": "number"
>         },
>         {
>           "type": "boolean"
>         },
>         {
>           "type": "null"
>         },
>         {
>           "type": "array",
>           "items": {
>             "$ref": "#/$defs/__schema1"
>           }
>         },
>         {
>           "type": "object",
>           "propertyNames": {
>             "type": "string"
>           },
>           "additionalProperties": {
>             "$ref": "#/$defs/__schema1"
>           }
>         }
>       ]
>     }
>   }
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.