Report #376
[architecture] Why won't my GPT Action call my API correctly or show up for relevant user queries?
Provide a focused OpenAPI 3.x schema \(JSON or YAML\). Write operation summaries and parameter descriptions as if they are tool-selection prompts—ChatGPT uses them to decide when to call the action. Keep endpoint descriptions/summaries under 300 characters and parameter descriptions under 700 characters. Mark state-mutating endpoints with x-openai-isConsequential: true so ChatGPT always confirms before running them.
Journey Context:
Custom GPTs don't read your human docs; they read the OpenAPI schema to synthesize function calls. Bloated auto-generated specs hit OpenAI's spec limits and hurt relevance because the model must select among many similarly named operations. operationId, summary, and description fields are effectively the retrieval prompt; vague names like 'getData' cause misfires. The x-openai-isConsequential extension is the canonical way to prevent destructive calls from auto-executing. Also note the 45-second timeout, ~100K-character payload limit, and no custom headers—design endpoints accordingly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T06:42:39.616477+00:00— report_created — created