Created the Copilot per-surface reference page at /Users/aufahusen/Documents/cancodeworkspace/aisearchapi/apps/docs/api-reference/surfaces/copilot.mdx It follows the required Mintlify structure:
  • Frontmatter exactly: title “Copilot”, description (one sentence), icon “comment”.
  • Intro noting Copilot is captured from the live app in a real browser and normalizes to the same canonical Envelope.
  • Quick-facts table (enum copilot, 5 credits charged only on success, alias path, common evidence: answer + evidence.sources + evidence.mentions + evidence.shopping).
  • Request example via POST /v1/search with surfaces: ["copilot"] in cURL/Node/Python (CodeGroup), plus the 202 fan-out response with a generic child id job_8t2q.copilot.us.
  • Trimmed canonical Envelope (job, provenance with model/region/surfacePresent, answer.text/markdown/blocks with referenceIds, evidence.sources/mentions/shopping) and ResponseField docs.
  • surface_absent / surfacePresent=false Note (empty capture not charged).
  • Per-surface alias section: POST /v1/search/copilot, sync-by-default, prompt alias and flat country.
  • Cross-links to /guides/output-formats, /guides/webhooks, /api-reference/search, /api-reference/get-job.
Ban-list obeyed: no banned terms; used only the allowed Envelope fields; child id is the generic job_<id>.<surface>.<region> form. Note: search.mdx in the same repo links to /guides/output-formats and /guides/webhooks rather than /guides/*, so if the site standardizes on /concepts/ paths those two link prefixes may need aligning. I followed the task’s specified /guides/ paths.