Health

Get health

Liveness and server state: version, poll loop, market index, and assist configuration. No auth.

GET/healthPublic

Authorization

None. Anyone can call this endpoint.

Responses

200application/json

Successful Response

Show response attributes
statusstringrequired
versionstringrequired
poll_secondsnumberrequired

Interval of the run status poller.

poll_last_tickstring<date-time> | nullrequired

When the run status poller last completed a pass. Null until the first pass after startup.

market_index_enabledboolean | nullrequired

Whether the daily Ornn market index refresh is scheduled. Null unless the caller is signed in as the owner account.

market_index_fetched_atstring<date-time> | nullrequired

Fetch time of the newest stored market index observation. Null when nothing has been fetched or the caller is not signed in as the owner account.

assistbooleanrequired

Whether POST /v1/assist/jobspec is configured: true only when ANTHROPIC_API_KEY is set.

sourcesobject[]required

Every data source with its last successful fetch time, ordered by source id. No index values. Ornn sources appear only when the caller is signed in as the owner account.

Show child attributes
sourcestringrequired

Source id from the sources table.

last_success_atstring<date-time> | nullrequired

When the last successful fetch of this source finished. Null if never.

500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR