Validation & observability
Use the validation endpoint to confirm API keys are active and to surface metadata for monitoring.Checking keys at startup
Surfacing expiration alerts
Programmatic health checks
validate() executes a lightweight GET request. Schedule it in your orchestrator to confirm network reachability and authentication.
AuthError, rotate the key. Any other SimulacrumError indicates upstream issues: retry with backoff and alert your on-call channel.