> ## Documentation Index
> Fetch the complete documentation index at: https://octo-98895abd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Restated filings

> One row per document with versao > 1, with the version it most plausibly replaced and whether SILO diffed the pair.

## Overview

One row per document with versao > 1, with the version it most plausibly replaced and whether SILO diffed the pair.

## Coverage

Coverage varies by dataset and date. [Check current dataset coverage](https://octo-98895abd.mintlify.site/api-docs/v2/operations/coverage/freshness.md) before drawing conclusions from missing data.

## Try the API

GET /events/restatements

<form>
  <details>
    <summary>Advanced options</summary>

    Include request diagnostics
    Bearer token (optional)

    The token is sent only to SILO and is not saved.
  </details>
</form>

[Request and response schema](https://octo-98895abd.mintlify.site/api-docs/v2/specs/events-restatements.json)

## Example

```bash theme={null}
curl --request GET 'https://zcjbtpxuhdekpwcxmepn.supabase.co/functions/v1/silo-api/v2/events/restatements?cnpj=33000167000101&limit=1' \
  --header "Authorization: Bearer $SILO_TOKEN"
```

## Example response

Successful response from a Pro request on 2026-11-13. This excerpt omits fields and pagination links.

```json theme={null}
{
  "data": [],
  "meta": {
    "tier": "pro"
  }
}
```

## FAQ

> [accordion] How do I check for more results?
>
> When present, follow `next_page_url` to request the next page. See [pagination and errors](https://octo-98895abd.mintlify.site/api-docs/v2/responses.md).

> [accordion] Can an agent use this data?
>
> Yes. Connect an agent through the [MCP server](https://octo-98895abd.mintlify.site/api-docs/v2/mcp.md).

[Python DataFrames](https://octo-98895abd.mintlify.site/api-docs/v2/python.md)


## OpenAPI

````yaml api-docs/v2/specs/events-restatements.json GET /events/restatements
openapi: 3.1.0
info:
  title: SILO API v2
  version: v2
  description: >-
    The v2 gateway over SILO's schema `api`: 14 resources, five shared
    parameters, one envelope and one error object. Generated from
    supabase/functions/silo-api/registry.ts by scripts/gen_openapi_v2.py; do not
    edit by hand. The original v1 API stays available until it is retired.
servers:
  - url: https://zcjbtpxuhdekpwcxmepn.supabase.co/functions/v1/silo-api/v2
    description: The silo-api Edge Function.
security:
  - {}
  - bearerAuth: []
tags:
  - name: Discovery
  - name: Markets and macro
  - name: Companies and funds
  - name: Research
paths:
  /events/restatements:
    get:
      tags:
        - Companies and funds
      summary: Restated filings
      description: >-
        One row per document with versao > 1, with the version it most plausibly
        replaced and whether SILO diffed the pair.
      operationId: v2_events_restatements
      parameters:
        - name: cnpj
          in: query
          required: false
          description: Fund CNPJ (14 digits).
          schema:
            type: string
        - name: from
          in: query
          required: false
          description: Start date (YYYY-MM-DD).
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: false
          description: End date (YYYY-MM-DD).
          schema:
            type: string
            format: date
        - name: limit
          in: query
          required: false
          description: Rows per page, subject to your tier.
          schema:
            type: integer
            minimum: 1
        - name: cursor
          in: query
          required: false
          description: Cursor from the next page URL.
          schema:
            type: string
        - name: family
          in: query
          required: false
          description: Fund family.
          schema:
            type: string
            enum:
              - all
              - fii
              - fidc
              - etf
            default: all
        - name: Authorization
          in: header
          required: false
          description: Optional Bearer token for signed-in or Pro access.
          schema:
            type: string
        - name: details
          in: query
          required: false
          description: Include request diagnostics.
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: The v2 envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope'
              example:
                data: []
                meta:
                  tier: pro
        default:
          description: >-
            The v2 error object. A SILO refusal (over_limit) keeps its message,
            hint and details verbatim.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    Envelope:
      type: object
      required:
        - data
        - meta
      properties:
        data:
          type: array
          items: {}
          description: Always a list. Rows as the endpoint returned them; null stays null.
        meta:
          type: object
          required:
            - tier
          properties:
            source:
              type: string
              description: >-
                The canonical request to cite: /v2/<resource>? with every
                applied parameter, defaults included, so it replays the same
                rows. POST says so; its lists are in meta.body.
            data_through:
              type:
                - string
                - 'null'
              format: date
              description: >-
                The newest elapsed period SILO holds for the dataset this
                endpoint reads (the coverage resource's data_through for
                coverage_dataset). Null when no coverage row applies or the
                coverage read failed; never a guess.
            coverage_dataset:
              type:
                - string
                - 'null'
              description: >-
                The coverage dataset data_through comes from; null when none
                applies.
            data_through_error:
              type: string
              description: >-
                Present only when the coverage read failed: why data_through is
                null. The rows are unaffected.
            tier:
              type: string
              enum:
                - anonymous
                - signed_in
                - pro
            tier_cap_reached:
              type: boolean
              description: True when the result is partial because of the tier cap.
          additionalProperties: true
        next_page_url:
          type: string
          description: Present only when more rows remain. It carries one opaque cursor.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - reason
            - message
            - target
            - innererror
          properties:
            code:
              type: string
              enum:
                - bad_request
                - unknown_parameter
                - unknown_id
                - unauthorized
                - payment_required
                - forbidden_for_tier
                - over_limit
                - rate_limited
                - timeout
                - unavailable
                - internal
            reason:
              type:
                - string
                - 'null'
              enum:
                - row_cap
                - tier_cap
                - null
              description: >-
                over_limit only: row_cap (over one 1,000-row page: narrow or
                page) or tier_cap (over the tier ceiling: narrow or sign in).
                Null otherwise.
            message:
              type: string
            target:
              type:
                - string
                - 'null'
            innererror:
              type: object
              properties:
                sqlstate:
                  type:
                    - string
                    - 'null'
                hint:
                  type:
                    - string
                    - 'null'
                details:
                  type:
                    - string
                    - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: SILO user access token for authenticated data requests.

````

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