Implementation Examples
See real-world implementation examples for the Kodesage Chat API including sample code in multiple languages and integration patterns.
curl -X POST "https://your-kodesage-instance.com/api/projects/01K5BQSXND0N595C18DJMVN4VA/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"role": "user",
"content": "How is user authentication implemented?"
}
]
}'{
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "According to WebSecurityConfig.java, the project uses Spring Security with a custom CosmossAuthenticationProvider..."
}
}
]
}Last updated

