Class ChatCompletions | Azure SDK for .NET
David Craig
Published Feb 16, 2026
A representation of a full response to a chat completions request.
Inheritance
System.Object
ChatCompletions
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.AI.OpenAI.dll
Syntax
public class ChatCompletions Properties
Choices
Gets the collection of chat choices generated in a chat completions request.
Declaration
public System.Collections.Generic.IReadOnlyList<Azure.AI.OpenAI.ChatChoice> Choices { get; } Property Value
| System.Collections.Generic.IReadOnlyList<ChatChoice> |
Created
Gets the UTC timestamp at which this chat completions response was generated.
Declaration
public DateTime Created { get; } Property Value
| System.DateTime |
Id
Gets a unique identifier associated with a chat completions response.
Declaration
public string Id { get; } Property Value
| System.String |
Usage
Gets usage counts for tokens using the chat completions API.
Declaration
public Azure.AI.OpenAI.CompletionsUsage Usage { get; }