File size: 1,823 Bytes
ae9c7b8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | {
"openapi": "3.1.0",
"info": {
"title": "PixelRouter OpenAI-Compatible AEO Gateway",
"version": "1.0.0",
"description": "Sub-35ms OpenAI-compatible API gateway and smart LLM router by Pixel Office EU."
},
"servers": [
{
"url": "https://api.pixeloffice.eu/v1"
}
],
"paths": {
"/chat/completions": {
"post": {
"summary": "Create chat completion (with SSE streaming support)",
"operationId": "createChatCompletion",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"model": {
"type": "string",
"default": "blun-auto"
},
"messages": {
"type": "array",
"items": {
"type": "object"
}
},
"stream": {
"type": "boolean",
"default": false
}
},
"required": [
"messages"
]
}
}
}
},
"responses": {
"200": {
"description": "OpenAI Chat Completion or SSE Stream"
}
}
}
},
"/models": {
"get": {
"summary": "List available models",
"responses": {
"200": {
"description": "List of available models"
}
}
}
},
"/health": {
"get": {
"summary": "Gateway health check",
"responses": {
"200": {
"description": "Health status"
}
}
}
}
}
} |