OptionalaccessOptionalauthAuthentication method. ROLE_ARN requires type S3, a concrete AWS region (not auto), and roleArn; accessKeyId and secretAccessKey must then be omitted, and endpoint and forcePathStyle are ignored. When omitted, ROLE_ARN applies to type S3 if the request sends roleArn or the integration already uses ROLE_ARN, unless the request sends accessKeyId or secretAccessKey; otherwise ACCESS_KEYS applies.
The external ID is generated on the first save that uses ROLE_ARN and stays the same afterwards. That save stores the integration with enabled: false, because the trust policy cannot reference the new ID yet. Add the trust policy for crossAccountRoleArn with the returned externalId to your role, then update the integration with enabled: true.
Name of the storage bucket. For AZURE_BLOB_STORAGE, must be a valid Azure container name (3-63 chars, lowercase letters, numbers, and hyphens only, must start and end with a letter or number, no consecutive hyphens). For GOOGLE_CLOUD_STORAGE with default credentials, the bucket must be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS.
OptionalcompressedEnable gzip compression for exported files (.csv.gz, .json.gz, .jsonl.gz). Defaults to true.
Whether the integration is active
OptionalendpointCustom endpoint URL (required for S3_COMPATIBLE type). Ignored for GOOGLE_CLOUD_STORAGE.
OptionalexportField groups to include in each exported observation and score row. Applies to all export sources; must include the observation core group if provided. Core score columns are always exported; score groups add columns on top. When omitted on create, all observation groups are selected and no score groups. When omitted on update, the existing value is preserved.
exportFieldGroups requires exportSource to be provided in the same request.
OptionalexportData to export. When omitted on update, the existing value is preserved. When omitted on create, the default is OBSERVATIONS_V2 on Langfuse Cloud, and on self-hosted deployments LEGACY_TRACES_OBSERVATIONS — or OBSERVATIONS_V2 where the deployment no longer populates the legacy tables. The default is never a source the deployment cannot serve. Required when exportFieldGroups is provided.
Cloud-only project deprecation gate (effective 2026-05-20): For projects created on or after 2026-05-20 on Langfuse Cloud, LEGACY_TRACES_OBSERVATIONS and LEGACY_TRACES_AND_ENRICHED_OBSERVATIONS are rejected with HTTP 400. Use OBSERVATIONS_V2 for all new integrations. Self-hosted deployments are unaffected.
Cloud-only integration deprecation gate (effective 2026-06-22): On Langfuse Cloud, legacy export sources are only accepted for blob storage integrations created before 2026-06-22, regardless of project age. Requests that would create a new integration with LEGACY_TRACES_OBSERVATIONS or LEGACY_TRACES_AND_ENRICHED_OBSERVATIONS are rejected with HTTP 400. Use OBSERVATIONS_V2 instead. Self-hosted deployments are unaffected.
OptionalexportCustom start date for exports (required when exportMode is FROM_CUSTOM_DATE). Must not be in the future (27 h tolerance for timezone differences).
Use path-style URLs for S3 requests
OptionalprefixPath prefix for exported files (must end with forward slash if provided)
ID of the project in which to configure the blob storage integration
Storage region used by S3-compatible clients (AWS, GCS, Cloudflare R2, MinIO, Azure location IDs such as eastus, OCI). Leading and trailing whitespace is removed. The remaining value must be 1-63 letters, numbers, or hyphens, and cannot start or end with a hyphen. Examples: us-east-1, europe-west1, eastus, auto. Not used by GOOGLE_CLOUD_STORAGE; pass auto.
OptionalroleARN of the IAM role in your AWS account that Langfuse assumes when authType is ROLE_ARN, e.g. arn:aws:iam::123456789012:role/langfuse-export. When omitted on update, the stored role ARN is kept.
OptionalsecretSecret access key for authentication (will be encrypted when stored). When omitted on update, the stored secret is kept, unless the type changes between GOOGLE_CLOUD_STORAGE and another type.
For GOOGLE_CLOUD_STORAGE, a GCP service account JSON key. On self-hosted deployments, pass __GCS_DEFAULT_CREDENTIALS__ instead to use the deployment's Application Default Credentials; the bucket must then be listed in LANGFUSE_BLOB_STORAGE_GCS_ALLOWED_BUCKETS. Default credentials are not available on Langfuse Cloud.
Access key ID for authentication. Not used for GOOGLE_CLOUD_STORAGE or when
authTypeisROLE_ARN.