{% extends 'dashboard/base.html' %} {% load humanize %} {% block title %}API Keys - Peza API{% endblock %} {% block breadcrumb %}API Keys{% endblock %} {% block content %}

API Keys

Manage access keys for the Peza API

Active keys: {{ active_non_testing_keys }}/{{ api_key_limit }} (based on your current plan)

Your Keys

{{ api_keys.count }} key{{ api_keys.count|pluralize }}
{% if api_keys %}
{% for key in api_keys %}

{{ key.name }}

Created {{ key.created_at|date:"M d, Y" }}

API Key
{% if not key.is_testing %} {% else %} Playground only {% endif %}
{{ key.is_active|yesno:"Active,Inactive" }}
{% if key.is_testing %}
Trials used {{ key.testing_used }} / {{ key.testing_limit }}
{% else %}
Monthly usage {{ total_requests|default:0 }} req
{% if limit %}
{% else %}
{% endif %}
{% endif %}
{% csrf_token %}
{% csrf_token %}
{% endfor %}
{% else %}

No API keys yet

Create your first key to get started

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}