{% extends "base.html" %} {% block title %}Settings - Supavision{% endblock %} {% block content %}
Required for infrastructure discovery and health checks.
npm install -g @anthropic-ai/claude-code
claude auth login
Authenticate requests to /api/v1/* via the x-api-key header.
{{ new_key }}
Example: curl -H "x-api-key: {{ new_key[:12] }}..." {{ request.url.scheme }}://{{ request.url.hostname }}/api/v1/health
Give your key a descriptive label so you can identify it later.
{% endif %}| Label | Created | Last used | Status | |
|---|---|---|---|---|
| {{ k.label or '(no label)' }} | {{ k.created_at }} | {% if k.last_used_at %}{{ k.last_used_at }}{% else %}Never{% endif %} | {% if k.revoked %} Revoked {% else %} Active {% endif %} | {% if not k.revoked %} {% endif %} |
No API keys yet. Generate one to access the REST API.
{% endif %}| Time | Channel | Resource | Severity | Status |
|---|---|---|---|---|
| {{ n.created_at }} | {{ n.channel }} | {{ n.resource_name or n.resource_id[:8] }} | {{ n.severity }} | {% if n.status == 'sent' %} sent {% else %} failed {% endif %} |
No notifications sent yet. Configure a Slack webhook on a resource to receive alerts.
{% endif %}