# Configuration Reference

### Configuration Reference

#### Environment Variables

| Variable                       | Default                                         | Description                    |
| ------------------------------ | ----------------------------------------------- | ------------------------------ |
| `SECRET_AI_API_KEY`            | *required*                                      | Your Secret AI API key         |
| `SECRET_NODE_URL`              | `https://lcd.secret.tactus.starshell.net/`      | Secret Network LCD endpoint    |
| `SECRET_CHAIN_ID`              | `secret-4`                                      | Secret Network chain ID        |
| `SECRET_WORKER_SMART_CONTRACT` | `secret1xv90yettghx8uv6ug23knaf5mjqwlsghau6aqa` | Worker contract address        |
| `SECRET_AI_REQUEST_TIMEOUT`    | `30`                                            | Request timeout in seconds     |
| `SECRET_AI_CONNECT_TIMEOUT`    | `10`                                            | Connection timeout in seconds  |
| `SECRET_AI_MAX_RETRIES`        | `3`                                             | Maximum retry attempts         |
| `SECRET_AI_RETRY_DELAY`        | `1`                                             | Initial retry delay in seconds |
| `SECRET_AI_RETRY_BACKOFF`      | `2`                                             | Backoff multiplier for retries |
| `SECRET_AI_MAX_RETRY_DELAY`    | `60`                                            | Maximum retry delay in seconds |
|                                |                                                 |                                |


---

# 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://docs.scrt.network/secret-network-documentation/secret-ai/sdk/setting-up-your-environment/configuration-reference.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.
