Light Dark

hot.dev/anthropic — Anthropic Claude API bindings for Hot. Includes Messages, Models, Batches, Files, Skills, Token Counting, and Prompt Caching APIs.

Version: 1.0.4

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/anthropic": "1.0.4"

Add this to your deps in hot.hot

Namespaces

::anthropic

NamespaceFunctionsTypesDescription
::api21Make an HTTP request with pre-filled Anthropic service headers.
::batches55Anthropic Message Batches API - Process large volumes of messages asynchronously with 50% cost reduction.
::complete16POST /v1/complete - Create a text completion (legacy).
::files42Anthropic Files API (Beta) - Upload and manage files for use across API calls.
::messages317POST /v1/messages - Create a message.
::models22Anthropic Models API - List and retrieve available Claude models.
::skills44Anthropic Skills API (Beta) - Create and manage custom agent skills.

::anthropic::beta

NamespaceFunctionsTypesDescription
::messages315POST /v1/messages (beta) - Create a message using the beta API endpoint.

::anthropic::prompt

NamespaceFunctionsTypesDescription
::caching110POST /v1/messages (prompt caching beta) - Create a message with prompt caching.