branches

Create an isolated child branch

The returned id is immutable; retain it for automation. The slug is a project-scoped human handle.

post/v1/branches

Request

  • Base URL: https://api.abloatai.com/api
  • URL: https://api.abloatai.com/api/v1/branches
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replay identity. Reuse the same key only for an identical request.

Request body

slugstring required
namestring
parent_branch_idstring
kind'dev' | 'preview' | 'test' | 'long_lived'
origin'empty' | 'source_snapshot' | 'coordinated_fork'
expires_atstring date-time
storage'customer' | 'hosted'

Response

The ready branch.

object'branch' required
idstring required
project_idstring required
parent_branch_idstring nullable required
slugstring required
namestring nullable required
kind'dev' | 'preview' | 'test' | 'long_lived' required
state'provisioning' | 'ready' | 'failed' | 'deleting' | 'deleted' required
origin'empty' | 'source_snapshot' | 'coordinated_fork' required
rootboolean required
expires_atstring nullable required
created_atstring required
deleted_atstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.