---
title: "Submit a new plan"
method: POST
path: "/plans"
---

# Submit a new plan

`POST /plans`

Submits and inserts a new Terraform plan in the database.

## Request body

- ApiPlanPayload
  - `ci_url` string
  - `exit_code` integer
  - `git_commit` string
  - `git_remote` string
  - `lineage` string
  - `plan_json` object
  - `source` string
  - `terraform_version` string

## Response `default`

Default response

---

[API](https://skmtc.dev/camptocamp/apis/terraboard-api.md) · [All operations](https://skmtc.dev/camptocamp/apis/terraboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/camptocamp/terraboard-api/revisions/b8cf03b00d47/schema)
