---
title: "Create state variable"
method: POST
path: "/pipeline/state-variable"
tags: ["Incident Mode"]
---

# Create state variable

`POST /pipeline/state-variable`

Add a pipeline state variable to the account

## Request body

- object
  - `pipeline_id` string, uuid, required
  - `state` object, required

## Response `200`

Default Response

---

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