Skip to content

LanguageModelV4ResponseMetadata

Namespace: E2E.Decision.Sdk

public sealed class LanguageModelV4ResponseMetadata

The AI SDK’s LanguageModelV4ResponseMetadata (language-model-v4-response-metadata.ts) with the headers and body of a result’s response.

Inheritance: object

View source

public JsonElement? Body { get; init; }

The response HTTP body.

Value: JsonElement?

public IReadOnlyDictionary<string, string>? Headers { get; init; }

The response headers, lowercase names.

Value: IReadOnlyDictionary<string, string>

public string? Id { get; init; }

The ID for the generated response, if the provider sends one.

Value: string

public string? ModelId { get; init; }

The ID of the response model that was used to generate the response, if the provider sends one.

Value: string

public DateTimeOffset? Timestamp { get; init; }

The timestamp for the start of the generated response, if the provider sends one.

Value: DateTimeOffset?