创建一个带有可选初始变量的新会话。
创建一个新会话,可用于在多个 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 | 内部服务器错误 |