1.0.0OAS 3.0

Every KongNet model on one OpenAI compatible endpoint, through Kong AI Gateway. Pick a model with the model field.

API Base URL
  • Server 1:http://localhost:8010

    Demo data plane

Security
apikey (apiKey)

An API key is a token that you provide when making API calls. Include the token in a header parameter called apikey.

Example: apikey: 123

Create a chat completion

post
http://localhost:8010/llm/chat/completions

Body

application/json
modelstringrequired

Allowed values:support-gptsupport-claudesupport-geminisupport-osssupport-sonnetsupport-haikusupport-gpt-minisupport-gemini-prosupport-qwensupport-gemmasupport-autosupport-faq

messagesarray[object]required
Show Child Parameters
streamboolean

Response

Completion

post/llm/chat/completions

Body

{ "model": "support-gpt", "messages": [ { "role": "system", "content": "content" } ] }