# place.hud.listCanvases

> Every canvas the person sees: those they own, then those shared with them, then their invitations; each by when it was made. A page at a time. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.

- Kind: query
- Authority: hud.place
- Lexicon: 1
- Published by [lexicons.hud.place](https://lexicon.garden/identity/did:plc:3tzbz4pml36u4mkresb6pdhv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.listCanvases)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.listCanvases/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.listCanvases/analytics)

## Query (`place.hud.listCanvases`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Where the last page ended.
  - Constraints: maxLength: 128
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50

### Output (application/json)

- `canvases` (array, required)
  - `items` (ref)
    - Reference: `place.hud.defs#canvasView`
- `cursor` (string): Where this page ended: none when it is the last.
  - Constraints: maxLength: 128

### Errors

- `InvalidRequest`: The input is not what the method takes, or what it asks cannot be done.
- `AuthRequired`: No live web session or HUD access token: sign in.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Every canvas the person sees: those they own, then those shared with them, then their invitations; each by when it was made. A page at a time. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.",
      "errors": [
        {
          "description": "The input is not what the method takes, or what it asks cannot be done.",
          "name": "InvalidRequest"
        },
        {
          "description": "No live web session or HUD access token: sign in.",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "canvases": {
              "items": {
                "ref": "place.hud.defs#canvasView",
                "type": "ref"
              },
              "type": "array"
            },
            "cursor": {
              "description": "Where this page ended: none when it is the last.",
              "maxLength": 128,
              "type": "string"
            }
          },
          "required": [
            "canvases"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Where the last page ended.",
            "maxLength": 128,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "The canvases a person sees.",
  "id": "place.hud.listCanvases",
  "lexicon": 1
}
```
