Stainless Orgs API

The Orgs API from Stainless — 2 operation(s) for orgs.

OpenAPI Specification

stainless-orgs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Stainless Platform Build Target Outputs Orgs API
  version: 0.1.0
  description: 'Stainless turns an OpenAPI specification into idiomatic SDKs, docs, MCP

    servers, CLIs, and Terraform providers. The Stainless Platform API

    (v0, base URL https://api.stainless.com) exposes endpoints for managing

    organizations, projects, branches, builds, and the current user.

    Endpoints derived from the public Stainless TypeScript SDK reference

    (https://github.com/stainless-api/stainless-api-typescript).

    '
  contact:
    name: Stainless
    url: https://www.stainless.com
servers:
- url: https://api.stainless.com
  description: Stainless Platform API (v0)
security:
- BearerAuth: []
tags:
- name: Orgs
paths:
  /v0/orgs:
    get:
      summary: List organizations
      responses:
        '200':
          description: List of organizations
      tags:
      - Orgs
  /v0/orgs/{org}:
    parameters:
    - in: path
      name: org
      required: true
      schema:
        type: string
    get:
      summary: Retrieve an organization
      responses:
        '200':
          description: Organization
      tags:
      - Orgs
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Stainless API key passed as a Bearer token.