会话
创建会话
Changed on创建新的对话会话。 kind 为空时为普通会话,assistant 为助手会话。
post/sessions
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/sessions
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Request body
Response
创建的会话
object required
Changes
- info
the endpoint scheme security
ApiKeyAuthwas added to the API
- info
- info
the endpoint scheme security
ApiKeyAuthwas removed from the API
- info