Step 1b — Set the DataClass for a session
Source Creator
Step 1b — Set the DataClass for a session
PUT /source-creator/sessions//data-class
PUT
Step 1b — Set the DataClass for a session
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
PUT /source-creator/sessions//data-class Description: Sets the targetDataClass (digital_royalty, physical_sales, …) on
the session, run after analyze and before ai-map-columns. Gates
downstream mapping validation against the correct canonical f_*
fact-table schema.
Authorization:
- Requires
royaltyAccesssubscription feature
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Session ID
Body
application/json
Canonical multi-class revenue taxonomy value. Single source of truth:
src/interface/DataClass.ts. Determines which canonical f_*
fact-table schema the confirmed column mappings are validated
against.
Available options:
digital_royalty, physical_sales, tour_revenue, merch_sale, brand_milestone, stream_trends, artificial_streams, social_trends