# Stainless API

**Canonical:** https://apis.io/apis/stainlessapi-com/stainlessapi-com-api/  
**Provider:** Stainless — https://apis.io/providers/stainlessapi-com/  
**Documentation:** https://www.stainless.com/docs/api

Stainless API is published by [Stainless](https://apis.io/providers/stainlessapi-com/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

Stainless API as documented publicly: 24 operations. Contract generated from the documentation by API Evangelist (2026-10-24); not the provider's own document.

## Operations (24)

| Method | Path | Summary |
|---|---|---|
| GET | `/accounts/{accountId}/friends` | Get friends for this an account |
| GET | `/status` | API status check |
| GET | `/v0/build_target_outputs` | Download build target output |
| GET | `/v0/builds` | List project builds |
| POST | `/v0/builds` | Create build |
| POST | `/v0/builds/compare` | Creates two comparable builds |
| GET | `/v0/builds/{buildid}` | Retrieve build |
| GET | `/v0/builds/{buildid}/diagnostics` | Get diagnostics for a build |
| GET | `/v0/orgs` | List organizations |
| GET | `/v0/orgs/{org}` | Retrieve an organization |
| GET | `/v0/projects` | List projects |
| POST | `/v0/projects` | Create project |
| GET | `/v0/projects/{project}` | Retrieve project |
| PATCH | `/v0/projects/{project}` | Update project |
| GET | `/v0/projects/{project}/branches` | List project branches |
| POST | `/v0/projects/{project}/branches` | Create a new project branch |
| DELETE | `/v0/projects/{project}/branches/{branch}` | Delete a project branch |
| GET | `/v0/projects/{project}/branches/{branch}` | Retrieve a project branch |
| PUT | `/v0/projects/{project}/branches/{branch}/rebase` | Rebase a project branch |
| PUT | `/v0/projects/{project}/branches/{branch}/reset` | Reset |
| GET | `/v0/projects/{project}/configs` | Retrieve configuration files |
| POST | `/v0/projects/{project}/configs/guess` | Generate config suggestions |
| POST | `/v0/projects/{project}/generate_commit_message` | POST /v0/projects/{project}/generate_commit_message |
| GET | `/v0/user` | Retrieve the current user |

## Machine-readable artifacts (4)

- **OpenAPI** — https://artifacts.apis.io/stainlessapi-com/openapi/_ae-authored/stainlessapi-com-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/stainlessapi-com/json-schema/stainlessapi-com-get-accounts-accountid-friends-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/stainlessapi-com/json-schema/stainlessapi-com-get-status-response-schema.json
- **APIsJSON** — https://artifacts.apis.io/stainlessapi-com/apis.yml

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/stainlessapi-com/stainlessapi-com-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/stainlessapi-com/.
