# tools.ozone.set.getValues

> Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.getValues)
- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.getValues/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.set.getValues/examples)

## Definitions

### `tools.ozone.set.getValues`

**Type**: `query`

Get a specific set and its values

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `set` | `ref` → `tools.ozone.set.defs#setView` | Yes |  |
| `cursor` | `string` | No |  |
| `values` | `array` | Yes |  |

#### Errors

- **SetNotFound**: set with the given name does not exist

## Raw Schema

```json
{
  "id": "tools.ozone.set.getValues",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "SetNotFound",
          "description": "set with the given name does not exist"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "set",
            "values"
          ],
          "properties": {
            "set": {
              "ref": "tools.ozone.set.defs#setView",
              "type": "ref"
            },
            "cursor": {
              "type": "string"
            },
            "values": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "default": 100,
            "maximum": 1000,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "description": "Get a specific set and its values"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
