Skip to main content

CodexStatusDto

Connection-health snapshot for the admin UI. When the integration is disabled, only enabled: false is meaningful; the rest are None.

authStatestringrequired

unknown | ok | unauthorized (401) | forbidden (403).

codexNamestring | nullnullable
codexVersionstring | nullnullable
enabledbooleanrequired
fetchedCountinteger,null<int64>nullable

Series pulled from Codex by the last successful sweep (superset of linked_count).

lastErrorstring | nullnullable
lastPreflightAtinteger,null<int64>nullable
lastSuccessAtinteger,null<int64>nullable
linkedCountinteger,null<int64>nullable

Series matched to a tsundoku series by the last successful sweep.

reachablebooleanrequired
recentChecks object[]required

Recent reachability transitions + manual tests, newest first. Empty when disabled or before the first probe.

  • Array [
  • checkedAtinteger<int64>required
    errorstring | nullnullable
    idinteger<int64>required

    Row id, unique within the table — a stable React key for the UI list.

    reachablebooleanrequired
    triggerstringrequired
  • ]
  • recentSyncRuns object[]required

    Recent sweep attempts (cron + manual), newest first, with the counts each produced or why it failed. Empty when disabled or before the first sweep.

  • Array [
  • errorstring | nullnullable
    fetchedCountinteger,null<int64>nullable
    idinteger<int64>required

    Row id, unique within the table — a stable React key for the UI list.

    linkedCountinteger,null<int64>nullable
    outcomestringrequired
    ranAtinteger<int64>required
    triggerstringrequired

    cron | manual.

  • ]
  • CodexStatusDto
    {
    "authState": "string",
    "codexName": "string",
    "codexVersion": "string",
    "enabled": true,
    "fetchedCount": 0,
    "lastError": "string",
    "lastPreflightAt": 0,
    "lastSuccessAt": 0,
    "linkedCount": 0,
    "reachable": true,
    "recentChecks": [
    {
    "checkedAt": 0,
    "error": "string",
    "id": 0,
    "reachable": true,
    "trigger": "string"
    }
    ],
    "recentSyncRuns": [
    {
    "error": "string",
    "fetchedCount": 0,
    "id": 0,
    "linkedCount": 0,
    "outcome": "string",
    "ranAt": 0,
    "trigger": "string"
    }
    ]
    }