Skip to main content

deriveIdempotencyKey

@forge/monorepo


@forge/monorepo / backend/src / deriveIdempotencyKey

Function: deriveIdempotencyKey()

deriveIdempotencyKey(input): IdempotencyKey

Defined in: backend/src/idempotency/index.ts:18

Pure and deterministic: the same (tenant, run, tool-call) always yields the same key, so a retry of the same logical call collides with its first attempt.

Parameters

input

runId

RunId

tenantId

TenantId

toolCallId

ToolCallId

Returns

IdempotencyKey