<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba" -->

---
title: Stainless Keys Are Inside The AI Providers Specifications
description: An analysis of the x-stainless- vendor extension keys found scattered across OpenAPI specifications from 25 AI and API companies, including OpenAI, Groq, and...
canonical: https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stainless Keys Are Inside The AI Providers Specifications | daily.dev
og:description: An analysis of the x-stainless- vendor extension keys found scattered across OpenAPI specifications from 25 AI and API companies, including OpenAI, Groq, and...
og:url: https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba
og:image: https://api.daily.dev/og/posts/dxii6vHBA.png
og:image:alt: Stainless Keys Are Inside The AI Providers Specifications
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stainless Keys Are Inside The AI Providers Specifications

**[API Evangelist](https://daily.dev/sources/apievangelist)** · 5 min read · 0 upvotes · 0 comments

## Summary

An analysis of the x-stainless- vendor extension keys found scattered across OpenAPI specifications from 25 AI and API companies, including OpenAI, Groq, and Cloudflare. Nineteen keys exist, used to separate SDK codegen policy (constants, renaming, per-language escape hatches) from the API contract itself. The piece argues these unregistered vendor extensions risk being cargo-culted by other companies since OpenAI's spec is so heavily read, and calls on Stainless to register five portable keys, sponsor the OpenAPI Initiative, and bring AI-era API problems (streaming, polymorphic responses, tool-calling) to the OpenAPI Special Interest Groups.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://apievangelist.com/2026/09/11/stainless-keys-are-inside-the-ai-providers-specifications>

## Questions this post answers

### What does the x-stainless-const key mean in an OpenAPI specification?

It marks a schema property as a fixed value, a discriminator that is always the same string, signaling that a code generator should emit it as a constant rather than a settable field. It appears 818 times across OpenAPI specs from companies including OpenAI, Groq, Cloudflare, and Together AI, all customers of the SDK generator Stainless, which defines this vendor extension.

_Developers parsing OpenAI-compatible specs can keep track of emerging vendor extensions like this via daily.dev._

### Why do OpenAI's OpenAPI specification files contain x-stainless- prefixed keys?

Those keys come from Stainless, the SDK generator OpenAI uses, and encode codegen policy such as which fields to skip, how to rename properties, or when a type should be treated as unconstrained rather than describing the API itself. Nineteen such keys appear across specs from twenty-five companies including OpenAI, since OpenAI relies on Stainless to generate its client libraries.

_Anyone building against OpenAI-compatible endpoints can follow how these vendor conventions evolve on daily.dev._

## Similar posts on daily.dev

- [The AWS API Gateway Extensions Are A De Facto Standard](https://daily.dev/posts/the-aws-api-gateway-extensions-are-a-de-facto-standard-r4plnbnmx) · API Evangelist · 0 upvotes · 0 comments
- [Keys Are In The Browser: Exposure Across AI-Built Websites](https://daily.dev/posts/keys-are-in-the-browser-exposure-across-ai-built-websites-p0zqq1dig) · Cyble · 1 upvotes · 1 comments
- [10 Tips for Securing Your API Keys From AI](https://daily.dev/posts/10-tips-for-securing-your-api-keys-from-ai-j649i1e7u) · Nordic APIs · 0 upvotes · 0 comments
- [Microsoft Documented Its OpenAPI Extensions For A Decade And Never Registered Them](https://daily.dev/posts/microsoft-documented-its-openapi-extensions-for-a-decade-and-never-registered-them-unsbxfkoy) · API Evangelist · 0 upvotes · 0 comments
- [Your AI strategy is built on layers of API sediment](https://daily.dev/posts/your-ai-strategy-is-built-on-layers-of-api-sediment-pxsyvlnjd) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#openai](https://daily.dev/tags/openai), [#openapi](https://daily.dev/tags/openapi)

[View this post on daily.dev](https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stainless Keys Are Inside The AI Providers Specifications","url":"https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba"},"datePublished":"2026-09-11T05:51:20.359Z","dateModified":"2026-10-15T02:22:55.593Z","description":"An analysis of the x-stainless- vendor extension keys found scattered across OpenAPI specifications from 25 AI and API companies, including OpenAI, Groq, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f83a4f289f4bc95106c6cd7f57c3e038?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f83a4f289f4bc95106c6cd7f57c3e038?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"API Evangelist","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"API Evangelist","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a36244ae67bc4f41a605f780267ecb5f","url":"https://daily.dev/sources/apievangelist"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,openai,openapi","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"API Evangelist","item":"https://daily.dev/sources/apievangelist"},{"@type":"ListItem","position":3,"name":"Stainless Keys Are Inside The AI Providers Specifications"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/stainless-keys-are-inside-the-ai-providers-specifications-dxii6vhba#faq","mainEntity":[{"@type":"Question","name":"What does the x-stainless-const key mean in an OpenAPI specification?","acceptedAnswer":{"@type":"Answer","text":"It marks a schema property as a fixed value, a discriminator that is always the same string, signaling that a code generator should emit it as a constant rather than a settable field. It appears 818 times across OpenAPI specs from companies including OpenAI, Groq, Cloudflare, and Together AI, all customers of the SDK generator Stainless, which defines this vendor extension. Developers parsing OpenAI-compatible specs can keep track of emerging vendor extensions like this via daily.dev."}},{"@type":"Question","name":"Why do OpenAI's OpenAPI specification files contain x-stainless- prefixed keys?","acceptedAnswer":{"@type":"Answer","text":"Those keys come from Stainless, the SDK generator OpenAI uses, and encode codegen policy such as which fields to skip, how to rename properties, or when a type should be treated as unconstrained rather than describing the API itself. Nineteen such keys appear across specs from twenty-five companies including OpenAI, since OpenAI relies on Stainless to generate its client libraries. Anyone building against OpenAI-compatible endpoints can follow how these vendor conventions evolve on daily.dev."}}]}
```

