Skip to main content
GET
Get an existing source's column mappings for pre-filling the wizard
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /source-creator/sources//mappings Description: Returns the active SourceColumnMapping rows for an existing RoyaltySource, reshaped as ColumnMappingSuggestion-like entries (confidence fixed at 1.0, reasoning “Pre-filled from existing source”, no alternatives). Used for the “copy & modify” tier (75-94% header match) to pre-populate the mapping step instead of re-running AI mapping from scratch. The source must be public or already linked to the calling tenant. Note: id here is the RoyaltySource ID, distinct from the wizard SourceCreatorSession ID used in the /sessions/{id}/... routes. Authorization:
  • Required role: admin or higher
Method: GET

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

RoyaltySource ID

Response

Source mappings retrieved successfully

status
string
Example:

"success"

message
string
Example:

"Source mappings retrieved successfully"

data
object[]