FoundryAgentRequestContext.PlatformHeaders Method

Definition

Builds the platform identity headers to echo on outbound Foundry-bound calls. Only x-agent-foundry-call-id is included; x-agent-user-id is never echoed. Mirrors the Python SDK's FoundryAgentRequestContext.platform_headers().

public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> PlatformHeaders();
member this.PlatformHeaders : unit -> seq<System.Collections.Generic.KeyValuePair<string, string>>
Public Iterator Function PlatformHeaders () As IEnumerable(Of KeyValuePair(Of String, String))

Returns

The headers to merge onto an outbound request (empty when no call id is present).

Applies to