---
title: "POST /datasets/{datasetName}/content"
method: POST
path: "/datasets/{datasetName}/content"
---

# POST /datasets/{datasetName}/content

`POST /datasets/{datasetName}/content`

Creates the content of a dataset by applying a <code>queryAction</code> (a SQL query) or a <code>containerAction</code> (executing a containerized application).

## Path parameters

- `datasetName` string, required

## Request body

- object
  - `versionId` string — The version ID of the dataset content. To specify <code>versionId</code> for a dataset content, the dataset must use a <a href="https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_DeltaTime.html">DeltaTimer</a> filter.

## Response `200`

Success

- CreateDatasetContentResponse
  - `versionId` string — The version ID of the dataset contents that are being created.

## Other responses

- `480` — InvalidRequestException
- `481` — ResourceNotFoundException
- `482` — InternalFailureException
- `483` — ServiceUnavailableException
- `484` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/iotanalytics.md) · [All operations](https://skmtc.net/aws/apis/iotanalytics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iotanalytics/versions/e78558b7408d/schema)
