Validate structured data against a Blueprint's rules BEFORE the result
is used. Returns PASS, FAIL, or REVIEW with plain-language findings,
repair suggestions, a determinism hash, and a re-verifiable
certificate. Same input + same rules = same verdict, every time.
输入参数api_key必填blueprintsource_textstructured_data必填
Validate structured data against a Blueprint and, when it fails,
include repair suggestions (corrected values with the rule each fix is
based on) in the same call. Same verdicts as validate: PASS, FAIL, or
REVIEW, with reasons and proof.
输入参数api_key必填blueprintstructured_data必填
Create a Blueprint - the governance contract validation runs against.
A Blueprint defines what correct means for your data: fields, the math
that must hold between them, and acceptable ranges. Start from
load_rule_pack or discover_patterns if you have no rules yet; invoke
the blueprint_guide prompt for the full rule/constraint reference.
Returns the new Blueprint's API key.
输入参数modeapi_key必填require_mathcustomer_name必填workflow_name必填derived_fieldssemantic_checksderivation_rules另有 8 个
List the Blueprints on this account with field/rule/constraint counts
and mode. Use the returned workflow_name as 'blueprint' in validate.
输入参数api_key必填
One-shot repair: return corrected values that would make failing data
valid under the Blueprint. Use repair_path to see the steps instead.
输入参数api_key必填blueprintstructured_data必填derivation_rulesformal_constraints
Static pre-deploy analysis of a Blueprint's rule set. Returns a health
verdict - healthy, acceptable, fragile, rigid, split, brittle_islands,
or unsatisfiable - with advice, including joint conflicts pairwise
checks miss.
输入参数configapi_key必填blueprint
compare_semantic_equivalence
Compare two payloads under the dual-hash design: content_hash is
content_hash normalizes field order and numeric formatting. Semantic
comparison preserves field roles; renaming requires an explicit bijection.
With supplied rules, scalar types and whitespace remain significant.
Structural similarity alone does not establish decision equivalence.
输入参数api_key必填rules_arules_bpayload_a必填payload_b必填constraints_aconstraints_bfield_mapping
Quality-govern an in-progress AI generation step BEFORE its output is
used (complements validate, which checks finished documents). Returns
an action - STOP, CONTINUE, REPAIR_REGION, REUSE_MOTIF, REVIEW,
ESCALATE - with a plain-language explanation. Structural scores do not
establish task correctness. Check safe_to_finalize and acceptance coverage.
Persistence success is…
输入参数sourceapi_key必填payload必填blueprinttask_type必填step_indexconstraintsinference_id必填
Retrieve the durable audit trail for a governed generation: every
recorded decision and its reasons.
输入参数api_key必填blueprintinference_id必填blueprint_version
recent_inference_decisions
Recent generation-governance decisions in this owner's Blueprint version.
输入参数limitactionapi_key必填blueprintblueprint_version
Independently re-verify a validation certificate. Integrity mode checks
the hash chain; full mode (certificate + original data) recomputes
every attested rule from scratch - trust nothing, recheck everything.
输入参数dataapi_key必填certificate必填derivation_rulesformal_constraints
profile_blueprint_robustness
Sweep the Blueprint's numeric constraint bounds and report verdict
stability: the stable band, the scales where the verdict first flips,
and advice. Use before deploying bound changes.
输入参数configapi_key必填blueprint
Deterministic forward reasoning: from the current data state, generate
and rank the valid next states reachable under the Blueprint's rules.
输入参数api_key必填rank_byblueprintmax_depthmax_branchesstructured_data必填
Learn candidate validation rules and structural document types from a
batch of your records, deterministically - no Blueprint required.
Promote results with approve_rule. Source data is not stored.
输入参数api_key必填blueprintdocuments必填
Find the shortest sequence of field changes taking invalid data to a
valid state, as an ordered path of intermediate states. Different from
repair (one-shot nearest fix): use repair_path to explain or audit the
fix, or compare alternative repairs.
输入参数api_key必填rank_byblueprintmax_depthstructured_data必填
Run the same data under two rule sets and compare which future states
remain valid - what-if analysis for rule changes.
输入参数api_key必填rules_bblueprintconstraints_bstructured_data必填
Explain whether a record fits the usual pattern for records like it,
and which fields stand out. No Blueprint required.
输入参数api_key必填blueprintstructured_data必填
Create a multi-agent sequential chain: stages validate in order against
one Blueprint, repairs propagate forward, TTL bounds the run. Siblings:
submit_chain_stage advances the chain; handoff_audit verifies a
transition between stages. Returns chain_id.
输入参数ttlstages必填api_key必填blueprint必填
Submit data for the chain's current stage; the platform validates it
and advances the chain if it passes. Response includes next-stage info
and accumulated repairs.
输入参数stage必填api_key必填chain_id必填structured_data必填
Audit a handoff between two chain stages: a context capsule of verified
facts from the prior stage, and (if proposed_data is given) a
compatibility verdict that catches fields mutated in transit. Siblings:
create_chain, submit_chain_stage.
输入参数api_key必填chain_id必填to_stage必填from_stage必填proposed_data
Promote a rule discovered by discover_patterns into Blueprint-ready
form.
输入参数api_key必填rule_id必填blueprint
Reject a discovered candidate rule so it will not be promoted into a
Blueprint. Pair with approve_rule after discover_patterns.
输入参数api_key必填rule_id必填blueprint
Retrieve the document categories a discover_patterns session identified
(counts, distinguishing fields, domain hints). Read-only; returns
status=no_session if discovery has not run for this namespace.
输入参数api_key必填blueprint
Measure the numeric difference between original and corrected values:
how much lies along the supplied linear rule directions (projection) and
how much lies outside them (residual), with per-field contributions.
Diagnostic only: it does not establish a cause, and neither record is
verified. Use with a known-correct version to diff against; use
analyze_anomaly when you only…
输入参数api_key必填blueprintoriginal_values必填corrected_values必填derivation_rulesformal_constraints
Summarize an already-computed state_vector into a confidence level
(high/medium/low) with a recommendation. Post-hoc digest - use
analyze_anomaly or check_drift for fresh analysis of raw data.
输入参数api_key必填state_vector必填
Structural realization analysis of a payload against the Blueprint's
reference configuration (requires a 'realization' block; otherwise
status=skipped). Diagnostics-tier tool; prefer validate or
analyze_anomaly for standard checks.
输入参数api_key必填blueprintstructured_data必填
Check whether recent submissions still match the established pattern
for this Blueprint. Returns a stability verdict and observation count.
输入参数api_key必填blueprintstructured_data必填
Go/no-go for a real-world action (payment, filing, API write): runs
full validation, then the Blueprint's execution gate. authorized=true
only on PASS; REVIEW means do not proceed automatically. Different
from validate: validate asks is this data correct, authorize_execution
asks should this action happen.
输入参数api_key必填blueprint必填structured_data必填
Load a prebuilt Blueprint template (invoices, timecards, legal, POs,
claims). Call without pack_id to list packs; then create_blueprint to
save a customized copy.
输入参数api_key必填pack_id
Run validation and return the per-node execution trace (node names,
deterministic flags, timing) plus the verdict and determinism hash.
Use validate for normal operation; this is for debugging and audit
preparation.
输入参数api_key必填blueprintstructured_data必填
Check replay commitment integrity and compare recorded execution components.
Version 4 includes reference context and the final result/status. A match
compares commitments; this tool does not rerun the workflow or reconstruct
historical reference populations, and does not prove factual correctness.
输入参数api_key必填contract_a必填contract_b必填
This account's plan, key usage, Blueprint counts, and the deployed
platform build fingerprint (version, build, deployed).
输入参数api_key必填
Permanently delete a Blueprint and revoke its API keys. Irreversible;
requires confirm=true. Account-level keys are unaffected.
输入参数api_key必填confirmworkflow_name必填
Update an existing Blueprint in place. Only passed fields change;
pass [] to clear a list. workflow_name cannot be renamed and existing
API keys keep working. Different from create_blueprint: modifies an
existing Blueprint, mints no new key.
输入参数modeapi_key必填require_mathcustomer_nameworkflow_name必填derived_fieldssemantic_checksderivation_rules另有 8 个
List this account's API keys (masked) with their Blueprint bindings.
输入参数api_key必填
Replace an API key with a fresh one. The old key stops working
immediately; the new key inherits its bindings.
输入参数api_key必填key_to_rotate必填
Permanently delete one of the caller's API keys.
DESTRUCTIVE — agents using the deleted key will receive auth
errors immediately. The Blueprint a key was tied to (if any) is
NOT affected; only the credential is revoked. To delete a
Blueprint and all its keys, use delete_blueprint.
The target key can be specified two ways:
- As the full key string (gai_...).
- As…
输入参数api_key必填confirmkey_to_delete必填