Interface WorkloadAttributionInput

Per-operation attribution input.

Every property is optional so a request can override only one client default. When attribution is present, the SDK supplies an operation ID from the underlying project/job request when one is not provided.

interface WorkloadAttributionInput {
    agentFramework?: string;
    agentFrameworkVersion?: string;
    agentSurface?: AgentSurface;
    agentSurfaceVersion?: string;
    executionMode?: ExecutionMode;
    operationId?: string;
    operationScope?: OperationScope;
    parentOperationId?: string;
    rootOperationId?: string;
    workloadKind?: WorkloadKind;
}

Hierarchy (View Summary)

Properties

agentFramework?: string

Canonical agent host, for example codex, claude-code, or sogni-chat.

agentFrameworkVersion?: string

Version of the agent host when known.

agentSurface?: AgentSurface

How the agent host integrated with Sogni.

agentSurfaceVersion?: string

Version of the integration surface when known.

executionMode?: ExecutionMode

Product execution detail, such as browser or durable execution.

operationId?: string
operationScope?: OperationScope
parentOperationId?: string
rootOperationId?: string
workloadKind?: WorkloadKind