---
title: "SourceStatuses (Open Besluitvorming)"
description: "L\u00E4hteen tilat"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/openbesluitvorming/OpenBesluitvorming.Catalog.SourceStatuses
original: https://documentation.invantive.eu/en/datamodels/openbesluitvorming/OpenBesluitvorming.Catalog.SourceStatuses
updated: 2026-12-05T13:15:24Z
license: https://documentation.invantive.eu/fi/
---

# SourceStatuses: Open Besluitvorming Source Statuses

`read only` `REST`

- Luettelo: `OpenBesluitvorming`
- Kaavio: `Catalog`
- Ensisijaiset avaimet: `source_key`
- Label: Source Statuses

Voi hakea vain tietoja.

## Yhteenveto

How current the data of every source is: when the import last succeeded, whether it is failing, and how complete it is against the source system. The platform refreshes the answer every 10 minutes.

## API-lähde

- Päätepiste: `/api/status`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Arvioitu rivimäärä | 390 |
| Keskimääräinen yhteysviive (ms) | 148 |
| Täysskannausrivit minuutissa | 390 |
| Query-rivien määrä minuutissa | 58 |

## Taulukon sarakkeet

Taulukon `SourceStatuses` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `cbs_id` | `varchar2` | CBS-koodi | [ ] | suodattimet alustalla, kirjoitettavissa | The code of the organisation at Statistics Netherlands, such as GM0321. |
| `coverage_checked_at` | `datetime` | Kattavuus tarkistettu | [ ] | suodattimet alustalla, kirjoitettavissa | When the weekly comparison with the source system ran, UTC. |
| `coverage_error` | `varchar2` | Kattavuusvirhe | [ ] | suodattimet alustalla, kirjoitettavissa | Why the comparison itself failed; the four numbers are then empty, which is not the same as zero. |
| `coverage_held_documents` | `int64` | Kattavuus: Säilytetyt asiakirjat | [ ] | suodattimet alustalla, kirjoitettavissa | How many of those the platform holds. |
| `coverage_lower_bound` | `char` | Kattavuus on alaraja | [ ] | suodattimet alustalla, kirjoitettavissa | Whether part of the comparison failed, so that the gap may be larger. |
| `coverage_missing_documents` | `int64` | Puuttuvat asiakirjat | [ ] | suodattimet alustalla, kirjoitettavissa | How many of those the platform lacks. |
| `coverage_ratio` | `decimal` | Kattavuusaste | [ ] | suodattimet alustalla, kirjoitettavissa | The share held, 1 for complete; empty when the source system listed nothing. |
| `coverage_supplier_documents` | `int64` | Vakuutusturvan tarjoajan asiakirjat | [ ] | suodattimet alustalla, kirjoitettavissa | The documents the source system listed for the period. |
| `coverage_window_from` | `datetime` | Vakuutuskauden alkamispäivä | [ ] | suodattimet alustalla, kirjoitettavissa | The first day of the period compared. |
| `coverage_window_to` | `datetime` | Vakuutuskauden päättyminen | [ ] | suodattimet alustalla, kirjoitettavissa | The last day of the period compared, inclusive. |
| `discontinued_at` | `datetime` | Tuotanto lopetettu | [ ] | suodattimet alustalla, kirjoitettavissa | The day the organisation ceased to exist by a merger; only on discontinued. |
| `generated_at` | `datetime` | Luotu | [ ] | suodattimet alustalla, kirjoitettavissa | When the platform assembled the answer, UTC. |
| `indexed_documents` | `int64` | Indeksoidut asiakirjat | [ ] | suodattimet alustalla, kirjoitettavissa | The number of entries of the search index for the source.Not the number of documents of the export: measured on 2026-11-06 it was 16 to 186 percent higher. |
| `label` | `varchar2` | Nimi | [x] | suodattimet alustalla, kirjoitettavissa | Organisaation nimi. |
| `last_error_message` | `varchar2` | Viimeisin virhe | [ ] | suodattimet alustalla, kirjoitettavissa | Why the last attempt failed; empty when it did not. |
| `last_indexed_at` | `datetime` | Viimeksi indeksoitu | [ ] | suodattimet alustalla, kirjoitettavissa | When anything was last added to the search index for the source, UTC. |
| `last_run_at` | `datetime` | Viimeisin tuontiyritys | [ ] | suodattimet alustalla, kirjoitettavissa | When the last import was attempted, UTC. |
| `last_run_status` | `varchar2` | Viimeisimmän tuonnin tulos | [ ] | suodattimet alustalla, kirjoitettavissa | The outcome of the last attempt, such as succeeded, partial or failed. |
| `last_success_at` | `datetime` | Viimeisin onnistunut tuonti | [ ] | suodattimet alustalla, kirjoitettavissa | When a full import last succeeded, UTC. |
| `latest_content_date` | `datetime` | Seuraavan kokouksen päivämäärä | [ ] | suodattimet alustalla, kirjoitettavissa | The date of the newest meeting held, UTC.Often in the future: an agenda is published before the meeting. |
| `organization_type` | `varchar2` | Organisaatiotyyppi | [x] | suodattimet alustalla, kirjoitettavissa | gemeente, provincie or waterschap. |
| `source_key` | `varchar2` | Lähdeavain | [x] | suodattimet alustalla, kirjoitettavissa | The key of the source. |
| `source_ref` | `varchar2` | Lähdeviite | [ ] | suodattimet alustalla, kirjoitettavissa | The reference of the source in the platform. |
| `state` | `varchar2` | Osavaltio | [x] | suodattimet alustalla, kirjoitettavissa | ok, stale, failing, never_imported, not_implemented or discontinued. failing does not fix itself; one failed night is still ok. |
| `succeeded_by_cbs_id` | `varchar2` | Seuraava CBS-koodi | [ ] | suodattimet alustalla, kirjoitettavissa | The code at Statistics Netherlands of the organisation that took over. |
| `succeeded_by_label` | `varchar2` | Seuraaja | [ ] | suodattimet alustalla, kirjoitettavissa | The name of the organisation that took over. |
| `succeeded_by_source_key` | `varchar2` | Seuraavan lähteen avain | [ ] | suodattimet alustalla, kirjoitettavissa | The source of the organisation that took over; empty when it is not read. |
| `supplier` | `varchar2` | Toimittaja | [x] | suodattimet alustalla, kirjoitettavissa | The council information system. |
| `window_hours` | `int32` | Tilaikkuna (tuntia) | [ ] | suodattimet alustalla, kirjoitettavissa | The number of hours within which an import must have succeeded to count as ok. |
