---
title: "Run a simulation template directly"
method: POST
path: "/v1/templates/{template_id}/run"
tags: ["Simulation"]
---

# Run a simulation template directly

`POST /v1/templates/{template_id}/run`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/templates/{template_id}/run`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Run a simulation template by ID without constructing the full payload. Optionally override `runs` and `seed`. Returns simulation results immediately.

Use `GET /v1/simulate/templates` to list all available templates.

## Path parameters

- `template_id` string, required

## Query parameters

- `runs` integer
- `seed` integer, nullable
- `engine` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
