curl -X POST \ -H "Authorization: Bearer <api_key>" \ -H "Content-Type: application/json" \ -d '{"model": "c1/anthropic/claude-sonnet-4/v-20250617", "stream": true, "messages": [{"role": "user", "content": "Hello, world!"}]}' \ https://api.thesys.dev/v1/embed/chat/completions
id: 1 data: {"id":"chatcmpl-1743157601318-pzx9ougakm","object":"chat.completion.chunk","created":1743157601,"model":"c1/anthropic/claude-sonnet-4/v-20250617","choices":[{"index":0,"delta":{"role":"assistant","content":{...}}]} id: 2 data: {"id":"chatcmpl-1743157601318-pzx9ougakm","object":"chat.completion.chunk","created":1743157601,"model":"c1/anthropic/claude-sonnet-4/v-20250617","choices":[{"index":0,"delta":{"content":{...}}]}
stream=true
application/json
Show Message Properties
user
assistant
tool
true
chat.completion.chunk
Show Properties
prompt_tokens + completion_tokens
stop
tool_calls