curl -X POST \ -H "Authorization: Bearer <api_key>" \ -H "Content-Type: application/json" \ -d '{"model": "c1/anthropic/claude-sonnet-4/v-20250617", "messages": [{"role": "user", "content": "Hello, world!"}]}' \ https://api.thesys.dev/v1/embed/chat/completions
{ "id": "chatcmpl-1743157633416-cffw7tgswx", "object": "chat.completion", "created": 1743157633, "model": "c1/anthropic/claude-sonnet-4/v-20250617", "choices": [ { "index": 0, "message": { "role": "assistant", "content": { ... } }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 8, "completion_tokens": 439, "total_tokens": 447 } }
stream=false
application/json
Show Message Properties
user
assistant
tool
false
Show Properties
stop
tool_calls
chat.completion
prompt_tokens + completion_tokens