Skip to content

Chat Completions

SHINE SHOP DEV currently supports an OpenAI-compatible chat completions endpoint.

POST /v1/chat/completions

Example request:

{
"model": "codex/gpt5.5",
"messages": [
{ "role": "user", "content": "Hello" }
],
"max_tokens": 100
}

SHINE SHOP DEV validates the API key, endpoint scope, model allowlist, key-level token caps, model metadata limits when available, and quota reservation before processing the request.

Terminal window
curl https://api.shineshop.dev/v1/chat/completions \
-H "Authorization: Bearer $SHINESHOP_DEV_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"codex/gpt5.5","messages":[{"role":"user","content":"Say OK"}],"max_tokens":20}'

See API Reference for the full public endpoint map.