# LavalinkNodeOptions

**Type:** [Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)

<table><thead><tr><th width="167.33333333333331">Parameter</th><th width="190">Type</th><th width="102" align="center">Required</th><th>Description</th></tr></thead><tbody><tr><td>host</td><td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></td><td align="center">✓</td><td>Ip Address / Hostname / Domain for the Lavlaink Server</td></tr><tr><td>port</td><td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></td><td align="center">✓</td><td>On which Port the Lavalink Server is running on</td></tr><tr><td>authorization</td><td><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></td><td align="center">✓</td><td>The Authorization for Lavalink's Server (password)</td></tr><tr><td>secure</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></td><td align="center">X</td><td>If the Node is secure, and the Manager should use https instead of http for the Lavalink-REST API</td></tr><tr><td>sessionId</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></td><td align="center">X</td><td>The Session Id of the Lavalink Node (for resuming)</td></tr><tr><td>id</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></td><td align="center">X</td><td>Custom lavalink Node Id (Else it would be: host + port)</td></tr><tr><td>regions</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>[]</td><td align="center">X</td><td>Voice Regions for this Lavalink Node</td></tr><tr><td>poolOptions</td><td>?<a href="https://undici.nodejs.org/#/docs/api/Pool?id=parameter-pooloptions">Undici.Pool.Options</a></td><td align="center">X</td><td>Pool Options for Undici Http Pool for Lavalink-REST</td></tr><tr><td>retryAmount</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></td><td align="center">X</td><td>How often to try to reconnect to the Node</td></tr><tr><td>retryDelay</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></td><td align="center">X</td><td>How long to wait to try to reconnect to the Node</td></tr><tr><td>requestTimeout</td><td>?<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></td><td align="center">X</td><td>Pool Undici Options</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lc4.gitbook.io/lavalink-client/docs/nodemanager/types/lavalinknodeoptions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
