---
title: "Create or update configuration for a computation"
method: PUT
path: "/workflow-specs/{workflowSpecId}/computation-config"
tags: ["WorkflowSpecs"]
---

# Create or update configuration for a computation

`PUT /workflow-specs/{workflowSpecId}/computation-config`

Create or update configuration properties for a computation. The paramaters workflowSpecId
and computationIndex will be used to uniquely identify the configuration to be created or updated.

**Note**: It is advised not to change the computation configurations while an evaluation is running. This might lead to unexpected evaluation results.

## Path parameters

- `workflowSpecId` string, required

## Query parameters

- `computationIndex` number, required

## Headers

- `slb-data-partition-id` string, required

## Request body

- ComputationConfiguration — The request body to create or update configuration properties for a computation

## Response `204`

Computation configuration created successfully.

## Other responses

- `400` — Bad request
- `401` — Unauthorized.
- `default` — Unexpected error

---

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