Skip to main content
Creates model responses based on chat history. Supports streaming and non-streaming responses. Compatible with OpenAI Chat Completions API.

Authorization

authorization
Bearer <token>
required
Authentication is done using Bearer Auth in header.Format: Authorization: Bearer sk-xxxxxx
curl -X POST "https://decode.abingdoncs.org.uk/v1/chat/completions" \
  -H "Authorization: Bearer " \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {
        "role": "system",
        "content": "string"
      }
    ]
  }'