Skip to main content
GET
Get an existing source's queries for copy & modify versioning
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /source-creator/sources//queries Description: Returns an existing RoyaltySource’s salesDataQuery, royaltySumQuery, countSumQuery, columnFormat, tableNameFormat, name/label, and royaltyType — used to seed a “copy & modify” wizard session so generate-queries can infer transform patterns from the parent’s SQL. 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. Authorization:
  • Requires royaltyAccess subscription feature
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 queries retrieved successfully

status
string
Example:

"success"

message
string
Example:

"Source queries retrieved successfully"

data
object