> ## Documentation Index
> Fetch the complete documentation index at: https://developers.squads.so/llms.txt
> Use this file to discover all available pages before exploring further.

# GridApiConfig

Grid API client configuration

Security:

* `apiKey`: Backend only - never expose in frontend code
* `appId`: Safe for frontend - requires domain whitelist configuration

## Properties

| Property                                  | Type                                                                                                 | Description                                                                  |
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| <a id="apikey" /> `apiKey?`               | `string`                                                                                             | API key for backend authentication (never expose in frontend code)           |
| <a id="environment" /> `environment`      | [`GridEnvironment`](/grid/v1/sdk-reference/typescript/reference/latest/type-aliases/GridEnvironment) | Target environment (sandbox or production)                                   |
| <a id="baseurl" /> `baseUrl?`             | `string`                                                                                             | Base URL for the Grid API                                                    |
| <a id="appid" /> `appId?`                 | `string`                                                                                             | Application ID for frontend (safe to expose, whitelist domains in dashboard) |
| <a id="timeout" /> `timeout?`             | `number`                                                                                             | Request timeout in milliseconds                                              |
| <a id="retryattempts" /> `retryAttempts?` | `number`                                                                                             | Retry attempts for failed requests                                           |
| <a id="solanarpcurl" /> `solanaRpcUrl?`   | `string`                                                                                             | Solana RPC endpoint URL                                                      |
