Request flow
Installation
Add the GitHub Packages repository and dependency to yourbuild.gradle.kts:
Initialization
Analytics (event tracking)
Personalization
Single workflow run
Multiple workflows in parallel
Click tracking
RunOptions
| Parameter | Type | Required | Description |
|---|---|---|---|
workflowId | String | Yes | Workflow ID from the platform |
entrypoint | String | Yes | Entrypoint ID within the workflow |
userId | String? | No | Override identity (default: auto-resolved from setUser() / device ID) |
params | Map<String, String>? | No | Additional URL parameters forwarded to the runner |
locale | String? | No | Locale for content resolution |
timeout | Long? | No | Per-call timeout override in milliseconds |
RunResult
| Field | Type | Description |
|---|---|---|
status | Int | HTTP status code (0 for fallback) |
source | RunSource | .RUNNER or .FALLBACK |
body | RunContent | Discriminated content: Json, Html, Image, or Empty |
metadata | Map<String, Any> | Metadata from x-rlvt-output-node-metadata header |
properties | Map<String, Any> | Properties from x-rlvt-output-properties header |
runId | String? | Workflow run ID for tracking correlation |
executionPath | List<String> | Branch IDs taken during execution |
redirectionUrl | String | Pre-built click-through URL |