# Namespace AnthropicClient.Models

### Classes

AnthropicError

  Represents an error response from the Anthropic API.

AnthropicEvent

  Represents an event from the Anthropic API.

AnthropicFile

  Represents a file object from the Anthropic Files API.

AnthropicFileDeleteResponse

  Represents the response from deleting a file in the Anthropic API.

AnthropicFunction

  Represents a function that can be provided as a tool.

AnthropicHeaders

  Represents headers included in Anthropic API responses.

AnthropicModel

  Represents an Anthropic model.

AnthropicModels

  Provides constants for the Anthropic models.

AnyToolChoice

  Represents the any tool choice mode.

ApiError

  Represents an api_error response from the Anthropic API.

AuthenticationError

  Represents an authentication_error response from the Anthropic API.

AutoToolChoice

  Represents the auto tool choice mode.

Base64Source

  Represents a base64 source.

BaseMessageRequest

  Represents a message request.

CacheControl

  Represents the cache control to be used for content.

CacheControlType

  Provides constants for cache control types.

CanceledMessageBatchResult

  Represents a message batch result that was cancelled.

CharacterLocationCitation

  Represents a citation for specific locations within text content.

Citation

  Represents a citation

CitationDelta

  Represents a citation delta.

CitationOption

  Represents whether citations are enabled for a document.

CitationType

  The types of citations that can be returned by the Anthropic API.

Content

  Represents part of the content of a message.

ContentBlockLocationCitation

  Represents a citation for content blocks within custom content.

ContentDelta

  Represents a content delta.

ContentDeltaEventData

  Represents data for a content_block_delta event.

ContentDeltaType

  Provides constants for content delta types.

ContentStartEventData

  Represents data for a content_block_start event.

ContentStopEventData

  Represents data for a content_block_stop event.

ContentType

  Represents the content type.

CountMessageTokensRequest

  Represents a request to count the number of tokens in a message.

CreateFileRequest

  Represents a request to create a file via the Anthropic Files API.

CustomSource

  Represents a custom source that contains a list of text content.

DocumentContent

  Represents content from a document that is part of a message.

DocumentSource

  Represents a document source.

EphemeralCacheControl

  Represents the cache control to be used for content.

Error

  Represents an error.

ErrorEventData

  Represents data for an error event.

ErrorType

  Represents the error type.

ErroredMessageBatchResult

  Represents a message batch result that contains an error response.

EventData

  Represents data for an event.

EventType

  Provides constants for event types.

ExpiredMessageBatchResult

  Represents a message batch result that has expired.

FileSource

  Represents a file source in the Anthropic API.

FunctionParameterAttribute

  Attribute to describe a function parameter.

FunctionPropertyAttribute

  Attribute to describe a property of a type that is used as a function parameter.

ImageContent

  Represents image content that is part of a message.

ImageSource

  Represents an image source.

ImageType

  Represents the image type.

InputProperty

  Represents an input property.

InputSchema

  Represents an input schema.

InvalidRequestError

  Represents an invalid_request error.

JsonDelta

  Represents a JSON delta.

Message

  Represents a message.

MessageBatchDeleteResponse

  Represents a message batch delete response.

MessageBatchRequest

  Represents a request to create a batch of messages.

MessageBatchRequestCounts

  Represents the counts of requests in a batch of messages.

MessageBatchRequestItem

  Represents an item in a batch of messages.

MessageBatchResponse

  Represents a response to a batch of messages.

MessageBatchResult

  Represents a message batch result.

MessageBatchResultItem

  Represents a message batch result item.

MessageBatchResultType

  Represents the types of message batch results.

MessageBatchStatus

  Represents the status of a message batch.

MessageCompleteEventData

  Represents data for the message_complete event.

MessageDelta

  Represents a message delta.

MessageDeltaEventData

  Represents data for a message_delta event.

MessageRequest

  Represents a message request.

MessageResponse

  Represents a response.

MessageRole

  Represents the message role.

MessageStartEventData

  Represents data for a message_start event.

MessageStopEventData

  Represents data for a message_stop event.

NotFoundError

  Represents a not_found error.

OverloadedError

  Represents an overloaded error.

Page

  Represents a page.

PageLocationCitation

  Represents a citation for text within a page of a document.

Page<T>

  Represents a page with data.

PagingRequest

  Represents a request to page through a collection of items.

PermissionError

  Represents a permission error.

PingEventData

  Represents data for a ping event.

RateLimitError

  Represents a rate_limit error.

Source

  Represents a base class for sources.

SourceType

  Represents the types of document sources that can be used in the Anthropic API.

SpecificToolChoice

  Represents the specific tool choice mode.

StopReasonType

  Represents the stop reason type.

StreamMessageRequest

  Represents a message request.

SucceededMessageBatchResult

  Represents a message batch result that contains a message response.

TextContent

  Represents text content that is part of a message.

TextDelta

  Represents a text delta.

TextSource

  Represents a text document source.

TokenCountResponse

  Represents a response to a token count request.

Tool

  Represents a tool that can be used.

ToolCall

  Represents a tool call.

ToolCallResult<T>

  Represents a tool call result.

ToolChoice

  Represents a tool choice mode.

ToolChoiceType

  Represents the tool choice type.

ToolResultContent

  Represents tool result content that is part of a message.

ToolUseContent

  Represents tool use content that is part of a message.

UrlSource

  Represents a URL source in the Anthropic API.

Usage

  Represents the usage of a response.

### Interfaces

ITool

  Interface that a class can implement to be used to create a tool.