---
updatedAt: 2026-04-28T11:35:37.000Z
agentTools:
  projectIndex: https://docs.arcadia.com/llms.txt
---

# List Discovered Statement Versions

List all versions of a specific Discovered Statement.

This endpoint supports [Sandbox Mode](https://docs.arcadia.com/docs/sandbox-testing).

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "description": "Plug API",
    "title": "Plug API",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.arcadia.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "description": "This API uses OAuth2 with the client credentials flow using the ['Create an Access Token'](ref:create-access-token) endpoint. API keys can be retrieved from the [Dashboard](https://dashboard.arcadia.com/).",
        "flows": {
          "clientCredentials": {
            "scopes": {},
            "tokenUrl": "/oauth2/token"
          }
        }
      }
    },
    "parameters": {
      "arcVersionInHeaderParam": {
        "name": "Arcadia-Version",
        "in": "header",
        "example": "2024-02-21",
        "description": "The Arcadia-Version for the request",
        "required": true,
        "schema": {
          "type": "string",
          "default": "2024-02-21"
        }
      }
    },
    "schemas": {
      "PageMetadata": {
        "required": [
          "number",
          "size",
          "totalElements",
          "totalPages"
        ],
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "format": "int64"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "totalElements": {
            "type": "integer",
            "format": "int64"
          },
          "totalPages": {
            "type": "integer",
            "format": "int64"
          }
        },
        "description": "Specifies which page of results to return; this is 0-indexed"
      },
      "PagedPublicDiscoveredStatementResource": {
        "type": "object",
        "properties": {
          "discoveredStatements": {
            "type": "array",
            "description": "An array of discovered statement objects.",
            "items": {
              "$ref": "#/components/schemas/PublicDiscoveredStatementResource"
            }
          },
          "page": {
            "$ref": "#/components/schemas/PageMetadata"
          }
        },
        "required": [
          "discoveredStatements",
          "page"
        ]
      },
      "PublicBusinessUnitResource": {
        "type": "object",
        "description": "A business unit assignment.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Business unit identifier.",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "Display name when visible to the caller.",
            "nullable": true
          }
        },
        "required": [
          "id",
          "name"
        ]
      },
      "PublicDiscoveredStatementResource": {
        "type": "object",
        "description": "An array of discovered statement objects.",
        "properties": {
          "accountIds": {
            "type": "array",
            "description": "List of account IDs associated with the discovered statement.",
            "items": {
              "type": "string",
              "description": "List of account IDs associated with the discovered statement."
            }
          },
          "accountNumbers": {
            "type": "array",
            "description": "An array of account identifiers provided by the commodity provider (often times the bill publisher).",
            "items": {
              "type": "string",
              "description": "An array of account identifiers provided by the commodity provider (often times the bill publisher)."
            }
          },
          "businessUnitsIntersection": {
            "type": "array",
            "description": "Intersection of Business Units across Accounts linked to this Discovered Statement.",
            "items": {
              "$ref": "#/components/schemas/PublicBusinessUnitResource"
            }
          },
          "businessUnitsUnion": {
            "type": "array",
            "description": "Union of Business Units from Accounts linked to this Discovered Statement.",
            "items": {
              "$ref": "#/components/schemas/PublicBusinessUnitResource"
            }
          },
          "correlationIds": {
            "type": "array",
            "description": "A list of correlationIds cascaded from all directly associated Credentials and Files.",
            "items": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "A timestamp indicating when the entity was created."
          },
          "credentialIds": {
            "type": "array",
            "description": "List of credential IDs associated with the discovered statement.",
            "items": {
              "type": "string",
              "description": "List of credential IDs associated with the discovered statement."
            }
          },
          "dataIngestionMethod": {
            "type": "string",
            "description": "Identifies the data ingestion method that created this Statement.",
            "enum": [
              "BILL_UPLOAD",
              "UTILITY_WEBSITE_ACCESS"
            ],
            "nullable": true
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "The due date for payment associated with the account.",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "A unique identifier for the entity."
          },
          "invoiceNumber": {
            "type": "string",
            "description": "The unique identifier or number assigned to a specific invoice.",
            "nullable": true
          },
          "isLatestVersion": {
            "type": "boolean",
            "description": "Indicates whether the Statement is the most recent versionId of the Statement."
          },
          "periodEndDate": {
            "type": "string",
            "format": "date",
            "description": "The end date of the measuring period.",
            "nullable": true
          },
          "periodStartDate": {
            "type": "string",
            "format": "date",
            "description": "The start date of the measuring period.",
            "nullable": true
          },
          "provider": {
            "$ref": "#/components/schemas/PublicProviderResource"
          },
          "sourceType": {
            "type": "string",
            "description": "The format of the data extraction source we used.",
            "enum": [
              "TAG_NAME",
              "UNCLASSIFIED",
              "HTML",
              "CSS",
              "PNG",
              "JPG",
              "GIF",
              "TIFF",
              "SVG",
              "WEBP",
              "ICO",
              "PDF",
              "JSON",
              "CSV",
              "XML",
              "XLS",
              "XLSX",
              "TXT",
              "ZIP",
              "MSOTF",
              "OTF",
              "SFNT",
              "TTF",
              "WOFF",
              "WOFF2",
              "FONT_WOFF",
              "FONT_WOFF2",
              "FONT_XWOFF",
              "FONT_TTF",
              "FONT_SFNT",
              "URJA_NODE_LIST",
              "URJA_NAV_HISTORY",
              "INSERT_BILL",
              "EDI",
              "X12",
              "EDIFACT",
              "TRADACOMS",
              "WOOT"
            ],
            "nullable": true
          },
          "statementDate": {
            "type": "string",
            "format": "date",
            "description": "The date of the discovered statement.",
            "nullable": true
          },
          "statementId": {
            "type": "string",
            "description": "The unique identifier of a statement.",
            "nullable": true
          },
          "statementType": {
            "type": "string",
            "description": "Describes the source document.",
            "enum": [
              "BILL",
              "NOTICE",
              "ADJUSTMENT",
              "PREPAID"
            ],
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Status of the discovered statement.",
            "enum": [
              "EXTRACTION_PASSED_QUALITY_CHECKS",
              "EXTRACTION_FAILED_QUALITY_CHECKS"
            ]
          },
          "versionId": {
            "type": "string",
            "description": "A unique identifier for the version of the Discovered Statement entity at a given moment in time."
          }
        },
        "required": [
          "accountIds",
          "accountNumbers",
          "businessUnitsIntersection",
          "businessUnitsUnion",
          "correlationIds",
          "createdAt",
          "credentialIds",
          "dataIngestionMethod",
          "dueDate",
          "id",
          "invoiceNumber",
          "isLatestVersion",
          "periodEndDate",
          "periodStartDate",
          "provider",
          "sourceType",
          "statementDate",
          "statementId",
          "statementType",
          "status",
          "versionId"
        ]
      },
      "PublicProviderResource": {
        "type": "object",
        "description": "The entity providing service and issuing bills (informally known as a utility).",
        "nullable": true,
        "properties": {
          "country": {
            "type": "string",
            "description": "The country associated with the billing address.",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "A unique identifier for the entity."
          },
          "intervalServiceTypes": {
            "type": "array",
            "description": "List of interval service types supported by this provider (e.g., ['electric', 'gas'])",
            "items": {
              "type": "string",
              "description": "List of interval service types supported by this provider (e.g., ['electric', 'gas'])",
              "enum": [
                "ELECTRIC",
                "GAS"
              ]
            },
            "uniqueItems": true
          },
          "isIntervalDataSupported": {
            "type": "boolean",
            "description": "Indicates whether the provider supports interval data",
            "nullable": true
          },
          "isIntervalFileUploadSupported": {
            "type": "boolean",
            "description": "Indicates whether the provider supports interval file upload",
            "nullable": true
          },
          "isRealTimeCredentialValidationSupported": {
            "type": "boolean",
            "description": "Indicates whether the provider supports credential validation"
          },
          "name": {
            "type": "string",
            "description": "The name of the utility service provider.",
            "nullable": true
          }
        },
        "required": [
          "country",
          "id",
          "intervalServiceTypes",
          "isIntervalDataSupported",
          "isIntervalFileUploadSupported",
          "isRealTimeCredentialValidationSupported",
          "name"
        ]
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    }
  ],
  "paths": {
    "/plug/discoveredStatements/{discoveredStatementId}/versions": {
      "get": {
        "description": "List all versions of a specific Discovered Statement.\n\nThis endpoint supports [Sandbox Mode](https://docs.arcadia.com/docs/sandbox-testing).",
        "operationId": "list-discovered-statement-versions",
        "parameters": [
          {
            "in": "path",
            "name": "discoveredStatementId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Zero-based page index (0..N)",
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer",
              "default": 0
            }
          },
          {
            "description": "The size of the page to be returned",
            "in": "query",
            "name": "size",
            "schema": {
              "type": "integer",
              "default": 20
            }
          },
          {
            "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
            "in": "query",
            "name": "sort",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "$ref": "#/components/parameters/arcVersionInHeaderParam"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedPublicDiscoveredStatementResource"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Discovered Statement Versions",
        "tags": [
          "Discovered Statements"
        ],
        "servers": [
          {
            "url": "https://api.arcadia.com"
          },
          {
            "url": "https://sandbox.api.arcadia.com"
          }
        ]
      }
    }
  }
}
```