Skip to content

KYC enrichment in case - #1074

Merged
OrriMandarin merged 1 commit into
mainfrom
leoji/mar-1210-create-the-kyc-enrichment-usecase
Sep 10, 2025
Merged

KYC enrichment in case#1074
OrriMandarin merged 1 commit into
mainfrom
leoji/mar-1210-create-the-kyc-enrichment-usecase

Conversation

@OrriMandarin

@OrriMandarin OrriMandarin commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

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

  • Added a new endpoint /cases/{caseId}/enrich_kyc to 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

  • Introduced the KYCAnalysisDto schema, which contains fields for the analysis output, entity name, and a list of citations justifying the analysis. [1] [2]
  • Added the GroundingCitationDto schema, representing a citation with title, domain, URL, and date, used to justify KYC analyses. [1] [2]

@linear

linear Bot commented Sep 4, 2025

Copy link
Copy Markdown

@OrriMandarin
OrriMandarin marked this pull request as draft September 4, 2025 16:26
@OrriMandarin OrriMandarin self-assigned this Sep 4, 2025
@OrriMandarin
OrriMandarin requested a review from siiick September 5, 2025 09:08
@OrriMandarin
OrriMandarin marked this pull request as ready for review September 5, 2025 09:08
@OrriMandarin OrriMandarin added the enhancement New feature or request label Sep 5, 2025
- 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
siiick force-pushed the leoji/mar-1210-create-the-kyc-enrichment-usecase branch from 8e8d78f to 9da2aa8 Compare September 9, 2025 21:12
@OrriMandarin
OrriMandarin merged commit ba6c694 into main Sep 10, 2025
6 checks passed
@OrriMandarin
OrriMandarin deleted the leoji/mar-1210-create-the-kyc-enrichment-usecase branch September 10, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants