---
updatedAt: 2026-08-19T14:02:12.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/terraform/llms.txt
---

# AnswerX service IDs

akamai_datastream_answerx_service_ids

Get a list of your AnswerX Recursive DNS service IDs (SSIDs) by contract.

```json Query
data "akamai_datastream_answerx_service_ids" "my_service_ids" {
  contract_id = "C-0N7RAC7"
}

output "my_datastreams" {
  value = data.akamai_datastream_answerx_service_ids.my_service_ids
}
```
```json Output
my_service_ids = {
  contract_id = "C-0N7RAC7"
  service_ids = [
    {
      id      = 1234
      name    = "SSID1"
      product = "Shield NS53"
      },
    {
      id      = 5432
      name    = "SSID2"
      product = "Shield NS53"
      },
  ]
}
```

## Argument

Pass your contract ID as the value of `contract_id` in the data block to get its SSIDs.

## Arguments

Returned to you is a list of your SSIDs and their products.

| Attribute     | Description                                                                                                                                                                                                                                |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `contract_id` | Your contract ID.                                                                                                                                                                                                                          |
| `service_ids` | A list of the contract's SSIDs. Contains:<ul><li><code>id</code>. The service instance ID.</li><li><code>name</code>. The service instance name.</li><li><code>product</code>. The product associated with the service instance.</li></ul> |

# Sibling pages

* [Activation history](https://techdocs.akamai.com/terraform/docs/ds-activation-history.md)
* [AppSec configurations](https://techdocs.akamai.com/terraform/docs/ds-ds-appsec-configurations.md)
* [Data set fields](https://techdocs.akamai.com/terraform/docs/ds-dataset-fields.md)
* [Data streams](https://techdocs.akamai.com/terraform/docs/ds-datastreams.md)