Skip to content

CLI reference — Credential Health

Generated by bun run generate:cli-reference from spec/admin-api-openapi.json. Do not hand-edit — regenerate after refreshing the spec.

Every operation below is documented CLI-first (nayaone-admin api <operationId>) per PRD-407/DO-7. The REST /admin-api/* method+path is the fallback/alternative integration option.

4 operations in this area.

List rows from cloud_credential_health (PRD-203 Phase C). Filterable by severity + provider.

CLI (preferred):

Terminal window
nayaone-admin api adminGetCredentialHealth

REST fallback: GET /admin-api/credential-health

Return the static manifest of credential references the platform tracks (PRD-203 Phase C).

CLI (preferred):

Terminal window
nayaone-admin api adminGetCredentialHealthManifest

REST fallback: GET /admin-api/credential-health/manifest

Return the last N cred_health_drifted AE events from the Analytics Engine SQL API (PRD-203 Phase G.6).

CLI (preferred):

Terminal window
nayaone-admin api adminListCredentialHealthRecentDrifts

REST fallback: GET /admin-api/credential-health/recent-drifts

Run probes for every manifest entry and upsert outcomes into cloud_credential_health (PRD-203 Phase C). Daily cron + on-demand admin button.

CLI (preferred):

Terminal window
nayaone-admin api adminRefreshCredentialHealth --body '{}'

REST fallback: POST /admin-api/credential-health/refresh