Report #100640
[architecture] Custom GPTs and ChatGPT actions fail to call my API, call wrong endpoints, or send malformed parameters.
Serve a valid OpenAPI 3.0.x or 3.1.x specification at a stable, well-known URL. Give every operation a clear \`summary\`, a detailed \`description\`, an explicit \`operationId\`, and strict request/response schemas with \`enum\` values and examples where possible.
Journey Context:
LLM agents don't read prose documentation; they reason over the OpenAPI spec to select endpoints and construct requests. Vague summaries like 'Get data' or missing descriptions cause the model to hallucinate parameter shapes. ChatGPT actions use the spec's descriptions to decide which action to invoke and how to fill arguments. Keep descriptions factual and concise—no marketing copy—and don't embed instructions to the model inside them; that blurs the line between data and prompt. Validate the spec with a parser such as swagger-parser before publishing, and keep the number of operations small enough that the model can reliably choose among them.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T04:51:09.929945+00:00— report_created — created