app.bsky.ageassurance.getState
#main
Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side.
Parameters
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| countryCode | string | - | ✅ | - |
| regionCode | string | - | ❌ | - |
Output
- Encoding: application/json
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| state | app.bsky.ageassurance.defs#state | - | ✅ | - |
| metadata | app.bsky.ageassurance.defs#stateMetadata | - | ✅ | - |