> ## Documentation Index
> Fetch the complete documentation index at: https://agent-observability-docs.splunk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# deployment

## Module

Deployment detection and mode-specific configuration.

## DeploymentMode

Supported Splunk AO deployment modes.

## O11yConfig

Configuration for a Splunk Observability Cloud deployment.

### api\_root

```python theme={null}
def api_root(self) -> str
```

Return the realm-derived application origin used by the AO API.

### crud\_token

```python theme={null}
def crud_token(self) -> SecretStr
```

Return the API token when set, otherwise the ingest token.

### from\_env

```python theme={null}
def from_env(cls) -> 'O11yConfig'
```

Load and validate o11y configuration from the environment.

### otlp\_endpoint

```python theme={null}
def otlp_endpoint(self) -> str
```

Return the realm-derived OTLP trace ingest endpoint.

### require\_api\_url

```python theme={null}
def require_api_url(self) -> str
```

Return the realm-derived AO CRUD API URL.

### require\_console\_url

```python theme={null}
def require_console_url(self) -> str
```

Return the realm-derived AO console URL.

### require\_ingest\_token

```python theme={null}
def require_ingest_token(self) -> SecretStr
```

Return the token required for OTLP trace export.

## StandaloneConfig

Configuration for a standalone Splunk AO deployment.

### from\_env

```python theme={null}
def from_env(cls) -> 'StandaloneConfig'
```

Load and validate standalone configuration from the environment.

### otlp\_endpoint

```python theme={null}
def otlp_endpoint(self) -> str
```

Return the explicit or console-derived OTLP trace endpoint.

## resolve\_deployment

```python theme={null}
def resolve_deployment() -> DeploymentMode
```

Infer the deployment mode from the configured environment variables.
