Circle V2 API Docs
    Preparing search index...
    • Finds the matching document for a citation source by ID, falling back to title matching for legacy citations that lack a documentId.

      Parameters

      • source: { documentId?: string | null; name: string }
      • documents: DocumentRef[]

      Returns { documentId?: string; documentType?: string }