APIs & SDKs

The wire protocols and client libraries you'll actually write code against.

Sign in to track your progress across sections.

7 articles

Function Calling

Listed inFunction CallingAPIs & SDKson

The model returns a request your code chooses to run. Arguments are model-generated, and providers document the model inventing ones nobody supplied.

Intermediate4 min
#api
#security

Claude Messages API

Listed inClaude Messages APIAPIs & SDKson

The three required parameters include max_tokens, which is optional almost everywhere else. Content comes back as an array of typed blocks, so indexing the first one breaks the day you enable tools.

Beginner3 min
#api