# lol.dids.manage.getSpace

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.getSpace)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.getSpace/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.manage.getSpace/examples)

## Definitions

### `lol.dids.manage.getSpace`

**Type**: `query`

What bard knows about one connected space: its sync state, the expiry of the credential bard holds, and its counts. Answered for the space's authority and for viewers — identities with a grant inside the viewer window.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `space` | `string` (at-uri) | Yes |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **SpaceNotFound**: Bard is not connected to that space — also the answer for a caller who is neither its authority nor a viewer.

## Raw Schema

```json
{
  "id": "lol.dids.manage.getSpace",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "SpaceNotFound",
          "description": "Bard is not connected to that space — also the answer for a caller who is neither its authority nor a viewer."
        }
      ],
      "output": {
        "schema": {
          "ref": "lol.dids.defs#spaceView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "space"
        ],
        "properties": {
          "space": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "What bard knows about one connected space: its sync state, the expiry of the credential bard holds, and its counts. Answered for the space's authority and for viewers — identities with a grant inside the viewer window."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
