ObservabilityS3DestinationConfig - TypeScript SDK

ObservabilityS3DestinationConfig type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { ObservabilityS3DestinationConfig } from "@openrouter/sdk/models";
2
3let value: ObservabilityS3DestinationConfig = {
4 accessKeyId: "<id>",
5 bucketName: "<value>",
6 secretAccessKey: "<value>",
7};

Fields

FieldTypeRequiredDescription
accessKeyIdstring✔️N/A
bucketNamestring✔️N/A
endpointstringOnly for S3-compatible services like Cloudflare R2 (https://account-id.r2.cloudflarestorage.com) or MinIO. Leave blank for standard AWS S3.
headersRecord<string, *string*>Custom HTTP headers to include in requests to this destination.
pathTemplatestringTemplate for S3 object path. The filename ({traceId}-{timestamp}.json) is automatically appended. Available variables: {prefix}, {date}, {year}, {month}, {day}, {apiKeyName}
prefixstringN/A
regionstringN/A
secretAccessKeystring✔️N/A
sessionTokenstringN/A