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.

Total cases 42

Six API-docs questions were tested across multiple controlled evidence scenarios.

Passed 34

The model handled stale and forbidden claims without positive forbidden hits.

Failed 8

Most failures came from answering after required evidence was removed.

Boundary Live

Local TF-IDF retrieval boundary with live DeepSeek model behavior.

Executive summary

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.

Top finding

Correct answers are still unsafe when the supporting source is gone.

High

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
Replay cases

Before, change, failure, fix, result.

Case OPENAI-DOCS-001

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.
Case OPENAI-DOCS-002

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.
Case OPENAI-DOCS-003

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.
Case OPENAI-DOCS-004

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.
Evidence boundary

This is public-docs proof, not customer production RAG proof.

Allowed

Public docs audit

Markdown docs, business questions, controlled evidence changes, and live DeepSeek calls.

Allowed

Evidence checks

Source-id validation, forbidden-claim checks, and missing-evidence failure capture.

Not allowed

Production RAG claim

This does not prove behavior inside a customer's deployed retrieval stack.

Next

Customer-style workflow

Run the same audit on private support, policy, or agent workflow docs.

Delivery bundle

Find the answers your AI gives after the evidence disappears.

Request your audit