{% extends "base.html" %} {% block title %}API keys | {{ app_name }}{% endblock %} {% block content %}

API keys

Your agents use a key to send events and ask whether they may continue.

{% if new_key %}

Copy your new key now

This is the only time it's shown. Store it as an environment variable, not in your code.

{{ new_key }}

export AGENT_SUPRA_API_KEY="{{ new_key }}"
export AGENT_SUPRA_URL="{{ base_url }}"
{% endif %}

Create a key

{% if keys %}
{% for k in keys %} {% endfor %}
NameKeyCreatedLast used
{{ k.name }} {{ k.prefix }}_… {{ k.created_at | ago }} {{ k.last_used_at | ago if k.last_used_at else "Never" }} {% if k.revoked_at %}Revoked{% else %}
{% endif %}
{% else %}

No keys yet. Create one above to connect your first agent.

{% endif %}
{% endblock %}