io.atcr.hold.getQuota
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get storage quota information for a user. Calculates total unique blob storage by iterating layer records and deduplicating by digest.",
"errors": [
{
"name": "InvalidUserDid"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"limit": {
"description": "Storage limit in bytes (absent if unlimited)",
"type": "integer"
},
"tier": {
"description": "Quota tier name (e.g., 'deckhand', 'bosun', 'quartermaster')",
"maxLength": 32,
"type": "string"
},
"totalSize": {
"description": "Total size in bytes of unique blobs",
"type": "integer"
},
"uniqueBlobs": {
"description": "Number of unique blob digests",
"type": "integer"
},
"userDid": {
"description": "DID of the user",
"format": "did",
"type": "string"
}
},
"required": [
"userDid",
"uniqueBlobs",
"totalSize"
],
"type": "object"
}
},
"parameters": {
"properties": {
"userDid": {
"description": "DID of the user to get quota for",
"format": "did",
"type": "string"
}
},
"required": [
"userDid"
],
"type": "params"
},
"type": "query"
}
},
"id": "io.atcr.hold.getQuota",
"lexicon": 1
}
Metadata
- DID
-
did:plc:wfj5kyialpmcv2fzk6uqwsln - CID
-
bafyreid3xkdn4syxitk7qxhehczrihtkzakqouidzrssvvlejqkeipmasy - Indexed At
- 2026-02-18 19:29 UTC
- AT-URI
-
at://did:plc:wfj5kyialpmcv2fzk6uqwsln/com.atproto.lexicon.schema/io.atcr.hold.getQuota
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Every quota for one DID: the limit in effect, the deployment default, and any operator override.
-
io.atcr.hold.listTiers query
List the hold's available tiers with storage quotas (no pricing info).