> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ObservabilityS3DestinationConfig - Python SDK

> ObservabilityS3DestinationConfig method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

## Fields

| Field               | Type              | Required             | Description                                                                                                                                                                                   |
| ------------------- | ----------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `access_key_id`     | *str*             | :heavy\_check\_mark: | N/A                                                                                                                                                                                           |
| `bucket_name`       | *str*             | :heavy\_check\_mark: | N/A                                                                                                                                                                                           |
| `endpoint`          | *Optional\[str]*  | :heavy\_minus\_sign: | Only for S3-compatible services like Cloudflare R2 ([https://account-id.r2.cloudflarestorage.com](https://account-id.r2.cloudflarestorage.com)) or MinIO. Leave blank for standard AWS S3.    |
| `headers`           | Dict\[str, *str*] | :heavy\_minus\_sign: | Custom HTTP headers to include in requests to this destination.                                                                                                                               |
| `path_template`     | *Optional\[str]*  | :heavy\_minus\_sign: | Template for S3 object path. The filename (`{traceId}`-`{timestamp}`.json) is automatically appended. Available variables: `{prefix}`, `{date}`, `{year}`, `{month}`, `{day}`, `{apiKeyName}` |
| `prefix`            | *Optional\[str]*  | :heavy\_minus\_sign: | N/A                                                                                                                                                                                           |
| `region`            | *Optional\[str]*  | :heavy\_minus\_sign: | N/A                                                                                                                                                                                           |
| `secret_access_key` | *str*             | :heavy\_check\_mark: | N/A                                                                                                                                                                                           |
| `session_token`     | *Optional\[str]*  | :heavy\_minus\_sign: | N/A                                                                                                                                                                                           |
