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 Text Completions API

Legacy text completions endpoints compatible with the OpenAI completions API.

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

Tagged areas include Text Completions. 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 4 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 4 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.

Text Completions 1

Legacy text completions endpoints compatible with the OpenAI completions API.

POST
/v1/completions
Envoy Create a text completion
createCompletion body → 200400401429

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Completion (6 properties), CompletionRequest (5 properties), UsageInfo (3 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ErrorResponse
object
Error response returned when an API request fails
1 property
Completion
object
A completed text completion response from the AI model
6 properties
CompletionRequest
object
Request body for the legacy text completions endpoint
5 properties 2 required
UsageInfo
object
Token usage statistics for the API request
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

envoy-text-completions-api-openapi.yml Raw ↑

Other APIs Envoy publishes across the network.

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