Skip to main content
Suggest a source for every model parameter with AI

Body

application/json

What to suggest sources for: a model, against an example cell spec.

model_id
string
required
cell_spec_id
string
required
use_ai
boolean
default:true

Ask the AI to fill what the pattern rules could not place.

Response

Successful Response

Validated suggestions, in the editor's per-parameter source shape.

sources
Sources · object
required

Parameter -> {kind: 'cell_spec', path} | {kind: 'value', value} | {kind: 'calculation', type, options}.

reasons
Reasons · object
origins
Origins · object

Who placed it: a rule, a conventional default to confirm, or the AI.

rejected
RejectedSuggestion · object[]
ai_error
string | null

Why the AI step did not run or failed; rules still apply.