SDK API
Client Onboard
Onboard a new client from an exported onboarding JSON package — creates semantic model, VDM(s), dashboards, and client registry entry
POST
Full client onboarding from a self-contained JSON package. Creates all resources (semantic model, VDMs, dashboards with experiments and facades) and registers the client as
ACTIVE.
This endpoint supports both API key authentication (
Authorization: Bearer trvh_sdk_...) and browser session authentication (POST /v1/sdk/client/onboard/{userId} with CSRF token).Request Body
The request body is an onboarding JSON package — the same format produced by the Download button in the Client Onboarding UI.Unique client identifier (e.g.,
"DEF"). Will be uppercased automatically.Display name for the client (e.g.,
"Client DEF Corp").DataBridge connection ID for the client’s data source (e.g.,
"D2026A00042").The
modelId of the core semantic model to inherit from. Must exist on the target platform.Key name used for row-level security user mapping (e.g.,
"CRD_ALPHA_CORE").Array of VDM configurations. At least one is required.
Array of dashboard definitions. Each dashboard creates experiments and a facade.
Global security settings.
Response
Whether the request completed.
"COMPLETED" for new clients, "ALREADY_EXISTS" if the client was already onboarded.The created (or existing) client registry record.