Skip to main content
The Code Prediction endpoint is stateless and accepts either a documentId or a free-form text block.
Or:

Best practices

  • Always pass documentId over text when available — span anchors require the document context
  • Restrict code_systems to what you need; more systems = more work
  • Set min_confidence to filter low-confidence predictions
  • For CDI, use /api/coding/cdi/review not /predict