建立一個帶有可選初始變數的新會話。
建立一個新會話,可用於在多個 API 呼叫之間維護對話上下文。Documentation Index
Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
Use this file to discover all available pages before exploring further.
sk_ 開頭)進行 Bearer 令牌認證。格式:Bearer {your-api-key}session_id 參數或 X-Session-ID 標頭,會話可以在多個完成請求中使用。| 狀態碼 | 描述 |
|---|---|
| 400 | 缺少或無效的 session_id |
| 401 | 無效的認證 |
| 500 | 內部伺服器錯誤 |