Manuscript Offprint

arXiv:2610.22412

EnterpriseSynth: Zero-Execution SFT and Evaluation Data from OpenAPI Specs

Rashmi Thimmaraju, Natan Vidra, Spurthi Setty

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Tool-using large language model agents require substantial training and evaluation data, yet collecting execution traces from enterprise APIs is often unsafe, expensive, or infeasible because of access controls, compliance constraints, rate limits, and the risk of modifying production data. We present EnterpriseSynth, a zero-execution framework that converts OpenAPI specifications into supervised fine-tuning trajectories and paired evaluation instances without invoking the underlying APIs. The framework uses a four-stage pipeline for specification parsing, intent generation, trajectory synthesis, and static validation. Each generated trajectory is checked against the source specification for endpoint, parameter, type, and schema consistency before being admitted to the dataset. We evaluate EnterpriseSynth on 17 real and synthetic APIs. Adversarial refinement increases the validator's detection rate for planted schema violations from 57–80% to 98% (43/44). Across five random seeds, a compact open-weight model fine-tuned on EnterpriseSynth data outperforms both an untuned model and a Self-Instruct baseline on held-out APIs. Performance remains consistent on five private, hand-authored API specifications that were not available during training, with tool-selection accuracy of 40.0% on the private set and 39.6% on the public held-out set. However, an independent LLM-based evaluation shows that endpoint-selection accuracy substantially overestimates end-to-end correctness: accuracy falls from 48.9% under the endpoint-level metric to 21.3% when argument selection and values are also evaluated. These results demonstrate that OpenAPI specifications can support scalable, execution-free data generation, while highlighting the need for argument-level evaluation when assessing the deployment readiness of tool-using agents.

1 Introduction

The paradigm of software engineering and workflow automation is shifting toward autonomous, tool-augmented Large Language Model (LLM) agents that translate natural language intents into structured API calls via OpenAPI/Swagger specifications.

Deploying these agents behind an enterprise firewall exposes a data cold-start bottleneck: foundation models perform poorly out-of-the-box on enterprise tool configurations, violating JSON payloads, hallucinating parameters, and losing track of cascading variables across multi-step calls, failures that Supervised Fine-Tuning (SFT) and targeted evaluation are needed to fix.

State-of-the-art synthetic data generators, however, rely on an active execution paradigm: frameworks like ToolBench (Qin et al., 2023) call live servers to record real system responses. This collapses behind the enterprise firewall due to what we call the Execution Paradox: (1) high-fidelity sandboxes rarely exist for internal corporate systems, (2) exploratory agent loops against production risk corrupting state, violating compliance, or triggering destructive actions, and (3) live calls are bounded by request latency and rate limits.

We resolve this with EnterpriseSynth, a zero-execution framework that decouples data generation from system execution, treating it as a static, compiler-style validation problem instead of a runtime extraction one. Given only an API schema, EnterpriseSynth maps endpoints to candidate tool-use trajectories, synthesizes reasoning paths offline, and enforces data-typing constraints through automated schema verification. Unlike API-Bank (Li et al., 2023) and ToolBench (Qin et al., 2023), which both ground training data in real API calls, EnterpriseSynth requires none, exactly the dependency the Execution Paradox rules out for most enterprise API surfaces.