Contentstack Generative AI API
The Contentstack Generative AI API provides an endpoint for generating AI-powered content using a Brand Kit's knowledge vault and voice profiles. It acts as a communication channel between the vector database and large language models, processing prompts with retrieval augmented generation (RAG) to produce brand-aligned content.
Contentstack Generative AI API is one of 45 APIs that contentstack publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include AI, Brand Kit, Content Generation, and Generative AI. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version v2.
Requests are made against 3 base URLs: https://api.contentstack.io, https://eu-api.contentstack.com, https://au-api.contentstack.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Contentstack Generative AI API declares
2 security schemes
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
An API key is passed in the header as authtoken (authtokenAuth).
By default, every request must be authenticated.
bearerAuth— OAuth 2.0 Bearer token (M2M) with analytics access.authtokenAuth— Contentstack user authtoken. Only organization Owners and Admins can access analytics.
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.
The Generative AI endpoint processes prompts using retrieval augmented generation, retrieving relevant brand knowledge and applying voice profile style guidelines to produce on-br…
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are TokenUsage (3 properties), GenAIRequest (3 properties), Error (2 properties), GenAIResponse (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from contentstack 12
Other APIs contentstack publishes across the network.