Skip to content

Topics

Topics Brooklyn looks for in contracts (e.g. “Liability cap”).

Base path
/ocr-topic

Endpoints

10 endpoints

Method

Standard Operations

7
  • GET /ocr-topic List topics (with search, filters and paging).
  • POST /ocr-topic Create a new topic.
  • PATCH /ocr-topic/bulk Update several topics at once.
  • GET /ocr-topic/{id} Open a single topic.
  • PUT /ocr-topic/{id} Replace a topic's details in full.
  • PATCH /ocr-topic/{id} Edit a topic.
  • DELETE /ocr-topic/{id} Delete a topic.

Additional Operations

3
  • GET /ocr-topic/{id}/affected-sessions-count Count how many reading sessions a topic change would affect.
  • POST /ocr-topic/{id}/rerun-all-sessions Re-match a topic across all past reading sessions.
  • GET /ocr-topic/{ocrtopicId}/block List the text blocks matched to a topic.