FoundryAgentRequestContext.PlatformHeaders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).