{% extends "base.html" %} {% block title %}Overview{% endblock %} {% block content %}

Overview

Your PhiGateway instance at a glance.

Requests
Tokens
Cost (USD)
Active Keys

Quick Start

Create an API key and make your first agent chat request.

# 1. Create a gateway API key (do this once)
curl -sX POST /v1/keys \
  -H "Content-Type: application/json" \
  -d '{"name":"first-key","tier":"free"}'

# 2. Your agent's first chat completion
curl -s /v1/chat/completions \
  -H "Authorization: Bearer <your-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "groq/llama-3.3-70b",
    "messages": [{"role":"user","content":"Hello, world!"}]
  }'

# 3. Full agent workflow — see Docs for tools, knowledge base, memory
{% endblock %}