---
title: "Add Calculation To Workflow"
method: POST
path: "/worker/workflow/{workflow_id}/add_calculation"
tags: ["worker"]
---

# Add Calculation To Workflow

`POST /worker/workflow/{workflow_id}/add_calculation`

## Path parameters

- `workflow_id` integer, required

## Request body

- CalculationInput — unresolved $ref

## Response `200`

Successful Response

- AppSchemasCalculationCalculation
  - `name` string, nullable
  - `workflow_uuid` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `started_at` string, date-time, nullable
  - `uuid` string, required
  - `status` integer, required
  - `elapsed` number, nullable
  - `completed_at` string, date-time, nullable
  - `settings` object, required
  - `tasks` Task[], nullable
  - `engine` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rowansci/apis/eyrie.md) · [All operations](https://skmtc.dev/rowansci/apis/eyrie/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rowansci/eyrie/revisions/f786577eede6/schema)
