---
title: "Justify Material Selection"
method: POST
path: "/api/materials/justify"
tags: ["materials"]
---

# Justify Material Selection

`POST /api/materials/justify`

## Request

- Base URL: `https://api.pcbgenerator.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pcbgenerator.com/api/materials/justify`
- Auth: none declared

Generate a natural-language justification for why a material was selected.

Uses Gemini to narrate the scoring data from the material selection agent.
Falls back to a deterministic justification if Gemini is unavailable.

## Query parameters

- `material_name` string, required: Material name (e.g. FR408HR, RO4350B)
- `frequency` number, required: Operating frequency in GHz
- `application` string: Application type
- `power_dbm` number: Output power in dBm

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api.md) · [All operations](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pcbgenerator/apis/pcb-stackup-generator-api/revisions/b6084b3ace32?raw)
