{
  "contract": "logoi_export_v1",
  "license": "CC BY 4.0",
  "license_url": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "logoi.health — https://logoi.health/receipts/soul-word-journey-v0",
  "attribution_rule": "Every exported file carries its own license line and receipt attribution; reuse requires the attribution line (CC BY 4.0).",
  "licensed_material_note": "Licensed lexica and authorities (licensed_citation_only) are excerpt-only pointers in every export: cite the authority, never reprint it.",
  "no_export_lanes": {
    "semantic_query": "no unmetered export lane: semantic_query spends embedding budget per call. Copy this payload, or export the cited passages individually.",
    "commentary_search": "no anonymous export lane: commentary_search is member/house-gated at the dispatch seam.",
    "consult_the_rhapsode": "no export lane: this result is served by the story-record house and is not Logoi export material."
  },
  "endpoints": {
    "term": "/api/v1/export/term/{language}/{lemma}.json — the per-word record (morphology paginated behind ?include=morphology&page=N)",
    "passage": "/api/v1/export/passage/{stable_id}.json — passage record + text where the source license permits display",
    "source": "/api/v1/export/source/{source_id}.json — source/edition provenance record with cite block",
    "receipt": "/api/v1/export/receipt/{receipt_id_or_slug}.json — audit receipt (the attribution target)",
    "concordance": "/api/v1/export/concordance/{language}/{lemma}.{json|csv}?page=&page_size=&work= — paginated attestations",
    "frequency": "/api/v1/export/frequency/{language}/{lemma}.{json|csv} — per-work counts, per-10k normalized, totals row in CSV",
    "cooccurrence": "/api/v1/export/cooccurrence/{language}/{lemma_a}.{json|csv}?lemma_b=&work=&limit= — co-occurrence / collocation",
    "cite": "/api/v1/export/cite/{term|passage|source}/....bib — BibTeX (JSON exports carry BibTeX + CSL-JSON + plain string)",
    "tool": "/api/v1/export/tool/{tool}.json?<tool-params> — GET replay of any corpus tool through the same dispatch seam",
    "bulk": "/downloads — build-time per-work JSONL dumps of open-licensed text + estate-derived data, with manifest"
  },
  "docs": "https://logoi.health/docs/exports"
}
