Loading...
  • 建構
  • 管理
  • 模型與定價
  • 客戶端 SDK
  • API 參考
Search...
⌘K
Log in
快速入門
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Solutions

  • AI agents
  • Code modernization
  • Coding
  • Customer support
  • Education
  • Financial services
  • Government
  • Life sciences

Partners

  • Amazon Bedrock
  • Google Cloud's Vertex AI

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Company

  • Anthropic
  • Careers
  • Economic Futures
  • Research
  • News
  • Responsible Scaling Policy
  • Security and compliance
  • Transparency

Learn

  • Blog
  • Courses
  • Use cases
  • Connectors
  • Customer stories
  • Engineering at Anthropic
  • Events
  • Powered by Claude
  • Service partners
  • Startups program

Help and security

  • Availability
  • Status
  • Support
  • Discord

Terms and policies

  • Privacy policy
  • Responsible disclosure policy
  • Terms of service: Commercial
  • Terms of service: Consumer
  • Usage policy
建構/第一步

開始使用 Claude

進行您的第一次 API 呼叫並建立一個簡單的網路搜尋助手。

先決條件

  • 一個 Anthropic Console 帳戶
  • 一個 API 金鑰

呼叫 API

後續步驟

您已進行了第一次 API 呼叫。接下來,了解您將在每個 Claude 整合中使用的 Messages API 模式。

使用 Messages API

了解多輪對話、系統提示、停止原因和其他核心模式。

一旦您對基礎知識感到滿意,請進一步探索:

模型概覽

按能力和成本比較 Claude 模型。

功能概覽

瀏覽所有 Claude 功能:工具、上下文管理、結構化輸出等。

Client SDK

Python、TypeScript、Java 和其他用戶端程式庫的參考文件。

Was this page helpful?

  • 呼叫 API