anthropic4s
GitHub

Reference API reference

API reference

Every page documents one part of the public API: its signature, copied from the source, what each parameter means, what it returns, its caveats and an example. To learn the library step by step, start with the docs.

Client#

Messages#

Requests and replies#

Agents#

Errors#

Structured data#

Integrations#

Other APIs#

Everything else

The pages above cover the API you use day to day. Every type, content blocks and stream events included, is in the Scaladoc of each module:

Every signature and example on this page is copied, character for character, from the public source of anthropic4s and its Scaladoc. The complete API, every type included, is in the Scaladoc of each module.