Skip to main content
POST
Create a project

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Body

application/json
git
enum<string>
required

Git provider, or DOCKER to deploy an image. Case-insensitive.

Available options:
GITHUB,
GITLAB,
BITBUCKET,
DOCKER,
HUGGINGFACE,
ORIGIN
serviceType
enum<string>
required

What kind of service to run: web-service (an app that serves HTTP), static (static files), mcp (an MCP server) or worker (a background process with no public URL).

Available options:
web-service,
static,
mcp,
worker
name
string

Project name. Required when importing a repository (type omitted or import).

Minimum string length: 3
description
string

Free-text description of the project.

healthCheckPath
string

Path Brimble requests to check the app is healthy, for example /health. Must start with /.

buildHealthCheck
boolean

Require a new deployment to pass health checks before it replaces the running one. Defaults to true.

preStartCommand
string

Command run in a separate container before each new deployment starts, for example npm run migrate.

teamId
string

Team to act in. Omit for your personal workspace.

Pattern: ^[a-fA-F0-9]{24}$
environmentId
string

Environment to create the project in. Omit to use the default environment.

Pattern: ^[a-fA-F0-9]{24}$
repo
object

Required unless template is set.

autoscalingGroup
string | null

ID of an autoscaling group to apply. Send an empty string to remove it.

buildCommand
string

Command that builds the app, for example npm run build. Omit to use the framework default.

outputDirectory
string

Folder that contains the built files to serve, for example dist. Used by static sites.

rootDirectory
string

Folder in the repository that contains the app, for monorepos. Omit for the repository root.

dockerfile
string

Path to the Dockerfile, relative to rootDirectory. Only when framework is docker. Defaults to Dockerfile.

watchPaths
string[]

Glob patterns of files that trigger a deployment on push, for example apps/web/**. Omit to deploy on every change.

installCommand
string

Command that installs dependencies, for example npm ci. Omit to use the framework default.

runtimeVersions
object

Runtime versions to build with, keyed by runtime, for example { "node": "20" }. Supported keys: node, python, go, php, java, ruby, dotnet, deno, rust, elixir, erlang, gleam. Send null to use the defaults.

isPrivate
boolean

Whether the repository is private.

cronEnabled
boolean

Workers and web services: run the project on a cron schedule.

cronExpression
string

Cron schedule in 5-field or 6-field format, for example */15 * * * *. Required when cronEnabled is true.

cronTimezone
string

IANA timezone for the schedule, for example Europe/London. Defaults to UTC.

cronCommand
string

Web services only: command run on each cron tick. Required when cronEnabled is true for a web service.

authEnabled
boolean
default:false

MCP servers only: require a valid Brimble API key on every request.

public
boolean

Accept traffic from the internet. When false, the project is reachable only from other services on Brimble's private network. Defaults to true.

environments
object[]

Secrets (environment variables) to set on the project.

installationId

Git provider installation id. Required for GitHub when git is GITHUB.

type
enum<string>

import deploys an existing repository; clone creates a new repository from a template first. Defaults to import.

Available options:
import,
clone
clone
object

Required when type is clone.

template
string

ID of an MCP server template. Brimble fills in the repository and build settings, so repo is not needed.

configurations
object

Compute resources and region.

registry_credentials
object

Registry login, for private Docker images. Send both fields or neither.

diskSize
integer

Create a new persistent volume of this size, in GB (10 to 150). Requires mountPath. Cannot be combined with volumeId.

Required range: 10 <= x <= 150
volumeId
string

Attach an existing volume. Requires mountPath. Cannot be combined with diskSize.

Pattern: ^[a-fA-F0-9]{24}$
mountPath
string

Absolute path where the volume is mounted, for example /data. Cannot be /.

deploy
boolean
default:true

Start the first deployment right away. Send false to only save the project. Defaults to true.

startCommand
string | null

Command that starts the app, for example npm start. Omit to use the framework default.

framework
string | null

Framework slug, for example nextjs or docker. See GET /v1/frameworks.

Response

Projects created successfully

message
string
required

Human-readable result of the request.

Example:

"Projects created successfully"

data
object
required
Last modified on October 31, 2026