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

Cerebras Systems Completions API

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

Cerebras Systems Completions API is one of 5 APIs that Cerebras Systems publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

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

Requests are made against a single base URL, https://api.cerebras.ai.

1 operations 1 paths 15 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.cerebras.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

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

  • BearerAuth — API key for authentication. Obtain your key from the Cerebras Cloud console and pass it as Authorization: Bearer YOURAPIKEY.

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
/v1/completions
Completions
completions_v1_completions_post 3 params body → 200422

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are CompletionRequest (23 properties), CompletionResponse (8 properties), Usage (6 properties), TimeInfo (5 properties). Each schema is shown below with its type and property counts.

CreateCompletionResponse
CompletionResponse
object
8 properties 6 required
PromptTokensDetails
object
1 property
ValidationError
object
3 properties 3 required
Usage
object
6 properties
CompletionChoice
object
5 properties 1 required
ErrorChunkContent
object
5 properties
CompletionLogProbs
object
4 properties
HTTPValidationError
object
1 property
StreamOptions
object
Options for streaming.
1 property
ReasoningFormat
string
CompletionRequest
object
Request for completions endpoint
23 properties 2 required
TimeInfo
object
Time information for different phases of request processing. All times are measured in seconds.
5 properties
CompletionTokensDetails
object
3 properties
ErrorChunkResponse
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cerebras-systems-completions-api-openapi.yml Raw ↑

Other APIs Cerebras Systems publishes across the network.

Cerebras Systems Chat API
Cerebras Systems Models API
Cerebras Systems Public Models API
Cerebras Systems Tcp Warming API