AI
EnterpriseSynth generates AI training data from API specs without execution
A new framework creates synthetic training and test data for tool-using AI agents by analyzing API specifications, sidestepping safety and compliance risks tied to live API calls.
Researchers have introduced EnterpriseSynth, a framework that generates training and evaluation data for large language model agents that work with enterprise APIs—all without ever actually calling those APIs. This approach sidesteps the practical barriers that make real-world data collection risky: restricted access, compliance rules, rate limits, and the possibility of corrupting production systems.
The Challenge with Real API Data#
Building agents that reliably use tools and APIs demands large volumes of high-quality training examples. Obtaining these examples typically requires running the agent against live systems, which enterprises often cannot permit due to security, regulatory, or operational constraints. EnterpriseSynth solves this by working entirely from OpenAPI specifications—the standardized descriptions that document how APIs work.
How EnterpriseSynth Works#
The framework processes API specs through a four-stage pipeline:
- Specification parsing extracts endpoint and parameter details
- Intent generation synthesizes realistic user requests
- Trajectory synthesis creates step-by-step interaction sequences
- Static validation checks each generated trajectory against the spec for consistency in endpoints, parameters, types, and schemas
Every trajectory is validated before inclusion, ensuring the synthetic data stays faithful to the actual API contract.
Validation and Results#
Testing showed that adversarial refinement—deliberately injecting schema violations to test the validator—pushed detection rates from 57–80% up to 98% (43 of 44 violations caught). When researchers fine-tuned an open-weight model on EnterpriseSynth data, it outperformed both an untuned baseline and a Self-Instruct alternative on held-out APIs. Performance held steady across five private, hand-authored API specs that the model had never seen, achieving roughly 40% tool-selection accuracy on both private and public test sets.
The Caveat: Argument Accuracy Matters#
A critical finding emerged when researchers moved beyond simple endpoint selection: while the model achieved 48.9% accuracy at choosing the right endpoint, that figure dropped to just 21.3% when correct arguments and their values also had to be right. This gap underscores that endpoint-level metrics alone overstate real-world readiness, and that argument-level evaluation is essential for deploying tool-using agents reliably.

