---
title: "Create a platform-level decision"
method: POST
path: "/decisions"
tags: ["decisions"]
---

# Create a platform-level decision

`POST /decisions`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/decisions`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- object
  - `recommendedAction` string, required
  - `rationaleSummary` string, required
  - `riskLevel` 'P0' | 'P1' | 'P2' | 'P3' | 'P4', required
  - `confidence` number
  - `domain` string

## Response `201`

Decision created

- AlloyDecision: Schema-validated Alloy decision object (v2.0.0)
  - `decisionId` string, required
  - `workflowId` string, nullable
  - `signalIds` string[]
  - `recommendedAction` string, required
  - `rationaleSummary` string, required
  - `evidenceRefs` object[], required
    - `refId` string
    - `source` string
    - `sourceType` string
    - `content` string
    - `relevanceScore` number
    - `timestamp` string, nullable
    - `objectId` string, nullable
  - `confidence` number, required
  - `ownerSuggestion` string, nullable
  - `approvalRequired` boolean, required
  - `riskLevel` 'P0' | 'P1' | 'P2' | 'P3' | 'P4', required
  - `fallbackPlan` string, nullable
  - `modelRoute` string, required
  - `schemaVersion` '2.0.0', required
  - `createdAt` string, date-time, required
  - `status` 'proposed' | 'pending_approval' | 'approved' | 'rejected' | 'executed' | 'expired', required
  - `approvedBy` string, nullable
  - `approvedAt` string, date-time, nullable
  - `rejectedBy` string, nullable
  - `rejectedAt` string, date-time, nullable
  - `rejectionReason` string, nullable
  - `executedAt` string, date-time, nullable
  - `executionOutcome` 'pending' | 'executed' | 'failed' | 'rejected' | 'expired', nullable
  - `rawInput` string, nullable
  - `rawOutput` string, nullable

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/decisions/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
