<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [motion-sdk](./motion-sdk.md) &gt; [MotionOptions](./motion-sdk.motionoptions.md)

## MotionOptions interface

Arguments to the [Motion](./motion-sdk.motion.md) constructor.

**Signature:**

```typescript
export interface MotionOptions 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[apiKey?](./motion-sdk.motionoptions.apikey.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ API key for the requests.


</td></tr>
<tr><td>

[baseUrl?](./motion-sdk.motionoptions.baseurl.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Base URL of the API.


</td></tr>
<tr><td>

[maxQueueSize?](./motion-sdk.motionoptions.maxqueuesize.md)


</td><td>


</td><td>

number


</td><td>

_(Optional)_ Maximum number of queued requests.


</td></tr>
<tr><td>

[overrunLimiter?](./motion-sdk.motionoptions.overrunlimiter.md)


</td><td>


</td><td>

RateLimiterAbstract


</td><td>

_(Optional)_ Rate limiter that tracks how many times we've exceeded the limit recently.


</td></tr>
<tr><td>

[requestLimiter?](./motion-sdk.motionoptions.requestlimiter.md)


</td><td>


</td><td>

RateLimiterAbstract


</td><td>

_(Optional)_ Rate limiter that tracks number of requests.


</td></tr>
<tr><td>

[userId?](./motion-sdk.motionoptions.userid.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ ID of the Motion user making the requests.


</td></tr>
</tbody></table>
