at.happyproto.fleet.getCapacity

Store capacity: the latest totals, a daily trend, per-collection counts and what each tenant holds. Proxied from the provisioner. Admin only.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · query
Kindquery
Authorityfleet.happyproto.at
Indexed

Query

query · GET

Parameters

query string

from

string · datetime

Start of the range. Defaults to 30 days before `to`.

to

string · datetime

End of the range. Defaults to now.

Output

application/json

collections

requiredarray
itemsref
Reference
Reference

tenants

requiredarray
itemsref
Reference

trend

requiredarray
itemsref
Reference

Errors

AuthRequired

This endpoint requires an authenticated caller.

Forbidden

The caller is not HappyProto staff, or the provisioner does not treat them as staff.

InvalidRequest

The provisioner refused the range or grain, for example a range that runs backwards or is too long.

NotFound

Passed through from the provisioner.

InvalidSlug

Passed through from the provisioner.

SlugTaken

Passed through from the provisioner.

NotEntitled

Passed through from the provisioner.

InstanceLimit

Passed through from the provisioner.

NoCapacity

Passed through from the provisioner.

OperationInProgress

Passed through from the provisioner.

Upstream

The provisioner could not complete the request.

#collection

object

Properties

configured

boolean

crawl

string

nsid

requiredstring

records

integer

#tenant

object

Properties

apiClients

integer

diskBytes

integer

gaps7d

integer

Hours with no usage report in the last 7 days.

id

requiredstring
Reference

plan

string

seats

integer

slug

requiredstring

#tenantLastHour

object

Properties

cpuUsec

integer

CPU time used in the hour, in microseconds.

hour

requiredstring · datetime

#totals

object

The newest hourly snapshot of the shared store. Absent before the first one.

Properties

feedBytes

integer

hour

requiredstring · datetime

records

integer

#trendPoint

object

Properties

day

requiredstring

UTC date, YYYY-MM-DD.

records

integer

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • One tenant's metered usage by hour or day, with the hours that have no report. Proxied from the provisioner. Admin only.

  • Every host, and every tenant with its host, plan, owner and latest metered hour, for the staff fleet view. Staff only.

  • How any tenant handled incoming records in a window, by collection and action. The same shape as server.getIngestMetrics. Admin only.

  • Fleet and per-instance growth rates from instance_daily_deltas. Counter resets are excluded by the view, so a wiped volume lowers no rate. Admin only.

  • One of the caller's instances' metered usage by hour or day, with the hours that have no report. Customers only.