Six API-docs questions were tested across multiple controlled evidence scenarios.
External public-docs case study
OpenAI API Docs Boundary Audit
ProbeLayer ran a dependency audit against a public OpenAI API documentation knowledge base with live DeepSeek calls. The main failure was not stale claims. It was confident answers after key evidence disappeared.
The model handled stale and forbidden claims without positive forbidden hits.
Most failures came from answering after required evidence was removed.
Local TF-IDF retrieval boundary with live DeepSeek model behavior.
Missing evidence still produced confident answers.
The audit pack covered Responses API, function calling, file search, Structured Outputs, and migration boundaries. DeepSeek usually avoided stale and forbidden claims.
The recurring weakness was evidence removal. After primary source text disappeared, the model often answered from adjacent documents instead of saying it could not confirm.
Correct answers are still unsafe when the supporting source is gone.
Answer confidence survived source removal.
When direct evidence was removed, the model kept answering API guidance questions from nearby docs. That is useful behavior for casual chat, but unsafe for audit-grade RAG systems where each answer must be supported by the right source class.
- Before
- Responses API with direct source support
- Scenario
- Primary evidence removed from retrieval context
- Observed result
- Confident answer from adjacent migration/function-calling docs
Before, change, failure, fix, result.
Agent interface recommendation
- Before
- Responses API, not Chat Completions as the main agent loop.
- Scenario
- Direct Responses API evidence removed.
- Failure
- The model still recommended Responses API from adjacent docs.
- Fix
- Require product-interface answers to cite an explicit interface policy source.
- Result
- Prevents architecture advice from surviving weakened evidence.
Tool execution boundary
- Before
- The developer application executes the tool call and returns output.
- Scenario
- Key execution-boundary evidence removed.
- Failure
- The model still answered instead of abstaining.
- Fix
- Require call_id and tool-output source support for execution-boundary answers.
- Result
- Reduces overconfident tool-use explanations in support RAG.
File search setup
- Before
- File search requires a vector store with uploaded files.
- Scenario
- Primary file-search setup evidence removed.
- Failure
- The model still gave setup guidance.
- Fix
- Require retrieval setup answers to cite file-search or vector-store docs.
- Result
- Keeps API setup instructions tied to the right evidence source.
Structured Outputs boundary
- Before
- JSON mode does not guarantee schema adherence; Structured Outputs do.
- Scenario
- Structured Outputs evidence removed.
- Failure
- The model still answered correctly but without required source support.
- Fix
- Require schema-adherence claims to cite Structured Outputs docs directly.
- Result
- Prevents API correctness advice from becoming unsupported folklore.
This is public-docs proof, not customer production RAG proof.
Public docs audit
Markdown docs, business questions, controlled evidence changes, and live DeepSeek calls.
Evidence checks
Source-id validation, forbidden-claim checks, and missing-evidence failure capture.
Production RAG claim
This does not prove behavior inside a customer's deployed retrieval stack.
Customer-style workflow
Run the same audit on private support, policy, or agent workflow docs.