{
"id": "space.highport.admin.listNameReviews",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"reviews"
],
"properties": {
"reviews": {
"type": "array",
"items": {
"ref": "#nameReview",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"band": {
"type": "string",
"description": "Only this band. Both when absent.",
"knownValues": [
"review",
"refuse"
]
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum decisions to return."
}
}
},
"description": "Self-serve names the name review flagged, newest first: labels registered below a built-in base that a model judged likely to read as a brand's, the operator's, or a sign-in, security or billing page. The review band was admitted; the refuse band was refused when the review was enforcing and admitted when it was in shadow. Empty when the review is off."
},
"nameReview": {
"type": "object",
"required": [
"id",
"domain",
"base",
"label",
"band",
"outcome",
"mode",
"pImpersonates",
"kind",
"model",
"did",
"decidedAt"
],
"properties": {
"id": {
"type": "integer",
"description": "The decision's ID."
},
"did": {
"type": "string",
"format": "did",
"description": "The identity that asked for the name. Kept for operator review; never sent to the model."
},
"band": {
"type": "string",
"description": "Which threshold the judgment reached.",
"knownValues": [
"review",
"refuse"
]
},
"base": {
"type": "string",
"description": "The built-in base it was asked for under."
},
"kind": {
"type": "string",
"description": "What the model said the label looks like.",
"knownValues": [
"brand",
"operator",
"auth_or_security",
"ordinary",
"unknown"
]
},
"mode": {
"type": "string",
"description": "The review's mode at the time.",
"knownValues": [
"shadow",
"enforce"
]
},
"label": {
"type": "string",
"description": "The label that was judged, as an A-label (`xn--` for an internationalized one)."
},
"model": {
"type": "string",
"description": "The model version that answered."
},
"cached": {
"type": "boolean",
"description": "True when this repeats an earlier judgment of the same label rather than a fresh one."
},
"domain": {
"type": "string",
"description": "The full name that was asked for."
},
"outcome": {
"type": "string",
"description": "What became of the registration. A refuse band that was admitted was judged in shadow mode.",
"knownValues": [
"admitted",
"refused"
]
},
"decidedAt": {
"type": "string",
"format": "datetime",
"description": "When the judgment was made."
},
"pImpersonates": {
"type": "string",
"description": "The model's probability that a visitor reads the label as someone else's, as a decimal string, since lexicons have no float type."
}
},
"description": "One judged label of one registration attempt."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}