aiendpoint.dev
ServicesClaude

Claude

community

Anthropic AI assistant. Conversational AI for analysis, writing, coding, math, and creative tasks.

Visit site ↗

This is a community-generated spec

This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.

https://claude.aiapikeyaiproductivityconfidence: 87/1000 discoveries1 contributors
POSThttps://api.anthropic.com/v1/messages

Send a message to Claude via API

Parameters

modelclaude-opus-4-6|claude-sonnet-4-6|claude-haiku-4-5-20251001 (stringrequired
systemsystem prompt (stringoptional
messagesconversation array of {rolerequiredcontent} (array
max_tokensmax response tokens (integerrequired
temperature0-1 (numberoptional

Returns

content[] with type, text; usage with input_tokens, output_tokens; stop_reason
POSThttps://api.anthropic.com/v1/messages/count_tokens

Count tokens for a message

Parameters

modelmodel name (stringrequired
systemsystem prompt (stringoptional
messagesmessages to count (arrayrequired

Returns

input_tokens count
GEThttps://api.anthropic.com/v1/models

List available Claude models

Returns

data[] with id, display_name, type, created_at