Stainless Platform API

The Stainless Platform API is a REST API for programmatically managing Stainless projects, branches, and SDK builds. It exposes the same primitives that power the Stainless Studio web UI and CLI, allowing customers to create and update projects, manage branches that track different OpenAPI versions, trigger and inspect builds across the nine supported languages, compare two builds, and read organization and current-user information. The API is served from api.stainless.com under the v0 namespace and is consumed via official Stainless client libraries in TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, and C#, plus the Stainless CLI.

Stainless Platform API is published by Stainless on the APIs.io network.

Tagged areas include SDK Generation, OpenAPI, Builds, Projects, and Branches. The published artifact set on APIs.io includes API documentation, an API reference, and a getting-started guide.

API entry from apis.yml

apis.yml Raw ↑
aid: stainless-api:stainless-platform-api
name: Stainless Platform API
description: The Stainless Platform API is a REST API for programmatically managing Stainless projects,
  branches, and SDK builds. It exposes the same primitives that power the Stainless Studio web UI and
  CLI, allowing customers to create and update projects, manage branches that track different OpenAPI
  versions, trigger and inspect builds across the nine supported languages, compare two builds, and read
  organization and current-user information. The API is served from api.stainless.com under the v0 namespace
  and is consumed via official Stainless client libraries in TypeScript, Python, Go, Java, Kotlin, Ruby,
  PHP, and C#, plus the Stainless CLI.
humanURL: https://www.stainless.com/docs/api-reference
baseURL: https://api.stainless.com/v0
tags:
- SDK Generation
- OpenAPI
- Builds
- Projects
- Branches
- Developer Platform
properties:
- type: Documentation
  url: https://www.stainless.com/docs
- type: APIReference
  url: https://www.stainless.com/docs/api-reference
- type: GettingStarted
  url: https://www.stainless.com/docs/get-started
- type: GitHubOrganization
  url: https://github.com/stainless-api
- type: TypeScriptSDK
  url: https://github.com/stainless-api/stainless-node
- type: PythonSDK
  url: https://github.com/stainless-api/stainless-python
- type: GoSDK
  url: https://github.com/stainless-api/stainless-go
- type: JavaSDK
  url: https://github.com/stainless-api/stainless-java
- type: KotlinSDK
  url: https://github.com/stainless-api/stainless-kotlin
- type: RubySDK
  url: https://github.com/stainless-api/stainless-ruby
- type: CLI
  url: https://github.com/stainless-api/stainless-cli
- type: MCPFront
  url: https://github.com/stainless-api/mcp-front
features:
- name: Project Management
  description: Create, list, retrieve, and update Stainless projects via REST.
- name: Branch Management
  description: Create, list, and delete branches that track OpenAPI versions.
- name: Build Lifecycle
  description: Trigger SDK builds, list builds, retrieve build status, and inspect output.
- name: Build Comparison
  description: Compare two builds to surface diffs across generated SDKs.
- name: Organization and User
  description: Read organization membership and current-user information.
- name: Multi-Language SDKs
  description: Official client libraries in nine languages plus a CLI.
- name: GitHub Publishing
  description: Generated SDKs are published into customer-owned GitHub repositories.
- name: Breaking Change Detection
  description: Surface breaking changes between builds before publishing.
useCases:
- name: Automated SDK Pipelines
  description: Wire Stainless builds into CI to ship SDKs on every API release.
- name: API-Spec-Driven Documentation
  description: Generate reference docs and MCP servers from the same OpenAPI source.
- name: Multi-Spec Coordination
  description: Manage multiple OpenAPI specs (e.g., per service) under one platform.
- name: Enterprise Governance
  description: Use SSO, audit logs, and member sync for regulated environments.
- name: Agent-Ready APIs
  description: Generate MCP servers so APIs are usable by AI agents alongside SDKs.
integrations:
- name: GitHub
- name: Bump.sh
- name: GitBook
- name: Mintlify
- name: ReadMe
- name: NPM
- name: PyPI
- name: Maven Central
- name: RubyGems
- name: Packagist
- name: NuGet
- name: Go Modules
authentication:
- type: Bearer
  description: API requests are authenticated with a bearer access token issued from the Stainless dashboard.