---
title: "POST /api/v1/diff"
method: POST
path: "/api/v1/diff"
---

# POST /api/v1/diff

`POST /api/v1/diff`

## Request

- Base URL: `https://app.coderifts.com`
- URL: `https://app.coderifts.com/api/v1/diff`
- Auth: none declared

## Request body

- object
  - `before` union
    - string
    - object
  - `after` union
    - string
    - object
  - `old_spec` union
    - string
    - object
  - `new_spec` union
    - string
    - object
  - `repo` string
  - `branch_name` string
  - `config` object
  - `deps_manifest` string

## Response `default`

See the route; response contracts are published separately (preflight-response.v2, decision-result.v1, deny envelope).

---

[API](https://skmtc.dev/coderifts/apis/coderifts-app-every-served-route.md) · [All operations](https://skmtc.dev/coderifts/apis/coderifts-app-every-served-route/llms.txt) · [OpenAPI document](https://skmtc.dev/coderifts/apis/coderifts-app-every-served-route/revisions/51648201d397?raw)
