# Adds support for retrieving individual activity logs ## What’s new Introduces a new [retrieve](https://docs.stripe.com/api/v2/iam/activity-logs/retrieve.md?api-version=2026-05-27.preview) endpoint for the [Activity Logs API](https://docs.stripe.com/api/v2/iam/activity-logs.md?api-version=2026-05-27.preview) that provides programmatic access to security history. You can now retrieve individual activity log entries by their ID to access detailed information about security events in your Stripe account. This complements the existing [list](https://docs.stripe.com/api/v2/iam/activity-logs/list.md?api-version=2026-05-27.preview) endpoint to give you complete programmatic access to your account’s security activity. ## Impact You can now retrieve individual activity log entries by ID, enabling you to build targeted security monitoring and auditing integrations. Use the retrieve endpoint to fetch a specific event when building your security information and event management (SIEM) integrations or custom audit workflows. Previously, you could only fetch activity logs as paginated lists. The retrieve endpoint lets you look up a specific log entry directly by its ID. ## Changes #### REST API | Endpoint | Change | Resource | | ---------- | ------ | ------------------------------------------------------------------------------------------------------------ | | `retrieve` | Added | [V2.Iam.ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### Ruby | Method | Change | Resource | | ---------- | ------ | -------------------------------------------------------------------------------------------------------------- | | `retrieve` | Added | [V2::Iam::ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### Python | Method | Change | Resource | | ---------- | ------ | ------------------------------------------------------------------------------------------------------------ | | `retrieve` | Added | [v2.iam.ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### PHP | Method | Change | Resource | | ---------- | ------ | ------------------------------------------------------------------------------------------------------------ | | `retrieve` | Added | [V2.Iam.ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### Java | Method | Change | Resource | | ---------- | ------ | ------------------------------------------------------------------------------------------------------------ | | `retrieve` | Added | [v2.iam.ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### Node.js | Method | Change | Resource | | ---------- | ------ | ------------------------------------------------------------------------------------------------------------ | | `retrieve` | Added | [V2.Iam.ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### Go | Method | Change | Resource | | ------ | ------ | ---------------------------------------------------------------------------------------------------------- | | `Get` | Added | [V2IamActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | #### .NET | Method | Change | Resource | | ------ | ------ | ------------------------------------------------------------------------------------------------------------ | | `Get` | Added | [V2.Iam.ActivityLog](/api/v2/iam/activity-logs/object?api-version=2026-05-27.preview#v2_activity_log_object) | ## Upgrade #### REST API 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. If you use an SDK, upgrade to the corresponding SDK version for this API version. - If you don’t use an SDK, update your [API requests](https://docs.stripe.com/api/versioning.md) to include `Stripe-Version: 2026-05-27.preview` 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Ruby 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Ruby SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Python 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Python SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### PHP 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your PHP SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Java 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Java SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Node.js 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Node SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Go 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Go SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### .NET 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your .NET SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md).