---
title: "Create Decision"
method: POST
path: "/memory/decisions"
tags: ["Decisions"]
---

# Create Decision

`POST /memory/decisions`

## Request

- Base URL: `https://synchronex.ai/api/v1`
- URL: `https://synchronex.ai/api/v1/memory/decisions`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://synchronex.ai/oauth/authorize`, token URL `https://synchronex.ai/api/oauth/token`, scopes: `read`)

Creates a decision record for an owned product. Requires write scope.

## Request body

- object
  - `decision` string, required
  - `reasoning` string
  - `product_name` string, required
  - `affects_products` string[]

## Response `201`

Decision created.

- object
  - `success` boolean
  - `id` string, uuid
  - `decision` string
  - `tags` string[]
  - `affects_products` string[]
  - `decided_at` string, date-time
  - `embedded` boolean

## Other responses

- `400`: Validation error. The request body or query string is invalid.
- `401`: Unauthorized. Missing, malformed, expired, or revoked bearer token.
- `403`: Forbidden. The token scope or account tier is insufficient.
- `404`: Not found or not owned by the authenticated user.
- `429`: Rate limit exceeded. Retry after the indicated reset time.
- `500`: Internal server error.

---

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