# ai.newnal.illi.home.get

> One home: device, parents, members; for the root admin also open invites, limits and sync status.

- Kind: query
- Authority: home.illi.newnal.ai
- Lexicon: 1
- Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.home.get)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.home.get/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.home.get/analytics)

## Query (`ai.newnal.illi.home.get`)

Type: query · GET

### Parameters (query string)

- `homeId` (string · tid, required)

### Output (application/json)

- `createdAt` (string · datetime)
- `device` (ref)
  - Reference: `ai.newnal.illi.home.defs#deviceView`
- `homeId` (string · tid, required)
- `invites` (array)
  - `items` (ref)
    - Reference: `ai.newnal.illi.home.defs#inviteView`
- `limits` (ref)
  - Reference: `ai.newnal.illi.home.defs#limits`
- `members` (array, required)
  - `items` (ref)
    - Reference: `ai.newnal.illi.home.defs#memberView`
- `name` (string, required)
- `parents` (array, required)
  - `items` (ref)
    - Reference: `ai.newnal.illi.home.defs#parentView`
- `role` (string, required)
- `rootAdminDid` (string · did, required)
- `sphere` (string, required)
- `sync` (ref)
  - Reference: `ai.newnal.illi.home.defs#syncView`

### Errors

- `HomeNotFound`: No description in schema.
- `NotMember`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One home: device, parents, members; for the root admin also open invites, limits and sync status.",
      "errors": [
        {
          "name": "HomeNotFound"
        },
        {
          "name": "NotMember"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createdAt": {
              "format": "datetime",
              "type": "string"
            },
            "device": {
              "ref": "ai.newnal.illi.home.defs#deviceView",
              "type": "ref"
            },
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "invites": {
              "items": {
                "ref": "ai.newnal.illi.home.defs#inviteView",
                "type": "ref"
              },
              "type": "array"
            },
            "limits": {
              "ref": "ai.newnal.illi.home.defs#limits",
              "type": "ref"
            },
            "members": {
              "items": {
                "ref": "ai.newnal.illi.home.defs#memberView",
                "type": "ref"
              },
              "type": "array"
            },
            "name": {
              "type": "string"
            },
            "parents": {
              "items": {
                "ref": "ai.newnal.illi.home.defs#parentView",
                "type": "ref"
              },
              "type": "array"
            },
            "role": {
              "type": "string"
            },
            "rootAdminDid": {
              "format": "did",
              "type": "string"
            },
            "sphere": {
              "type": "string"
            },
            "sync": {
              "ref": "ai.newnal.illi.home.defs#syncView",
              "type": "ref"
            }
          },
          "required": [
            "homeId",
            "name",
            "role",
            "rootAdminDid",
            "sphere",
            "parents",
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          }
        },
        "required": [
          "homeId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.home.get",
  "lexicon": 1
}
```
