---
title: "Create several decisions at once (e.g. confirmed doc-import rows)"
method: POST
path: "/v1/decisions/batch"
tags: ["dashboard"]
---

# Create several decisions at once (e.g. confirmed doc-import rows)

`POST /v1/decisions/batch`

## Request

- Base URL: `https://api.tently.dev`
- URL: `https://api.tently.dev/v1/decisions/batch`
- Auth: none declared

## Request body

- object
  - `repoId` string, uuid, required
  - `decisions` object[], required
    - `title` string, required
    - `rationale` string
    - `tier` 'EXPLICIT' | 'MANUAL' | 'MINED' | 'PROPOSED', required
    - `status` 'ACTIVE' | 'PROPOSED' | 'SUPERSEDED' | 'REJECTED' | 'ARCHIVED'
    - `enforcement` 'BLOCKING' | 'ADVISORY'
    - `scope` object
      - `includePaths` string[]
      - `excludePaths` string[]
      - `modules` string[]
    - `exemplars` object[]
      - `path` string, required
      - `symbol` string
      - `note` string
    - `provenance` object[]
      - `kind` 'ADR' | 'PR' | 'COMMIT' | 'ISSUE' | 'RULES_FILE' | 'DOC' | 'SESSION' | 'INFERENCE' | 'OTHER', required
      - `ref` string
      - `label` string
      - `statistic` object
        - `conforming` integer, required
        - `total` integer, required
        - `note` string
    - `signals` object
      - `confidence` number
      - `reinforcement` integer
      - `halfLifeDays` number
      - `acceptRate` number, nullable
  - `source` 'manual' | 'import'

## Response `200`

Default Response

- object
  - `decisions` object[], required
    - `id` string, uuid, required
    - `orgId` string, uuid, required
    - `repoId` string, uuid, required
    - `title` string, required
    - `rationale` string
    - `tier` 'EXPLICIT' | 'MANUAL' | 'MINED' | 'PROPOSED', required
    - `status` 'ACTIVE' | 'PROPOSED' | 'SUPERSEDED' | 'REJECTED' | 'ARCHIVED', required
    - `enforcement` 'BLOCKING' | 'ADVISORY'
    - `scope` object, required
      - `includePaths` string[]
      - `excludePaths` string[]
      - `modules` string[]
    - `exemplars` object[]
      - `path` string, required
      - `symbol` string
      - `note` string
    - `provenance` object[]
      - `kind` 'ADR' | 'PR' | 'COMMIT' | 'ISSUE' | 'RULES_FILE' | 'DOC' | 'SESSION' | 'INFERENCE' | 'OTHER', required
      - `ref` string
      - `label` string
      - `statistic` object
        - `conforming` integer, required
        - `total` integer, required
        - `note` string
    - `signals` object, required
      - `confidence` number
      - `reinforcement` integer
      - `halfLifeDays` number
      - `acceptRate` number, nullable
    - `version` integer
    - `supersedesId` string, uuid, nullable
    - `supersededById` string, uuid, nullable
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `skipped` object[], required
    - `index` integer, required
    - `title` string, required
    - `duplicateOf` object, nullable, required
      - `id` string, uuid, required
      - `title` string, required
      - `similarity` number, required

## Other responses

- `201`: Default Response
- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `503`: Default Response

---

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