Skip to content
中文

Provider Notes

Provider Notes

This section contains endpoint-specific behavior, parameters, or usage notes for this API.

curl --location -g --request POST '{{BASE_URL}}/v1/chat/completions'
--header 'Accept: application/json'
--header 'Authorization: Bearer sk-Uk'
--header 'User-Agent: YutoAI-Client/1.0'
--header 'Content-Type: application/json'
--data-raw '{
"model": "{{model}}",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
]
}'