Skip to main content
POST
/
orgs
/
{org_id}
/
auto-create
/
github
Start Auto Create
curl --request POST \
  --url https://api.example.com/orgs/{org_id}/auto-create/github \
  --header 'Content-Type: application/json' \
  --data '
{
  "repo_url": "<string>",
  "file_paths": [
    "<string>"
  ],
  "branch": "main",
  "review_mode": "direct",
  "description": ""
}
'
{
  "job_id": "<string>"
}

Headers

authorization
string | null

Path Parameters

org_id
string<uuid>
required

Body

application/json

Request model for auto-creating nodes from GitHub IaC files.

repo_url
string
required

GitHub repository URL

file_paths
string[]
required

IaC file paths in the repo

Required array length: 1 - 10 elements
branch
string
default:main

Git branch to fetch from

review_mode
enum<string>
default:direct

'direct' commits to main; 'pull_request' creates a PR for review

Available options:
direct,
pull_request
description
string | null
default:""

Brief description of the system (e.g., 'React + Python web app with Cognito auth')

Response

Successful Response

Response for POST auto-create — returns the job ID for polling.

job_id
string
required

Job ID for polling status