# place.stream.beta.getStatus

> Published by [did:web:stream.place](https://lexicon.garden/identity/did:web:stream.place)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.beta.getStatus)
- [Documentation](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.beta.getStatus/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.beta.getStatus/examples)

## Definitions

### `place.stream.beta.getStatus`

**Type**: `query`

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.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | No | Account to check. Defaults to the authenticated caller's DID when omitted. |
| `feature` | `string` | Yes | Identifier of the beta feature to check (e.g. "vod"). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | The account this status applies to. |
| `status` | `string` | Yes | granted: the account may use the feature. requested: no grant yet, but an access request is on file. none: no grant and no request. |
| `feature` | `string` | Yes | The feature this status applies to (echoes the request). |

#### Errors

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

## Raw Schema

```json
{
  "id": "place.stream.beta.getStatus",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "DidRequired",
          "description": "No did supplied and the request was not authenticated, so there is no account to check."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "feature",
            "did",
            "status"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did",
              "description": "The account this status applies to."
            },
            "status": {
              "type": "string",
              "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"
              ]
            },
            "feature": {
              "type": "string",
              "description": "The feature this status applies to (echoes the request)."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "feature"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "Account to check. Defaults to the authenticated caller's DID when omitted."
          },
          "feature": {
            "type": "string",
            "description": "Identifier of the beta feature to check (e.g. \"vod\")."
          }
        }
      },
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
