# Amendments

Companies amend filings, and SEC corrects and redelivers them. SEC Blast keeps every version and links each change to what it changed, so you can read the latest version, see every version, or act only on what was public at the time.

## What to call

- **A filing's original and all its amendments:** [`GET /v3/filings/{accession}/versions`](https://www.secblast.com/docs/reference/get-filings-accession-versions).
- **One row per report, with its latest version:** [`GET /v3/reports`](https://www.secblast.com/docs/reference/get-reports).
- **A list without amendments, or with only amendments:** [`GET /v3/filings`](https://www.secblast.com/docs/reference/get-filings) with `amendments=exclude` or `amendments=only` (the default is `include`).
- **Everything that happened to one filing:** [`GET /v3/filings/{accession}/events`](https://www.secblast.com/docs/reference/get-filings-accession-events).
- **Changes as they happen:** `filing.updated` and `filing.corrected` events in the [stream](https://www.secblast.com/docs/stream) and in [webhooks](https://www.secblast.com/docs/webhooks).

## Amendments and their originals

[`GET /v3/filings/{accession}/versions`](https://www.secblast.com/docs/reference/get-filings-accession-versions) gives a filing's whole chain in filing order: `amendment_seq` is 0 for the original and 1 to n for the amendments. Each member of the chain says how it was linked; the methods are listed [below](https://www.secblast.com/docs/amendments#how-amendments-are-linked).

```bash
curl -sS -H "Authorization: Bearer $SECBLAST_API_KEY" \
  'https://api.secblast.com/v3/filings/0001829126-26-010431/versions'
```

A link's `status` is `resolved`, `ambiguous` (the candidates are listed), `unresolved`, `target_not_public`, or `target_not_yet_ingested`.

## Corrections and redeliveries

When SEC delivers a filing more than once, the deliveries are merged: [`GET /v3/filings/{accession}/documents`](https://www.secblast.com/docs/reference/get-filings-accession-documents) serves, for each document, the newest delivery's copy. A changed document gets a new `ETag`, and the filing gets a `delivered` event. A correction by SEC gets a `corrected` event.

## Provisional and final

A filing's `status` is `provisional` until SEC's nightly data confirms it, then `final` ([Filing status](https://www.secblast.com/docs/data/filings#filing-status)). `accepted_at_source` says where `accepted_at` came from, and `accepted_at_snapshot` gives SEC's own value when it differs.

## Filing events

[`GET /v3/filings/{accession}/events`](https://www.secblast.com/docs/reference/get-filings-accession-events) lists what happened to a filing, oldest first; [`GET /v3/filings/{accession}`](https://www.secblast.com/docs/reference/get-filings-accession) carries the same list as `events`. Each event has its kind, its time, its `source` (the process that recorded it, such as `realtime`, `feed`, `reconcile`, or `snapshot_sync`), and its `details`.

| Event | When |
|---|---|
| `seen` | SEC Blast first observed the filing: SEC's list of new filings, or SEC's nightly data. |
| `fetched` | Live ingest downloaded and stored the complete submission. |
| `released` | A private filing was made public. |
| `finalized` | An authoritative source confirmed the filing, and its `status` became `final`. |
| `delivered` | A later delivery of the filing was merged into its documents. |
| `corrected` | Its header or documents changed, on reconciliation or by an SEC correction. |
| `accepted_changed` | The stored acceptance time changed, for example when SEC's nightly data supplies it. Details: `old`, `new`, `old_source`, `new_source`, and `reason` or `snapshot_date`. |
| `linked` | An amendment was linked to its original, or its link changed. |
| `reconciled` | A reconciliation check of the filing against SEC's sources completed. |
| `parsed` | A dataset extractor produced rows for the filing for the first time. Details: `dataset`, `extractor`, `version`, `status`. |
| `parse_changed` | A re-parse or a changed input changed, added, or removed the filing's parsed rows. Details: `dataset`, `extractor`, versions, counts. |

## How amendments are linked

| Link method | What it uses |
|---|---|
| `explicit_header` | The amendment's SEC header names the original. |
| `explicit_xml` | The filing's XML names the original (for example Schedule 13D/G). |
| `original_date` | A Form 4/A's date of the original submission. |
| `period_match` | The same filer, base form, and period of report. |
| `date_items_match` | For 8-K filings: the same event date and items. |
| `file_number` | The same SEC file number. |
