Backfill in-progress. Some lexicons and records may be missing or incomplete.

app.bsky.ageassurance.getState

bsky-lexicons.bsky.social

Documentation

main query

Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side.

Parameters

countryCode string Required

No description provided.

regionCode string Optional

No description provided.

Output

Encodingapplication/json
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "state",
        "metadata"
      ],
      "properties": {
        "state": {
          "ref": "app.bsky.ageassurance.defs#state",
          "type": "ref"
        },
        "metadata": {
          "ref": "app.bsky.ageassurance.defs#stateMetadata",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "countryCode"
    ],
    "properties": {
      "regionCode": {
        "type": "string"
      },
      "countryCode": {
        "type": "string"
      }
    }
  },
  "description": "Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side."
}

Lexicon Garden

@