儀表板

Polylane 開發者

基於 Polylane 開發所需的一切:API、MCP 伺服器、CLI、SDK,以及如何驗證身分。代理請注意:本頁也有 markdown 版本,位於 /developers.md

Polylane 快速入門

  1. 取得存取權:Polylane 尚未正式上市;在首頁加入候補名單(或呼叫 POST https://polylane.com/api/auth/email)。
  2. 登入:收到邀請後,在 console.polylane.com 登入並連接一個雲端帳戶或儲存庫。
  3. 簽發 API 金鑰:在主控台設定中建立一把金鑰(sk_...)。
  4. 第一個請求
    curl https://api.polylane.com/v1/auth/whoami -H "x-api-key: sk_..."
  5. 連接代理:把任何 MCP 用戶端指向 https://mcp.polylane.com/mcp。OAuth 用戶端在 https://mcp.polylane.com/register 自行註冊。

Polylane API

Polylane MCP 伺服器

  • 產品(OAuth 2.0 或 API 金鑰):https://mcp.polylane.com/mcp,工具有 searchexecutesearchToolsrunToolrunCodestartMappingadvanceMappinggetMappingStatus伺服器卡片
  • 文件(不需驗證):https://docs.polylane.com/mcp,可列出並讀取每一頁文件。

Polylane CLI

為程式碼代理操控而生:處處提供結構化輸出與非互動式旗標。

curl -fsSL https://polylane.com/setup.sh | bash        # macOS / Linux
irm https://polylane.com/setup.ps1 | iex               # Windows
polylane auth signup --email you@example.com

完整的 CLI 文件:docs.polylane.com/coding-agents/cli

SDK

速率限制

請求依每組憑證限制速率。超過限制時,API 會回傳 429:請退避,並在有 Retry-After 時遵守它, 採用指數退避而不是緊密重試。

版本控制與棄用

API 在 URL 路徑中標示版本(/v1)。破壞性變更只會出現在新版本。棄用會在 build log 公告並在移除前寫入文件; 被棄用的介面在過渡期內持續可用。

機器可讀的入口

狀態

Polylane 平台的即時可用性: status.polylane.com

支援

寄信到 boris@coreplane.ai,或在 X 上透過 @polylanehq 聯絡我們。