Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Envoy Chat API

Chat completions endpoints compatible with the OpenAI Chat API. Routes requests to configured AI backends based on AIGatewayRoute rules.

Envoy Chat API is one of 15 APIs that Envoy publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Chat. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, a GitHub repository, and a changelog.

This API exposes 1 operation across 1 path, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 1.31.0.

Requests are made against a single base URL, http://localhost:9901.

1 operations 1 paths 5 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.31.0
Server
http://localhost:9901
Terms of Service
Resource Areas
1

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Chat 1

Chat completions endpoints compatible with the OpenAI Chat API. Routes requests to configured AI backends based on AIGatewayRoute rules.

POST
/v1/chat/completions
Envoy Create a chat completion
createChatCompletion body → 200400401429502

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are ChatCompletionRequest (10 properties), ChatCompletion (6 properties), ChatMessage (3 properties), UsageInfo (3 properties). Each schema is shown below with its type and property counts.

ErrorResponse
object
Error response returned when an API request fails
1 property
ChatCompletionRequest
object
Request body for the chat completions endpoint, compatible with the OpenAI Chat Completions API format.
10 properties 2 required
UsageInfo
object
Token usage statistics for the API request
3 properties
ChatCompletion
object
A completed chat response from the AI model
6 properties
ChatMessage
object
A single message in a chat conversation
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

envoy-chat-api-openapi.yml Raw ↑

Other APIs Envoy publishes across the network.

Envoy xDS APIs
Envoy API V3
Envoy Gateway API
Envoy Certificates API
Envoy Clusters API
Envoy Configuration API
Envoy Health API
Envoy Listeners API
Envoy Logging API
Envoy Models API
Envoy Runtime API
Envoy Server API