---
updatedAt: 2026-03-01T18:39:36.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/v9.3/llms.txt
---

# Activation history

akamai_datastream_activation_history

Get activation status changes for a given data stream across all versions.

```json Query
data "akamai_datastream_activation_history" "my_activation_history" {
  stream_id = 12345
}
```
```json Standard output
my_activation_history = {
      activations = [
          {
              modified_by    = "jsmith"
              modified_date  = "2023-06-14T12:51:06Z"
              status         = "ACTIVATED"
              stream_id      = 12345
              stream_version = 2
            },
          {
              modified_by    = "jsmith"
              modified_date  = "2023-06-14T12:43:33Z"
              status         = "DEACTIVATED"
              stream_id      = 12345
              stream_version = 1
            },
        ]
      id          = "12345"
      stream_id   = 12345
    }
```

## Arguments

Pass a specific data stream's ID in the query body using the `stream_id` argument.

## Attributes

Returned in the `activations` set are details about modifications made to your datas treams.

| Attribute        | Description                                                   |
| ---------------- | ------------------------------------------------------------- |
| `modified_by`    | The name of the user who activated or deactivated the stream. |
| `modified_date`  | The date and time of an activation status change.             |
| `stream_id`      | The stream's ID.                                              |
| `stream_version` | The stream's version.                                         |
| `status`         | The current activation status.                                |

# Sibling pages

* [Data set fields](https://techdocs.akamai.com/terraform/v9.3/docs/ds-dataset-fields.md)
* [Data streams](https://techdocs.akamai.com/terraform/v9.3/docs/ds-datastreams.md)