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

AI21 Labs Chat API

The Chat API from AI21 Labs — 1 operation(s) for chat.

AI21 Labs Chat API is one of 11 APIs that AI21 Labs 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.

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

Requests are made against a single base URL, https://api.ai21.com.

1 operations 1 paths 0 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.ai21.com/studio/v1
Authentication
HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 1

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

  • BearerAuth — Bearer API key in Authorization header.

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
POST
/studio/v1/chat/completions
Create a chat completion with a Jamba model
body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ai21-labs-chat-api-openapi.yml Raw ↑

Other APIs AI21 Labs publishes across the network.

AI21 Jamba Chat Completions API
AI21 Maestro API
AI21 File Library API
AI21 Batch API
AI21 Fine-Tuning API
AI21 Python SDK
AI21 TypeScript / JavaScript SDK
AI21 Jamba on Hugging Face
AI21 Labs Library API
AI21 Labs Maestro API