API documentation
OpenAI Responses
Use your platform API key with a protocol currently supported by the model.
POST
https://www.aiglobalsite.com/v1/responses
{
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_PLATFORM_API_KEY"
}{
"model": "YOUR_MODEL",
"input": "Hello, please introduce yourself.",
"max_output_tokens": 1024,
"stream": true
}Replace YOUR_MODEL with a connected model your key can access. Use the platform model name; the gateway handles upstream aliases.
Call from Windows CMD
Save the JSON below as a UTF-8 file named request.json, then run the command in that directory. Replace the platform key. For local development you can also use http://127.0.0.1:8080. A CMD continuation line ends with ^ and no trailing spaces.
{
"model": "YOUR_MODEL",
"input": "Hello, please introduce yourself.",
"max_output_tokens": 1024,
"stream": true
}set "STATION_BASE_URL=https://www.aiglobalsite.com" set "STATION_API_KEY=YOUR_PLATFORM_API_KEY" curl.exe -N -i -X POST "%STATION_BASE_URL%/v1/responses" ^ -H "Authorization: Bearer %STATION_API_KEY%" ^ -H "Content-Type: application/json" ^ --data-binary "@request.json"
Compatibility
Native JSON and SSE responses are supported. Tool calls and multimodal fields are forwarded according to the selected protocol, with capabilities determined by the upstream model. Requests route only to enabled providers that declare support for that protocol; formats are not forcibly converted.
GET /v1/models lists models available to your key with supported_protocols; Gemini clients can use GET /v1beta/models. Send the full context with each request. Maximum request size: 1 MiB. Maximum text output: 32,768 tokens.
Responses currently supports synchronous and SSE generation. Background requests, conversation, previous_response_id and response-management endpoints are unavailable. Include the full context in input.
Credits are reserved before each request and settled when usage is returned. Missing usage, interrupted streams or usage beyond the reservation requires review. Use X-Request-ID to find logs. Reusing an Idempotency-Key with the same API key returns 409 without sending another upstream request.