> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://contentful.com/developers/docs/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/_mcp/server. Log delivery lets you stream logs to your own cloud storage. Each logging configuration defines a source — Content Delivery API (CDA), GraphQL API, Content Management API (CMA), or near real-time audit logs — and a destination bucket, and Contentful will deliver compressed NDJSON log files on a regular schedule. Read more on Enterprise Observability [here](/developers/docs/concepts/enterprise-observability/) and on near real-time audit logs [here](/developers/docs/concepts/near-real-time-audit-logs/). ## Logging Configurations Collection [Get all logging configurations](/references/content-management-api/enterprise-observability/get-all-logging-configurations) Returns a paginated collection of logging configurations for the organization. ## Create Logging Configuration [Create a logging configuration](/references/content-management-api/enterprise-observability/create-logging-configuration) Creates a new logging configuration for the organization. The `name` and `source` fields are required, along with a `destination` type and matching `credentials`. **AWS S3** credentials require `bucketName`, `iamArn`, and `region`. ## Logging Configuration ### Get a single logging configuration [Get a single logging configuration](/references/content-management-api/enterprise-observability/get-logging-configuration) Returns a single logging configuration by ID. ### Delete a logging configuration [Delete a logging configuration](/references/content-management-api/enterprise-observability/delete-logging-configuration) Deletes a logging configuration. This stops future log deliveries for the configuration. ## Logging Configuration Status Use this endpoint to monitor the delivery history for a configuration. It returns a cursor-paginated list of individual delivery attempts, each showing whether the attempt succeeded or failed. Delivery status records are retained for 180 days. ### Get configuration delivery status [Get configuration delivery status](/references/content-management-api/enterprise-observability/get-logging-configuration-delivery-status) ## Logging Configuration Credentials ### Update logging configuration credentials [Update logging configuration credentials](/references/content-management-api/enterprise-observability/update-logging-configuration-credentials) Replaces the credentials for an existing logging configuration. The request body must match the destination type of the existing configuration — you cannot change the destination type via this endpoint. **AWS S3** credentials require `bucketName`, `iamArn`, and `region`. ## API Docs - Enterprise Observability [Get all logging configurations](https://contentful.com/developers/docs/references/content-management-api/enterprise-observability/get-all-logging-configurations.md) - Enterprise Observability [Create a logging configuration](https://contentful.com/developers/docs/references/content-management-api/enterprise-observability/create-logging-configuration.md) - Enterprise Observability [Get a logging configuration](https://contentful.com/developers/docs/references/content-management-api/enterprise-observability/get-logging-configuration.md) - Enterprise Observability [Delete a logging configuration](https://contentful.com/developers/docs/references/content-management-api/enterprise-observability/delete-logging-configuration.md) - Enterprise Observability [Get configuration delivery status](https://contentful.com/developers/docs/references/content-management-api/enterprise-observability/get-logging-configuration-delivery-status.md) - Enterprise Observability [Update logging configuration credentials](https://contentful.com/developers/docs/references/content-management-api/enterprise-observability/update-logging-configuration-credentials.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://contentful.com/developers/docs/openapi.json) - [OpenAPI YAML](https://contentful.com/developers/docs/openapi.yaml)