Skip to main content

OpenAI compatible protocol

Connect OpenAI compatible clients with the /v1 Base URL.

Common endpoints

PurposeMethodPath
Chat generationPOST/v1/chat/completions
ResponsesPOST/v1/responses
Model listGET/v1/models

Minimal request

Use Bearer authentication and set the model field to an ID currently shown by the portal.

curl https://api.popgo.site/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL",
"messages": [
{"role": "user", "content": "Reply with a connection confirmation"}
]
}'

Verify

A successful response returns JSON. For a client-side 404, first check that the client did not append /v1 twice.