Skip to main content
POST
Get a smart source-name suggestion based on mapped data
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /source-creator/sessions//suggest-name Description: Derives a source-name suggestion in priority order: (1) the most common value in a mapped DSP column, (2) an aggregator keyword found in the source name or headers (e.g. “fuga”, “merlin”), (3) a cleaned version of the original filename — appends a format suffix (_csv/_tsv) and disambiguates against existing RoyaltySource names with a _v2, _v3, … suffix if the base name collides. Requires the session’s file to have been analyzed; does not require confirmed mappings (DSP-based detection is skipped if mappings aren’t confirmed yet). Authorization:
  • Required role: admin or higher
Method: POST

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Session ID

Response

Source name suggested successfully

status
string
Example:

"success"

message
string
Example:

"Source name suggested successfully"

data
object