Table of Contents

Class MessageBatchResponse

Namespace
AnthropicClient.Models
Assembly
AnthropicClient.dll

Represents a response to a batch of messages.

public class MessageBatchResponse
Inheritance
MessageBatchResponse
Inherited Members

Properties

ArchivedAt

Gets the date and time when the batch was archived.

[JsonPropertyName("archived_at")]
public DateTimeOffset? ArchivedAt { get; init; }

Property Value

DateTimeOffset?

CancelInitiatedAt

Gets the date and time when the batch cancellation was initiated.

[JsonPropertyName("cancel_initiated_at")]
public DateTimeOffset? CancelInitiatedAt { get; init; }

Property Value

DateTimeOffset?

CreatedAt

Gets the date and time when the batch was created.

[JsonPropertyName("created_at")]
public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

EndedAt

Gets the date and time when the batch ended.

[JsonPropertyName("ended_at")]
public DateTimeOffset? EndedAt { get; init; }

Property Value

DateTimeOffset?

ExpiresAt

Gets the date and time when the batch expires.

[JsonPropertyName("expires_at")]
public DateTimeOffset ExpiresAt { get; init; }

Property Value

DateTimeOffset

Id

Gets the identifier of the batch.

public string Id { get; init; }

Property Value

string

ProcessingStatus

Gets the processing status of the batch.

[JsonPropertyName("processing_status")]
public string ProcessingStatus { get; init; }

Property Value

string

RequestCounts

Gets the counts of requests in the batch.

[JsonPropertyName("request_counts")]
public MessageBatchRequestCounts RequestCounts { get; init; }

Property Value

MessageBatchRequestCounts

ResultsUrl

Gets the URL to the results of the batch.

[JsonPropertyName("results_url")]
public string? ResultsUrl { get; init; }

Property Value

string

Type

Gets the type of the batch.

public string Type { get; init; }

Property Value

string