buildCheckpointKey

fun buildCheckpointKey(baseUrl: String, taskId: String, namespace: String? = null): String

Constructs a unique key for storing task checkpoints, incorporating the base URL, task ID, and an optional namespace to prevent collisions across different API instances or environments.

Return

A string representing the unique checkpoint key.

Parameters

baseUrl

The base URL of the API.

taskId

The unique identifier of the task.

namespace

An optional namespace to further qualify the key.