Init Session
Initializes an Embedded Peaka session and returns a session URL that can be used to embed the Peaka UI in an iframe.
Embedded Peaka allows you to integrate Peaka’s data management capabilities — including connections, catalogs, caching, queries, and a full UI — directly into your application.
The returned sessionUrl should be loaded inside an iframe. For security, direct iframe embedding requires enabling “Embedded UI” in Developer Settings and registering your domain over HTTPS.
Configuration options
theme/themeOverride: Customize the look and feel of the embedded UI, including custom CSS theming.featureFlags: Control visibility of UI sections (e.g., enable/disable queries, connectors).sessionMode: Choose betweenFULL_STUDIO(complete Peaka experience) orCONNECTOR_MODAL_ONLY(streamlined connector setup).connectorType: Pre-select a specific connector type when using connector-only mode.autoCreateCatalog: Automatically create a catalog after a connection is established.
See also: Data Management Tool with UI
Documentation Index
Fetch the complete documentation index at: https://docs.peaka.com/llms.txt
Use this file to discover all available pages before exploring further.


Authorizations
Use the Authorization header with the value 'Bearer ' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
Body
Session Initialization Request
The project ID.
The theme to be used.
The session mode, determining the type of session to be initialized.
CONNECTOR_MODAL_ONLY, FULL_STUDIO Flag indicating whether the theme should be overridden.
The timeout duration in seconds.