# llLinksetDataListKeys

*LSL function*

```lsl
list list llLinksetDataListKeys(integer start, integer count);
```

- `integer start`: Zero-based start index of the keys to return.
- `integer count`: Maximum number of keys to return (or less than 1 to retrieve all keys).

- Returns: `list`
- Energy: 10

The **`llLinksetDataListKeys`** function returns a list of up to **count** keys in the datastore, starting at the one indicated by **start**. If **count** is less than 1, then all keys between **start** and the end are returned. If **count** minus **start** exceeds the total number of keys, the returned list will be shorter than **count**, down to a zero-length list if **start** equals or exceeds the total number of keys.

Returns a [list](https://wiki.secondlife.com/wiki/list) of the keys in the datastore, ordered alphabetically.

```lsl title="How to use" frame="terminal"
list result = llLinksetDataListKeys(0, 0);
```

## Examples

<details open>
<summary>The following code will list all the keys in a object. Only 1024 characters will be displayed due to limitations of [llSay](/functions/llSay/).</summary>

```lsl
// Retrieving too many entries from LinksetData can trigger a stack or heap error if the number of entries exceeds the available memory.  Use with caution.

default
{
    state_entry()
    {
        llSay(0, llDumpList2String(llLinksetDataListKeys(0, 0), "\n"));
    }
}
```

</details>

## See also

### Functions

- [llLinksetDataAvailable](/functions/llLinksetDataAvailable/)
- [llLinksetDataCountFound](/functions/llLinksetDataCountFound/)
- [llLinksetDataCountKeys](/functions/llLinksetDataCountKeys/)
- [llLinksetDataDelete](/functions/llLinksetDataDelete/)
- [llLinksetDataDeleteFound](/functions/llLinksetDataDeleteFound/)
- [llLinksetDataFindKeys](/functions/llLinksetDataFindKeys/)
- [llLinksetDataRead](/functions/llLinksetDataRead/)
- [llLinksetDataReset](/functions/llLinksetDataReset/)
- [llLinksetDataWrite](/functions/llLinksetDataWrite/)

---

*Source: [LlLinksetDataListKeys](https://wiki.secondlife.com/wiki/LlLinksetDataListKeys) on the Second Life Wiki. Content from the Second Life Wiki article LlLinksetDataListKeys (revision 1219034, 2026-09-10), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llLinksetDataListKeys/
