Skip to main content

Refine an existing definition using a natural language instruction

POST 

/agents/semantic-refine

Apply a natural language refinement instruction to an existing definition.

Returns the original, proposed, and a list of changes with reasons. breaking=True indicates the change affects the semantic_hash — a new version should be created rather than updating in place.

HTTP 404 — definition not found.

Request

Responses

Successful Response