Reading the Docs with AI
Make AI Read the Real Docs
Memory Is Not Documentation
Ask AI about a vendor's API from memory and you'll get something that looks perfect. It may be an old version. It may be an endpoint (one address the API answers at) that never existed. It sounds the same either way.
So give it the source. In order of preference:
- The OpenAPI or Swagger file, if the vendor has one. It's the whole API in a form machines read: every address, field and type.
- The official reference pages, by link or pasted in.
- The changelog, so you know what's being shut off and when.
Then ask like this:
Read the docs I gave you. Use only those pages, not memory.
I need: [the data, in plain words].
Make a table with one row per thing I need:
- endpoint and method
- exact field names
- permission required
- page size, rate limit, and how far back it goes
- link to the page that says so
If the docs don't say, write NOT DOCUMENTED. Do not guess.
The last line matters most. Without permission to say "I don't know," it fills the blank.
Your Check
Open three of those links yourself. Search the page for the exact field name. If one doesn't hold up, don't trust the rest of the table.
Then get one real response. Docs describe what the vendor meant. A response shows what it does.
Use a test account or the smallest read you can. Save one response with names, numbers and keys scrubbed out, and have AI compare it to the docs: missing fields, extra fields, empty values, wrong types.
Why tell AI to write NOT DOCUMENTED?