FULL
全量通道
返回完整事件字段,适合需要事件全文的场景。
连接信息
wss://admin.deepseekdata.com/admin-api/infra/ws/event-sync/full?apiKey=... 输入: apiKey: URL 参数 返回: eventId eventTitle eventContent eventTime source
LITE
精简通道
适合轻量监听,返回核心事件字段。
连接信息
wss://admin.deepseekdata.com/admin-api/infra/ws/event-sync/lite?apiKey=... 输入: apiKey: URL 参数 返回: eventId eventTitle eventTime source
LISTEN
监听示例
Python
import asyncio
import ssl
import websockets
async def listen(uri):
async with websockets.connect(
uri,
additional_headers={"tenant-id": "1"},
ssl=ssl.create_default_context()
) as ws:
while True:
print(await ws.recv())
asyncio.run(listen(
"wss://admin.deepseekdata.com/admin-api/infra/ws/event-sync/full?apiKey=sk-your-api-key"
))