KYC enrichment in case - #1074
Merged
OrriMandarin merged 1 commit intoSep 10, 2025
Merged
Conversation
OrriMandarin
marked this pull request as draft
September 4, 2025 16:26
OrriMandarin
marked this pull request as ready for review
September 5, 2025 09:08
- Introduced a new endpoint `/cases/{caseId}/enrich_kyc` to enrich case data with KYC information.
- Added `KYCAnalysisDto` and `GroundingCitationDto` schemas to support the new endpoint.
- Updated TypeScript definitions to include the new data structures and API function.
siiick
force-pushed
the
leoji/mar-1210-create-the-kyc-enrichment-usecase
branch
from
September 9, 2025 21:12
8e8d78f to
9da2aa8
Compare
siiick
approved these changes
Sep 10, 2025
OrriMandarin
deleted the
leoji/mar-1210-create-the-kyc-enrichment-usecase
branch
September 10, 2025 09:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new API endpoint for enriching case data with KYC (Know Your Customer) analysis and adds supporting schema definitions to the Marble API. The main changes focus on extending the API to support KYC enrichment and providing the necessary data structures for the response.
API Additions
/cases/{caseId}/enrich_kycto the API, allowing clients to enrich the pivot object of a case with KYC data if present. The endpoint returns an array of KYC analysis results. [1] [2]Schema Updates
KYCAnalysisDtoschema, which contains fields for the analysis output, entity name, and a list of citations justifying the analysis. [1] [2]GroundingCitationDtoschema, representing a citation with title, domain, URL, and date, used to justify KYC analyses. [1] [2]