Skip to main content
Output format validators constrain structured outputs (for example validating a JSON shape after a node runs). Manage them with client.agent_validation.

Upsert from Pydantic models

Pass Pydantic classes (not instances). The client uses each class __name__ as the validator name and model_json_schema() as the JSON Schema.

Raw JSON Schema dicts

List and fetch

Attach validators to nodes in your agent graph configuration in the product UI or API so failed validation can trigger retries where your platform supports it.