dev.knotless.getUsage
How an appview is used, day by day, for its operators: it takes a service token for this method from one of the accounts it names as its operators, or the session cookie of one logged in to its pages. What it counted itself (requests, page views, visitors by a hash forgotten each day, what its handlers saw) beside what its index says the network wrote.
Details · query
| Kind | query |
|---|---|
| Authority | knotless.dev |
| Indexed |
Query
query · GETParameters
query stringdays
integerHow many days back, today (UTC) the last.
minimum: 1maximum: 400default: 14
Output
application/jsonagents
arrayRequests by the User-Agent of each crawler or script, most first: the bot client, by name. At most twenty, and at most the last 30 days.
Requests by kind of client: browser, git, cli, bot or other.
failures
arrayWhy what the handlers saw failed, most often first: at most a hundred, and at most the last 30 days.
funnels
arrayOf the accounts that did one thing in the days asked, not having in the 30 days before, how many went on to another.
hours
arrayEach hour the appview took requests in, oldest first: when failures and slow answers came.
The sites that sent visitors to the pages, by host.
Requests by route, busiest first: the hundred busiest, and every write and every route with a request over two seconds.
statements
arrayThe index's statements that took a tenth of a slow request or more, the most time first: at most fifty, and at most the last 30 days.
#count
objectSomething, and how many times.
#day
objectOne day, in UTC.
Properties
Accounts that made a repository, pushed, or wrote in a thread.
minimum: 0
Check runs started.
minimum: 0
minimum: 0
YYYY-MM-DD.
Of those, failed (5xx).
minimum: 0
minimum: 0
minimum: 0
minimum: 0
Repositories made, from the index.
minimum: 0
Requests taken, but for health checks.
minimum: 0
Pages they drew.
minimum: 0
People whose browsers drew a page, each once.
minimum: 0
#event
objectSomething the handlers saw, over the days asked.
Properties
Accounts that did anything of this name in the days asked, at most the last 30, as only the signed-in are known and none is kept longer.
minimum: 0
minimum: 0
minimum: 0
Mean milliseconds; 0 for what is not timed.
minimum: 0
What it was.
knownValues: mcp.tool | mcp.resource | mcp.signin | git.fetch | cli.version | gateway.delegated | gateway.push | gateway.commit | gateway.served
Of what: the tool, the repository as asked for, the version; empty for none.
#failure
objectWhy something the handlers saw failed, and how often.
#funnel
objectAccounts that did one thing in the days asked, not having in the 30 days before, and of them those that did the other then or within 30 days.
#hour
object#network
objectThe network as the index has it now.
Properties
Accounts that ever made a repository, pushed, or wrote in a thread.
minimum: 0
And in the last 30.
minimum: 0
Accounts that did so in the last 7 days.
minimum: 0
minimum: 0
#route
objectA route, by the pattern it matched, and how it answered.
Properties
Failed (5xx).
minimum: 0
Mean milliseconds to the answer's head.
minimum: 0
The HTTP method.
Requests that took over half a second.
minimum: 0
Requests that took over two seconds.
minimum: 0
minimum: 0
Its pattern, as /api/{authority}/{repo}/tree.
Where it is.
knownValues: pages | api | git | xrpc | mcp | install | other
#statement
objectA statement the index ran slowly, and how often.
Properties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.getStats
queryWhat an appview shows anyone of how it is used: the network as its index has it now, and each of the last 30 days, what the network wrote in it and how many people drew its pages (by a hash forgotten each day). Its operators read the rest with dev.knotless.getUsage.