ApiSchemas
UnauthorizedEncoded
One shape from the contract, as it appears on the wire.
Used by agents.create, agents.get, agents.getBySlug, agents.imageStatus, agents.list, agents.promote, agents.rebake, agents.update, agents.upsert, agents.versions, apiKeys.create, apiKeys.list, apiKeys.revoke, apiKeys.update, auth.me, blobs.upload, and 63 more
JSON Schema
{
"type": "object",
"properties": {
"_tag": {
"type": "string",
"enum": [
"Unauthorized"
]
},
"reason": {
"type": "string"
}
},
"required": [
"_tag",
"reason"
],
"additionalProperties": false
}