Skip to content

[DOCS] Document POST /v1/responses endpoint (OpenAI Responses API) #483

Closed

Description

Summary

PR inference-gateway/inference-gateway#510 adds a POST /v1/responses endpoint (OpenAI-compatible Responses API) to the gateway. The endpoint is already documented with examples in examples/rest-endpoints/README.md, but the public-facing documentation site does not yet cover it.

The Responses API endpoint forwards requests byte-for-byte to the upstream /responses endpoint (only openai provider supported; others return 400). Streaming via ResponseStreamEvent SSE frames is also supported.

Affected pages:

  • api-reference.md - add POST /v1/responses alongside the existing POST /v1/chat/completions and /v1/messages sections
  • observability.md - the GenAI span attributes section lists /v1/chat/completions and /v1/messages as inference routes; /v1/responses should be added

Source PR: inference-gateway/inference-gateway#510

Acceptance Criteria

  • Document POST /v1/responses in api-reference.md with request/response examples, streaming support, and the error response for unsupported providers
  • Update observability.md to include /v1/responses in the list of inference routes that get GenAI span attributes
  • Note that only the openai provider supports the Responses API; other providers return 400

Activity

  1. added
    documentation
    on Jul 27, 2026
  2. edenreich commented on Jul 27, 2026

    @edenreich
    Contributor

    @claude can you update the docs? The feature has been delivered. Use /ponytail:ponytail

  3. inference-gateway-maintainer commented on Jul 27, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 57s —— View job • docs/issue-483-20260727-1557 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-483-20260727-1557?quick_pull=1&title=Issue%20%23483%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23483%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented POST /v1/responses ✅

    What changed:

    • api-reference.md - new Responses API section under Chat Completions: request/response examples, streaming with ResponseStreamEvent SSE frames, and the 400 error envelope for providers without native Responses support. Notes only the openai provider is supported and the body is forwarded byte-for-byte.
    • observability.md - added /v1/responses to the inference routes that get GenAI span attributes.

    Validated: prettier --write (unchanged) and markdownlint (clean).

    PR: #484

  4. added a commit that references this issue on Jul 27, 2026
    8fa067e
  5. moved this from In progress to QA in 2026on Jul 27, 2026
  6. moved this from QA to Done in 2026on Jul 27, 2026
  7. inference-gateway-releaser commented on Jul 27, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.5 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions