check_auth
Check if a NOMIS API key is configured and test the 25,000-record cell limit to prevent silent data truncation when querying NOMIS.
Instructions
Report whether the server holds a NOMIS API key, and test the cell limit.
Without a key, every data request is silently capped at 25,000 records: NOMIS answers with HTTP 200 and a truncated body, no error. With a valid unique ID the cap is lifted.
Run this when a fetch reports truncation, or to confirm setup. The probe downloads one narrow column of a large query, so it takes a few seconds.
To obtain a key: sign in at nomisweb.co.uk, open My Account, and copy the
unique ID (it starts with 0x). Supply it to this server as the
NOMIS_UID environment variable, or point NOMIS_CONFIG_FILE at a
YAML file with nomis: {uid: 0x...}. The key is a password: it is never
exposed as a tool parameter and is redacted from every URL returned here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||