Skip to content

AnthropicBatchCounts

Namespace: Vercel.AI.Anthropic

public sealed class AnthropicBatchCounts

Request counts derived from an Anthropic message batch.

Inheritance: object

View source

public AnthropicBatchCounts(int total, int pending, int completed, int failed)

Creates counts.

Parameters

Name Type Description
total int
pending int
completed int
failed int

View source

public int Completed { get; }

Succeeded requests.

Value: int

View source

public int Failed { get; }

errored + canceled + expired.

Value: int

View source

public int Pending { get; }

Requests still processing.

Value: int

View source

public int Total { get; }

processing + succeeded + errored + canceled + expired.

Value: int

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product