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

CentML Completions API

The Completions API from CentML — 1 operation(s) for completions.

CentML Completions API is one of 5 APIs that CentML publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Completions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and an AsyncAPI specification.

This API exposes 1 operation across 1 path, and defines 3 schemas. It is described by OpenAPI 3.0.1, at version 1.0.

Requests are made against 2 base URLs: https://api.centml.com/openai/v1, https://api.centml.com.

1 operations 1 paths 3 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0
Base URL
https://api.centml.com/openai/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

CentML Completions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (CentML API key) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Set the Authorization: Bearer header. Serverless inference uses a serverless token; the platform API uses an account access token. Both are issued from the Cen…

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.

Completions 1
POST
/completions
Creates a completion for the provided prompt.
createCompletion body → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are CreateCompletionRequest (8 properties), CreateCompletionResponse (6 properties), Usage (3 properties). Each schema is shown below with its type and property counts.

CreateCompletionResponse
object
6 properties 5 required
Usage
object
3 properties
CreateCompletionRequest
object
8 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

centml-completions-api-openapi.yml Raw ↑

Other APIs CentML publishes across the network.

CentML Chat API
CentML Clusters API
CentML Deployments API
CentML Models API