---
title: "Add wind data to a simulation run (works only for PWC runs)"
method: POST
path: "/projects/{projectId}/simulations/{simulationId}/runs/{runId}/add-wind-data"
tags: ["Simulation Runs"]
---

# Add wind data to a simulation run (works only for PWC runs)

`POST /projects/{projectId}/simulations/{simulationId}/runs/{runId}/add-wind-data`

You can use this endpoint to add wind data to an existing PWC run. This means that for the new run, only the statistical surface solution will be regenerated based on the new wind data, while the individual results of each direction will be kept from the original run. This endpoint is only used to trigger the execution of the new simulation run - before calling this endpoint make sure to update the simulation spec with the new wind data.

## Request body

- WindData
  - `name` string, required — The name of the newly created simulation run.

## Response `202`

Successful operation.

- SimulationRun
  - `runId` string, uuid
  - `name` string, required — The name of the simulation run.
  - `createdAt` string, date-time — The time when the simulation run was created.
  - `startedAt` string, date-time — The time when the simulation run was started.
  - `finishedAt` string, date-time — The time when the simulation run was finished.
  - `duration` string, duration — The actual duration of the simulation run.
  - `computeResource` SimulationRunComputeResource — The actual compute resources (CPUh or GPUh) consumed by the simulation run.
    - `type` 'CPU_HOURS' | 'GPU_HOURS'
    - `value` number, double
  - `status` 'READY' | 'QUEUED' | 'RUNNING' | 'FINISHED' | 'CANCELED' | 'FAILED' — Status of the operation.
  - `progress` number — The current progress while the simulation run is in progress.

## Other responses

- `404` — Not found.

---

[API](https://skmtc.net/simscale/apis/simscale-api.md) · [All operations](https://skmtc.net/simscale/apis/simscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/simscale/simscale-api/revisions/53223abaceb7/schema)
