---
title: "Create or reuse an organization builder without starting compute"
method: POST
path: "/api/v1/organizations/{organization_id}/docker_builders"
tags: ["organizations"]
---

# Create or reuse an organization builder without starting compute

`POST /api/v1/organizations/{organization_id}/docker_builders`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/organizations/{organization_id}/docker_builders`
- Auth: HTTP bearer

## Path parameters

- `organization_id` string, required

## Request body

- DockerBuilderCreate
  - `backend` 'classic' | 'gen2'
  - `slug` string

## Response `200`

Builder state

- DockerBuilderResponse
  - `docker_builder` DockerBuilder, required
    - `backend` 'classic' | 'gen2', required
    - `gateway_url` string, nullable: Organization-addressed public WSS gateway; null until configured
    - `id` string, required
    - `organization_id` string, required
    - `slug` string, required
    - `status` 'sleeping' | 'starting' | 'ready' | 'stopping' | 'failed', required
    - `generation` integer, required
    - `startup_attempt` integer, required
    - `startup_stage` string, nullable, required
    - `startup_failure` string, nullable, required: Safe failure reason for the most recent startup attempt
    - `last_activity_at` string, date-time, nullable, required
    - `ready_at` string, date-time, nullable, required
    - `slept_at` string, date-time, nullable, required
    - `created_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
