Responses

Создать response (beta)

OpenAI-совместимый Responses API endpoint. BETA — schema нестабильна, поля могут меняться.

При stream: true возвращает Server-Sent Events стрим. Usage приходит в response.completed event.

post/v1/responses

Request

  • Base URL: https://api.hubris.pw
  • URL: https://api.hubris.pw/v1/responses
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.hubris.pw/oauth/authorize, token URL https://api.hubris.pw/oauth/token, scopes: chat:write)

Request body

modelstring required
streamboolean

Example request

{
  "model": "openai/o1-mini"
}

Response

Успешный ответ. При stream: false — JSON. При stream: true — text/event-stream.

idstring required
object'response' required
created_atinteger required
modelstring required
outputobject[] required
statusstring

Example response

{
  "id": "resp_abc123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.