Package dev.langchain4j.model.anthropic.internal.api
package dev.langchain4j.model.anthropic.internal.api
-
ClassDescriptionMetadata for a batch job returned by the Anthropic Message Batches API (create, retrieve, cancel, and each entry of the list endpoint).A single line of the JSONL document served from a batch's
results_url.The reason a cache-diagnostics comparison found a divergence, or why no comparison was produced.Represents thecontainerblock of an Anthropic create-message request, used to enable Agent Skills.A single entry of thecontainer.skillsarray, e.g.Represents content in an Anthropic API message.Builder for constructingAnthropicContentinstances.Request object for counting tokens in a message using the Anthropic API.Builder for constructingAnthropicCountTokensRequestinstances.Request body for the Anthropic Message Batches API (POST /v1/messages/batches).Response object from the Anthropic Create Message API.Builder for constructingAnthropicCreateMessageResponseinstances.Result of an Anthropic (beta) cache-diagnostics comparison, returned onAnthropicCreateMessageResponse#diagnostics(and, for streaming, on themessage_startevent) when thecache-diagnosis-2026-04-07beta header anddiagnostics.previous_message_idrequest parameter were used.Request parameters enabling Anthropic's (beta) cache diagnostics feature.Response body for the list endpoint of the Anthropic Message Batches API (GET /v1/messages/batches).Represents metadata for Anthropic API requests.Represents information about an Anthropic model.Response object from the Anthropic Models List API.Represents token usage statistics from an Anthropic API response.Response object from the Anthropic token counting API.