---
title: "Before an autonomous coding agent installs or adopts software, return a bounded GO, WARN, or BLOCK decision with evidence and a portable SALT19 verification receipt."
method: POST
path: "/v1/agent-decision-preflight"
tags: ["agent", "decision", "preflight", "software", "dependency", "github", "npm", "verification"]
---

# Before an autonomous coding agent installs or adopts software, return a bounded GO, WARN, or BLOCK decision with evidence and a portable SALT19 verification receipt.

`POST /v1/agent-decision-preflight`

## Request

- Base URL: `https://api.salt19.com`
- URL: `https://api.salt19.com/v1/agent-decision-preflight`
- Auth: none required

Before an autonomous coding agent installs or adopts software, return a bounded GO, WARN, or BLOCK decision with evidence and a portable SALT19 verification receipt. Results are deterministic decision-support evidence with explicit limitations; a GO result is not proof of security or compatibility.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `decision_type` 'npm_dependency' | 'github_repository', required
  - `target` object, required
    - `package` string
    - `version` string
    - `repo` string
  - `constraints` object
    - `max_vulnerabilities` integer
    - `require_license` boolean
    - `require_latest` boolean
    - `max_days_since_push` integer

## Response `200`

Successful paid decision

## Other responses

- `402`: x402 payment required

---

[API](https://skmtc.dev/salt19/apis/salt19-agent-utility-grid.md) · [All operations](https://skmtc.dev/salt19/apis/salt19-agent-utility-grid/llms.txt) · [OpenAPI document](https://skmtc.dev/salt19/apis/salt19-agent-utility-grid/revisions/c2520ca8ffbf?raw)
