> ## 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.

# config

## O11yApiClient

API client for Splunk Observability Cloud AO endpoints.

## SplunkAOConfig

Configure authentication and endpoints for standalone and O11y deployments.

### get

```python theme={null}
def get(cls, **kwargs: Any) -> 'SplunkAOConfig'
```

Initialize the shared config with deployment-aware auth validation.

### refresh\_jwt\_token

```python theme={null}
def refresh_jwt_token(self) -> None
```

Skip JWT refresh when authenticating directly with an O11y token.

### resolve\_deployment

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

Infer the deployment mode from configured environment variables.

### set\_api\_url

```python theme={null}
def set_api_url(cls, api_url: str | Url | None, info: ValidationInfo) -> Url
```

Derive the O11y API URL from its realm and preserve standalone validation.

### set\_jwt\_token

```python theme={null}
def set_jwt_token(self) -> 'SplunkAOConfig'
```

Skip standalone JWT exchange when O11y uses direct token authentication.

### set\_validated\_api\_client

```python theme={null}
def set_validated_api_client(self) -> 'SplunkAOConfig'
```

Use the SF-token aware API client for O11y deployments.
