---
title: "List Alloy decisions"
method: GET
path: "/ai/decision"
tags: ["ai-engine"]
---

# List Alloy decisions

`GET /ai/decision`

## Request

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

Returns a paginated list of AlloyDecision objects, optionally filtered by status or risk level

## Query parameters

- `limit` integer
- `offset` integer
- `status` 'proposed' | 'pending_approval' | 'approved' | 'rejected' | 'executed' | 'expired'
- `riskLevel` 'P0' | 'P1' | 'P2' | 'P3' | 'P4'

## Response `200`

Paginated decision list

- object
  - `total` integer
  - `offset` integer
  - `limit` integer
  - `decisions` AlloyDecision[]
    - `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-02** `86d5babe2996`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/ai/decision/get.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)
