# place.stream.beta.getStatus

> Report an account's access status for a named beta feature: whether it has been granted (via a trusted place.stream.beta.invite, or because this node isn't beta-gating the feature), has an outstanding place.stream.beta.request, or neither. Defaults to the authenticated caller when `did` is omitted.

- Kind: query
- Authority: beta.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.beta.getStatus)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.beta.getStatus/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.beta.getStatus/analytics)

## Query (`place.stream.beta.getStatus`)

Type: query · GET

### Parameters (query string)

- `did` (string · did): Account to check. Defaults to the authenticated caller's DID when omitted.
- `feature` (string, required): Identifier of the beta feature to check (e.g. "vod").

### Output (application/json)

- `did` (string · did, required): The account this status applies to.
- `feature` (string, required): The feature this status applies to (echoes the request).
- `status` (string, required): granted: the account may use the feature. requested: no grant yet, but an access request is on file. none: no grant and no request.
  - Constraints: knownValues: granted | requested | none

### Errors

- `DidRequired`: No did supplied and the request was not authenticated, so there is no account to check.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Report an account's access status for a named beta feature: whether it has been granted (via a trusted place.stream.beta.invite, or because this node isn't beta-gating the feature), has an outstanding place.stream.beta.request, or neither. Defaults to the authenticated caller when `did` is omitted.",
      "errors": [
        {
          "description": "No did supplied and the request was not authenticated, so there is no account to check.",
          "name": "DidRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "description": "The account this status applies to.",
              "format": "did",
              "type": "string"
            },
            "feature": {
              "description": "The feature this status applies to (echoes the request).",
              "type": "string"
            },
            "status": {
              "description": "granted: the account may use the feature. requested: no grant yet, but an access request is on file. none: no grant and no request.",
              "knownValues": [
                "granted",
                "requested",
                "none"
              ],
              "type": "string"
            }
          },
          "required": [
            "feature",
            "did",
            "status"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "Account to check. Defaults to the authenticated caller's DID when omitted.",
            "format": "did",
            "type": "string"
          },
          "feature": {
            "description": "Identifier of the beta feature to check (e.g. \"vod\").",
            "type": "string"
          }
        },
        "required": [
          "feature"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "place.stream.beta.getStatus",
  "lexicon": 1
}
```
