Apple's Docs Point Automated Tools to a Markdown Page. For Privacy Reason Codes It Has 0 of 17.

A plain fetch of an Apple documentation page now returns a notice addressed to tools: a heading, "Automated tools and assistive tools:", and under it "A Markdown version of the page content is available:" with a link. On November 13, 2026 an AI coding session fetched the Markdown version of the page that defines the privacy-manifest reason codes, at that page's URL with .md appended. The commands and outputs below come from that session. The Markdown is 1,515 bytes and contains none of the 17 codes. The JSON served for the same page under /tutorials/data/ is 22,471 bytes and contains all of them.

This matters to anyone who lets an AI coding agent, or a script, answer a question about Apple's documentation. Apple's own page says an app that does not describe its use of required reason API in its privacy manifest is not accepted by App Store Connect, so a code taken from a model's memory is a bad thing to ship.

What a plain fetch returns

On October 31, 2026 an AI coding session on FocusStudy, an iOS app of mine, was verifying privacy-manifest reason codes. The agent fetched the documentation page with its web-fetch tool. The record of that session says the fetch returned only the page title, and that the model then answered from recall and said so.

The same request on November 13:

curl -sSL -o page.html -w 'http=%{http_code} bytes=%{size_download}\n' \
  https://developer.apple.com/documentation/bundleresources/describing-use-of-required-reason-api
http=200 bytes=18883

With scripts, styles and tags removed, those 18,883 bytes hold this text and nothing else:

Describing use of required reason API | Apple Developer Documentation
This page requires JavaScript.
Please turn on JavaScript in your browser and refresh the page to view its content.
Automated tools and assistive tools:
A Markdown version of the page content is available: View Markdown

The cause is stated in the HTML itself: a noscript block, and three deferred script bundles under /tutorials/js/. The agent's fetch tool, asked for everything on the page, again returned one line, the title. The October record does not mention the Markdown notice. A one-line answer is not the HTML, so the record cannot show whether the notice existed then.

Where the Markdown stops

The HTML also carries <link rel="alternate" type="text/markdown">, and the target is the page URL plus .md. For the article page it works: 4,588 bytes of real prose. But the article says the categories, the APIs and the reasons "are described in the documentation for the dictionary keys", which are two more pages. The count of CA92.1 in each file fetched:

nsprivacyaccessedapitypereasons.md    bytes=1515   CA92.1=0
nsprivacyaccessedapitypereasons.json  bytes=22471  CA92.1=1
nsprivacyaccessedapitype.md           bytes=1212   CA92.1=0
nsprivacyaccessedapitype.json         bytes=49889  CA92.1=1

Each Markdown page has a metadata comment, the abstract, a short Discussion and a copyright line. In the JSON, the codes sit in a section whose kind is possibleValues. Neither Markdown page contains anything from that section. That is what was observed on two pages; why the section is missing is not something these files say.

The JSON address is the documentation path under another prefix:

curl -sSL https://developer.apple.com/tutorials/data/documentation/bundleresources/app-privacy-configuration/nsprivacyaccessedapitypes/nsprivacyaccessedapitypereasons.json

The October record gives the path in lowercase. On November 13 the mixed-case path also returned 200 for this page, so lowercasing is a precaution here, not a verified requirement.

Trap 1: the code comes after its definition

Each of the 17 values is an object with two keys, and in the bytes Apple serves, the name is the second one:

{
  "content": [
    {
      "inlineContent": [
        {
          "text": "Declare this reason to access the timestamps, size, or other metadata of files inside the app container, app group container, or the app’s CloudKit container.",
          "type": "text"
        }
      ],
      "type": "paragraph"
    }
  ],
  "name": "C617.1"
}

Flatten the section to its strings with jq '.. | strings', drop the type markers, and every code prints below its own definition and directly above the next one:

Declare this reason to access user defaults to read and write information that is only accessible to the app itself.
This reason does not permit reading information that was written by other apps or the system, or writing information that can be accessed by other apps.
CA92.1
Declare this reason to access user defaults to read and write information that is only accessible to the apps, app extensions, and App Clips that are members of the same App Group as the app itself.

A reader, human or model, who takes a code as a heading pairs CA92.1 with the App Group text, which is the definition of 1C8F.1. The October record says the session's flattened text did exactly this. The other page uses a different shape, a term list, and it also serves definition before term. The reasons page has no term list at all, so a parser written for one page finds nothing on the other, which the October record also notes.

Trap 2: half the API names are not text

The API list gives each category's APIs in two encodings. A C function is inline code: {"code":"mach_absolute_time()","type":"codeVoice"}. A linked symbol is only a pointer: {"identifier":"doc://com.apple.documentation/documentation/Foundation/ProcessInfo/systemUptime","isActive":true,"type":"reference"}, and its display title is in the top-level references object. Collecting the text and code fields of the system boot time list returns one name out of two:

["mach_absolute_time()"]

Across the five categories the page lists 30 APIs, 15 of each kind, so that extraction misses half. UserDefaults and activeInputModes are the only entries in their categories, and both are links.

Reading both shapes

A reader that avoids both traps does two things. It pairs each value's name with the content of the same object, never by position in flattened text. It also resolves every reference through the top-level references object to that entry's title.

On November 13 the session read the two pages that way with a short jq program, which this article does not include. It printed 17 lines for the reasons page and 22 for the API list, five categories plus the same 17 codes, and it listed systemUptime, mach_absolute_time() for NSPrivacyAccessedAPICategorySystemBootTime. A path that does not exist returned HTTP 404. The three values in the October record hold: CA92.1 reads as the user-defaults definition quoted above, 35F9.1 is a reason to access the system boot time, and ProcessInfo.systemUptime is under NSPrivacyAccessedAPICategorySystemBootTime.

A second page, where the Markdown was enough

On November 11 the same path was used on AuthorizationCenter.authorizationStatus, during a device failure in the same app: a break taken with the app in the background ended the session as authorizationRevoked, four times on two builds. The JSON on November 13, with link titles filled in, says:

The initial value is always AuthorizationStatus.notDetermined. The system sets this property only after a call to requestAuthorization(for:) succeeds.

Only access the authorizationStatus property on the main queue.

The Markdown page carries both sentences too, with its links as Markdown links and the main-queue link as a doc:// reference. The record of November 11 says the app's monitor extension read the property on each callback, on the callback thread, in a process that never requests authorization. At commit 979891f the engine and the monitor extension read the property through one function, which moves to the main queue when it is called from another thread and maps notDetermined to "unknown", which is not a revocation. The app's own authorization service also reads the property, on the main actor.

The page gave the investigation a direction; it is not the evidence that the change works. The November 11 record still lists device verification as open. The public issue was closed on November 13, and its closing comment cites device runs from November 11 in which the break re-blocked four times on the build with the change. The comment also says that no new device run was made for the close. The same record adds that a real revocation in Settings also read as notDetermined on iOS 27.0.1; the page says the status can change through Settings, and does not describe that reading.

Which source to read

Four choices exist: Apple's Markdown, the JSON, a headless browser that runs the page's JavaScript, and a person reading the page or Xcode's local documentation. The November 13 session tested only the first two.

The evidence above supports this order. Read the Markdown first, because it is the one path Apple's page tells automated tools to use. When the page is a key with possible values, or the Markdown has no codes where codes are expected, read the JSON, and read it by structure.

The strongest argument against the JSON is that nothing commits Apple to it. Two web searches on November 13, whose queries were not saved, found no Apple statement about /tutorials/data/documentation/, so this article treats it as an observed, undocumented delivery path, not an API. Its schemaVersion reads 0.3.0. A reader written for one shape also fails quietly on another: on the article page, which has no possibleValues section, the session's jq program printed nothing and exited 0. Someone who needs the result to hold next year can reasonably prefer a rendered page and a human check, at the price of a browser in the loop.

A separate choice is what an agent does when it cannot read the source. In the October session the model answered from recall and said so, and the record lists the JSON path next, as the one that worked. The record does not say whether the recalled codes were wrong. A recalled code that is stated as recalled can be checked; one that is not looks the same as a code read from the page. The Markdown case removes even the failed fetch as a signal: the tool gets a clean, short, official page, and nothing in it says that 17 values are missing.

Limits

Everything here was fetched on November 13, 2026, from one network, with curl's default User-Agent: four documentation pages as Markdown and JSON and one of them as HTML, in fewer than twenty requests. On November 27 the same Markdown and JSON files were fetched again, with the same byte counts. The session did not test other documentation sections, the localized pages the HTML links to, symbols with unusual characters in their paths, or a headless browser. Rate limits were not measured. Apple's website terms of use, read on November 27, say that you may not use any "robot", "spider" or other automatic device "to obtain or attempt to obtain any materials, documents or information through any means not purposely made available through the Site." This article does not establish whether those terms govern developer.apple.com, or whether the Markdown link or the JSON path counts as purposely made available; read the terms before automating this at any volume. The session's reader handled the two shapes on these two pages and was not run on any other page with possible values.