Skip to content

Commit b27a8fa

Browse files
committed
docs(gateway): clarify independent HTTP endpoint switches
1 parent e00d46b commit b27a8fa

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎docs/gateway/openai-http-api.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Once enabled, it serves all of these on the same port as the Gateway (WS + HTTP
1515
| GET | `/v1/models` |
1616
| GET | `/v1/models/{id}` |
1717
| POST | `/v1/embeddings` |
18-
| POST | `/v1/responses` |
18+
19+
`POST /v1/responses` is enabled separately with `gateway.http.endpoints.responses.enabled`. See [OpenResponses API](/gateway/openresponses-http-api).
1920

2021
Requests run as a normal Gateway agent run (same codepath as `openclaw agent`), so routing, permissions, and config match your Gateway.
2122

‎docs/gateway/openresponses-http-api.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ The Gateway can serve an OpenResponses-compatible `POST /v1/responses` endpoint.
1010

1111
Requests run as a normal Gateway agent run (same codepath as `openclaw agent`), so routing, permissions, and config match your Gateway.
1212

13-
Enable or disable with `gateway.http.endpoints.responses.enabled`. When enabled, the same compatibility surface also serves `GET /v1/models`, `GET /v1/models/{id}`, `POST /v1/embeddings`, and `POST /v1/chat/completions`.
13+
Enable or disable with `gateway.http.endpoints.responses.enabled`. When enabled, the same compatibility surface also serves `GET /v1/models`, `GET /v1/models/{id}`, and `POST /v1/embeddings`.
14+
15+
`POST /v1/chat/completions` is enabled separately with `gateway.http.endpoints.chatCompletions.enabled`. See [OpenAI Chat Completions](/gateway/openai-http-api).
1416

1517
## Authentication, security, and routing
1618

0 commit comments

Comments
 (0)