{% extends 'base.html' %} {% from "macros.html" import render_selectable_table, render_pagination %} {% block title %}Active License Usage{% endblock %} {% block content_title %}Active License Usage{% endblock %} {% block content_description %}Overview of the current license period usage{% endblock %} {% block content %} {% if active_period and active_period.license_usage %}
License Information

License ID: {{ active_period.license.id }}

License Name: {{ active_period.license.name }}

Period Nr: {{ active_period.period_number }}

Start Date: {{ active_period.period_start }}

End Date: {{ active_period.period_end }}

Status: {{ active_period.status.value }}

License Details for Period

Max Storage: {{ active_period.max_storage_mb }} MB

Included Embedding: {{ active_period.included_embedding_mb }} MB

Included Interaction Tokens: {{ active_period.included_interaction_tokens }}

Overage Storage Allowed: {{ active_period.additional_storage_allowed }}

Overage Embedding Allowed: {{ active_period.additional_embedding_allowed }}

Overage Interaction Allowed: {{ active_period.additional_interaction_allowed }}

Storage Usage

{{ usage_data.storage_percent }}%

{{ usage_data.storage_used_rounded or 0.0 }} / {{ active_period.max_storage_mb or 0 }} MB

Embedding Usage

{{ usage_data.embedding_percent }}%

{{ usage_data.embedding_used_rounded or 0.0 }} / {{ active_period.included_embedding_mb or 0 }} MB

Interaction Usage

{{ usage_data.interaction_percent }}%

{{ usage_data.interaction_used_rounded or 0.0 }} / {{ active_period.included_interaction_tokens or 0 }} M tokens

{% else %}
There's no active license period for this tenant, or no usage data has been recorded yet.
{% endif %} {% endblock %}