Docs / API reference
Usage by app API
Which clients drive traffic through https://api.pentestllm.ai/v1, as two public tallies, seven and thirty days, with requests and tokens per named tool and no key required.
Route
| Route | Statuses |
|---|---|
GET /v1/stats/apps | 200 |
The OpenAPI document declares an empty security list and a single 200 answer, so a status page or a cron job can read it straight.
Answer
| Field | Meaning |
|---|---|
generated_at | When the snapshot was built, ISO 8601. |
windows | Two entries: the last 7 full UTC days and the last 30. |
windows[].days | 7 or 30. |
windows[].data | Named tools with the most tokens first, then one Other row for everything else. |
windows[].data[].app | The public tool name, or Other. |
windows[].data[].requests | Answered requests in the window. |
windows[].data[].tokens | Tokens in and out, cache reads and writes included. |
Example
curl https://api.pentestllm.ai/v1/stats/appsQuestions
How does a request get a tool name?
The gateway keeps a fixed list of public tools. A request is matched from the title its client declares, failing that from the host it was referred from, failing that from the product name in its client software string. Anything unmatched is summed under Other.
Can I see which account or key sits behind a row?
No. The feed is a public aggregate of requests and tokens per tool. It names no organization, key, model or address, which is why it needs no key and answers any origin.
Why is the current day missing?
Both windows count whole UTC days, so the current day is left out until it is complete. The answer is cached for ten minutes, so generated_at moves only when that cache refreshes.
Read next
- MCP servers
- Log export
- Invoices
- Billing details
- Statement signing key
- Keys and scopes
- Usage and signed receipts
- Spend limits and balance
- Redaction and guardrails
- Sessions
- Embeddings, rerank and moderation
- Batch files
- Batches
- Status and proof feeds
- Count tokens
- App sign-in keys
- Webhook deliveries
- Docs: connect in two minutes
- Model trends on this gateway