Clone an environment
curl --request POST \
--url https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone \
--header 'Content-Type: application/json' \
--header 'x-brimble-key: <api-key>' \
--data '
{
"name": "<string>",
"include": {
"variables": false,
"projects": false,
"sandboxes": false,
"buckets": false
},
"teamId": "<string>",
"domainSuffix": "<string>",
"inheritFrom": "<string>"
}
'import requests
url = "https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone"
payload = {
"name": "<string>",
"include": {
"variables": False,
"projects": False,
"sandboxes": False,
"buckets": False
},
"teamId": "<string>",
"domainSuffix": "<string>",
"inheritFrom": "<string>"
}
headers = {
"x-brimble-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-brimble-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
include: {variables: false, projects: false, sandboxes: false, buckets: false},
teamId: '<string>',
domainSuffix: '<string>',
inheritFrom: '<string>'
})
};
fetch('https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'include' => [
'variables' => false,
'projects' => false,
'sandboxes' => false,
'buckets' => false
],
'teamId' => '<string>',
'domainSuffix' => '<string>',
'inheritFrom' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-brimble-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"include\": {\n \"variables\": false,\n \"projects\": false,\n \"sandboxes\": false,\n \"buckets\": false\n },\n \"teamId\": \"<string>\",\n \"domainSuffix\": \"<string>\",\n \"inheritFrom\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-brimble-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone")
.header("x-brimble-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"include\": {\n \"variables\": false,\n \"projects\": false,\n \"sandboxes\": false,\n \"buckets\": false\n },\n \"teamId\": \"<string>\",\n \"domainSuffix\": \"<string>\",\n \"inheritFrom\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-brimble-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"include\": {\n \"variables\": false,\n \"projects\": false,\n \"sandboxes\": false,\n \"buckets\": false\n },\n \"teamId\": \"<string>\",\n \"domainSuffix\": \"<string>\",\n \"inheritFrom\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Environment clone queued",
"data": {
"environment": {
"name": "<string>",
"slug": "<string>",
"owner": {
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"username": "<string>",
"email_verified_at": "<string>",
"ai_usage_count": 123,
"github": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"git_id": 123,
"installation_ids": [
123
],
"installation_id": "<string>",
"scope": "<string>",
"created_at": 123,
"state": "<string>",
"expires_in": 123,
"expires_at": 123,
"scopes": "<string>"
},
"gitlab": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"git_id": 123,
"installation_ids": [
123
],
"installation_id": "<string>",
"scope": "<string>",
"created_at": 123,
"state": "<string>",
"expires_in": 123,
"expires_at": 123,
"scopes": "<string>"
},
"location": "<string>",
"interests": [
"<string>"
],
"bitbucket": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"git_id": 123,
"installation_ids": [
123
],
"installation_id": "<string>",
"scope": "<string>",
"created_at": 123,
"state": "<string>",
"expires_in": 123,
"expires_at": 123,
"scopes": "<string>"
},
"following": [
{
"_id": "6a81bed11470bfcd2a5dbcfa",
"user_id": "<string>",
"followed_id": "<string>"
}
],
"projects": [
{
"name": "<string>",
"backupEnabled": true,
"backup_mode": "automatic",
"backup_schedule": "<string>",
"backup_timezone": "<string>",
"backup_destination_type": "platform",
"http2": true,
"alerting_enabled": true,
"logDrainsEnabled": true,
"domains": [
{
"name": "<string>",
"project": "<unknown>",
"user_id": "<unknown>",
"primary": true,
"preview": {
"name": "<string>",
"pid": 123,
"port": 123,
"ip": "<string>",
"http2": true,
"dir": "<string>",
"branch": "<string>",
"server": {
"name": "<string>",
"url": "<string>",
"node_id": "<string>",
"force_deactivation": true,
"userId": "6a81bed11470bfcd2a5dbcfa",
"ip_address": "<string>",
"private_ip_address": "<string>",
"type": "<string>",
"protocol": "TCP",
"status": "active",
"default": true,
"tag": "<string>",
"region": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"country": "<string>",
"cname": "<string>",
"dbVolumePath": "<string>",
"is_paid": true,
"logo": "<string>",
"provider": "<string>",
"provider_identifier": "<string>",
"storage_pricing_factor": 123,
"compute_pricing_factor": 123,
"continent": "Africa",
"enabled": true,
"floating_ip": "<string>",
"type": "web",
"ceph_cluster_id": "<string>",
"volume_backend": "ceph",
"csi": {
"plugin_id": "<string>",
"topology_path": "<string>",
"require_topology": true,
"availability_zone": "<string>",
"parameters": {},
"parameters_env": {},
"fs_type": "<string>",
"attachment_modes": [
"<string>"
]
}
},
"is_custom_provision": true,
"specifications": {},
"provider": "<string>",
"meta": {},
"_id": "6a81bed11470bfcd2a5dbcfa",
"grpc_address": "<string>",
"ipv6": "<string>",
"domain": "<string>",
"teamId": "6a81bed11470bfcd2a5dbcfa",
"webhook_url": "<string>",
"firewall_id": "<string>",
"plugin_id": "<string>",
"provider_location": "<string>",
"provider_identifier": "<string>",
"topology_path": "<string>",
"cert_storage_path": "<string>"
},
"project": "<unknown>",
"issue_comment_id": 123,
"status": "AWAITING_CONFIG_APPROVAL",
"log": {
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"last_requested": "2023-11-07T05:31:56Z",
"isPaused": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"healthCheckPath": "<string>",
"pr_number": 123
},
"provider": "<string>",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"cashier_subscription_id": "<string>",
"auto_renewal": true,
"renewal_duration": 123,
"is_discounted": true,
"purchased": true,
"privacy_enabled": true,
"renewal_date": "<string>",
"renewal_price": 123,
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"nameservers": [
"<string>"
],
"dns": [
{
"name": "<string>",
"ttl": 123,
"type": "<string>",
"value": "<string>",
"domain": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"isProxied": true,
"managed_by": "<string>"
}
],
"is_pending_verification": true,
"wildcard_enabled": true,
"wildcard_verified": true,
"email_forwarding_enabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"team_id": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
},
"cloudflare_custom_hostname_id": "<string>",
"cloudflare_custom_hostname_status": "<string>",
"nameservers_next_check_at": "2023-11-07T05:31:56Z",
"registration_next_check_at": "2023-11-07T05:31:56Z",
"project_environment": null,
"last_expiry_notification_at": "2023-11-07T05:31:56Z",
"redirect": {
"url": "<string>",
"status": 301
}
}
],
"environments": [
{
"name": "<string>",
"value": "<string>",
"project": "<unknown>",
"user": "<unknown>",
"environment": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"is_system": true
}
],
"uuid": 123,
"pid": 123,
"port": 123,
"ip": "<string>",
"dir": "<string>",
"tlsEnabled": true,
"sendReport": true,
"pgbouncerEnabled": true,
"dbImage": {
"name": "mysql",
"image_url": "<string>",
"version": "<string>",
"envs": [
{
"value": "<string>",
"type": "<string>"
}
],
"is_available": true,
"is_default": true,
"backup_supported": true,
"restore_supported": true,
"pgbouncer_supported": true,
"pgvector_supported": true,
"manage_user": true,
"image": "<string>",
"free": true,
"erd": true,
"analytics": true,
"has_port": true,
"port": 123,
"volumePath": "<string>",
"protocol": "<string>",
"tls_enabled": true,
"ha": true,
"workbench": true,
"workbench_mode": "sql",
"password_mode": "provided",
"password_change_mode": "live",
"httpTitle": "<string>",
"httpSubtext": "<string>",
"params": {},
"recommendations": [
{
"cpu": "<string>",
"memory": "<string>",
"storage": "<string>"
}
],
"_id": "6a81bed11470bfcd2a5dbcfa",
"ha_image": "<string>",
"httpPort": 123,
"tls_protocol": "<string>",
"tls_params": {},
"connection": {
"user": true,
"database": true,
"protocol": "<string>",
"port": 123,
"authEnv": "<string>"
}
},
"ha": true,
"public": true,
"installCommand": "<string>",
"buildCommand": "<string>",
"startCommand": "<string>",
"outputDirectory": "<string>",
"workBenchEnabled": true,
"user_id": "<unknown>",
"monitor_id": "<string>",
"nomadJobId": "<string>",
"watchPaths": [
"<string>"
],
"repo": {
"name": "<string>",
"full_name": "<string>",
"id": "<string>",
"branch": "<string>",
"installationId": "<string>",
"git": "GITHUB"
},
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
},
"server": {
"name": "<string>",
"url": "<string>",
"node_id": "<string>",
"force_deactivation": true,
"userId": "6a81bed11470bfcd2a5dbcfa",
"ip_address": "<string>",
"private_ip_address": "<string>",
"type": "<string>",
"protocol": "TCP",
"status": "active",
"default": true,
"tag": "<string>",
"region": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"country": "<string>",
"cname": "<string>",
"dbVolumePath": "<string>",
"is_paid": true,
"logo": "<string>",
"provider": "<string>",
"provider_identifier": "<string>",
"storage_pricing_factor": 123,
"compute_pricing_factor": 123,
"continent": "Africa",
"enabled": true,
"floating_ip": "<string>",
"type": "web",
"ceph_cluster_id": "<string>",
"volume_backend": "ceph",
"csi": {
"plugin_id": "<string>",
"topology_path": "<string>",
"require_topology": true,
"availability_zone": "<string>",
"parameters": {},
"parameters_env": {},
"fs_type": "<string>",
"attachment_modes": [
"<string>"
]
}
},
"is_custom_provision": true,
"specifications": {},
"provider": "<string>",
"meta": {},
"_id": "6a81bed11470bfcd2a5dbcfa",
"grpc_address": "<string>",
"ipv6": "<string>",
"domain": "<string>",
"teamId": "6a81bed11470bfcd2a5dbcfa",
"webhook_url": "<string>",
"firewall_id": "<string>",
"plugin_id": "<string>",
"provider_location": "<string>",
"provider_identifier": "<string>",
"topology_path": "<string>",
"cert_storage_path": "<string>"
},
"isPrivate": true,
"status": "AWAITING_CONFIG_APPROVAL",
"framework": "<string>",
"description": "<string>",
"logs": [
{
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
}
],
"log": {
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"maintenance": true,
"preview_deployments_enabled": true,
"starred": true,
"passwordEnabled": true,
"disabled": true,
"authEnabled": true,
"deployedInCluster": true,
"screenshot": {
"image": "<string>",
"public_id": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"container_stats_schedule_id": "<string>",
"lastProcessed": 123,
"tracking_token": "<string>",
"from": "<string>",
"previews": [
{
"name": "<string>",
"pid": 123,
"port": 123,
"ip": "<string>",
"http2": true,
"dir": "<string>",
"branch": "<string>",
"server": {
"name": "<string>",
"url": "<string>",
"node_id": "<string>",
"force_deactivation": true,
"userId": "6a81bed11470bfcd2a5dbcfa",
"ip_address": "<string>",
"private_ip_address": "<string>",
"type": "<string>",
"protocol": "TCP",
"status": "active",
"default": true,
"tag": "<string>",
"region": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"country": "<string>",
"cname": "<string>",
"dbVolumePath": "<string>",
"is_paid": true,
"logo": "<string>",
"provider": "<string>",
"provider_identifier": "<string>",
"storage_pricing_factor": 123,
"compute_pricing_factor": 123,
"continent": "Africa",
"enabled": true,
"floating_ip": "<string>",
"type": "web",
"ceph_cluster_id": "<string>",
"volume_backend": "ceph",
"csi": {
"plugin_id": "<string>",
"topology_path": "<string>",
"require_topology": true,
"availability_zone": "<string>",
"parameters": {},
"parameters_env": {},
"fs_type": "<string>",
"attachment_modes": [
"<string>"
]
}
},
"is_custom_provision": true,
"specifications": {},
"provider": "<string>",
"meta": {},
"_id": "6a81bed11470bfcd2a5dbcfa",
"grpc_address": "<string>",
"ipv6": "<string>",
"domain": "<string>",
"teamId": "6a81bed11470bfcd2a5dbcfa",
"webhook_url": "<string>",
"firewall_id": "<string>",
"plugin_id": "<string>",
"provider_location": "<string>",
"provider_identifier": "<string>",
"topology_path": "<string>",
"cert_storage_path": "<string>"
},
"project": "<unknown>",
"issue_comment_id": 123,
"status": "AWAITING_CONFIG_APPROVAL",
"log": {
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"last_requested": "2023-11-07T05:31:56Z",
"isPaused": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"healthCheckPath": "<string>",
"pr_number": 123
}
],
"inherit_environment_vars": true,
"replicas": 123,
"vaultPath": "<string>",
"specs": {
"memory": 123,
"cpu": 123,
"storage": 123,
"region": "6a81bed11470bfcd2a5dbcfa"
},
"last_requested": "2023-11-07T05:31:56Z",
"isPaused": true,
"paused_by": "<string>",
"billable": true,
"replica_ready": true,
"isPaid": true,
"volumeMount": "<string>",
"managed_by_config": {
"path": "<string>",
"fields": [
"<string>"
],
"commit": "<string>",
"applied_at": "2023-11-07T05:31:56Z"
},
"healthCheckPath": "<string>",
"preStartCommand": "<string>",
"backup_retention_days": 123,
"backup_destination_bucket": "6a81bed11470bfcd2a5dbcfa",
"backup_destination_external": {
"endpoint": "<string>",
"region": "<string>",
"bucket_name": "<string>"
},
"dedicated_egress": {
"enabled": true,
"pool": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"preview_collaboration": {
"enabled": true,
"external_collaborators": [
"<string>"
],
"site_id": "<string>",
"script_src": "<string>",
"api_origin": "<string>",
"enabled_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"free_tier_expires_at": "2023-11-07T05:31:56Z",
"free_tier_expiry_notified_at": "2023-11-07T05:31:56Z",
"buildCacheEnabled": true,
"buildHealthCheck": true,
"pgbouncerConfig": {
"defaultPoolSize": 123,
"maxDbConnections": 123,
"maxDbClientConnections": 123,
"maxUserConnections": 123,
"maxClientConn": 123,
"maxPreparedStatements": 123,
"serverLifetime": 123,
"serverIdleTimeout": 123
},
"tlsEnabledAt": "2023-11-07T05:31:56Z",
"meshTlsEnabled": true,
"tlsCaObjectKey": "<string>",
"tlsServerCertExpiresAt": "2023-11-07T05:31:56Z",
"tlsHost": "<string>",
"tlsPort": 123,
"tlsSslModeHint": "<string>",
"tlsProvisioning": true,
"tlsClaimedAt": "2023-11-07T05:31:56Z",
"tlsMigration": {
"phase": "allow",
"interruptedJobId": "<string>"
},
"pendingMqEvent": {
"event": "<string>",
"data": {},
"createdAt": "2023-11-07T05:31:56Z",
"messageId": "<string>"
},
"passwordRotation": {
"applied": true,
"vaultSynced": true
},
"rolloutInterruptedJobId": "<string>",
"activeOperationMessageId": "<string>",
"lastCompletedMessageId": "<string>",
"lastFailedMessageId": "<string>",
"provisionProgress": {
"phase": "preparing",
"message": "<string>",
"step": "queued",
"operation": "create",
"updatedAt": "2023-11-07T05:31:56Z",
"memberIndex": 123
},
"haCluster": {
"clusterName": "<string>",
"members": [
{
"index": 123,
"role": "primary",
"region": "6a81bed11470bfcd2a5dbcfa",
"port": 123,
"publicHost": "<string>",
"internalHost": "<string>",
"volume": "6a81bed11470bfcd2a5dbcfa",
"nomadJobId": "<string>",
"csiVolumeId": "<string>",
"serverId": "<string>",
"appliedStorage": 123,
"status": "<string>"
}
],
"regions": [
"6a81bed11470bfcd2a5dbcfa"
]
},
"runtimeVersions": {},
"rootDir": "<string>",
"dockerfile": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"disabled_by": "payment_failure",
"deletedAt": "2023-11-07T05:31:56Z",
"project_environment": null,
"desiredSpecs": {
"memory": 123,
"cpu": 123,
"storage": 123,
"region": "6a81bed11470bfcd2a5dbcfa"
},
"currentSpecs": {
"memory": 123,
"cpu": 123,
"storage": 123,
"region": "6a81bed11470bfcd2a5dbcfa"
},
"serviceType": "database",
"cronEnabled": true,
"cronExpression": "<string>",
"cronTimezone": "<string>",
"cronCommand": "<string>",
"last_backup_url": "<string>",
"last_backup_at": "2023-11-07T05:31:56Z",
"autoscaling_group": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"replicas": 123,
"subscription_id": {
"user_id": "<unknown>",
"type": "<string>",
"stripe_id": "<string>",
"stripe_status": "<string>",
"stripe_price": "<string>",
"quantity": 123,
"trial_ends_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"plan_type": "FREE_PLAN",
"domain_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"team_id": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"min_containers": 123,
"max_containers": 123,
"active": true,
"max_cpu": 123,
"max_memory": 123,
"meta": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"project": "6a81bed11470bfcd2a5dbcfa",
"user_id": null,
"team_id": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"hasUpdates": true,
"whiteListedIps": [
"<string>"
],
"diskSize": 123,
"persistent_mount_path": "<string>"
}
],
"teams": [
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
],
"avatar": "<string>",
"freeTrialActive": true,
"activated": true,
"is_waitlist": true,
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_minutes": 123,
"llm_tokens": 123,
"llm_tokens_used": 123,
"llm_tokens_team_granted": true,
"disabled": true,
"disabled_at": "2023-11-07T05:31:56Z",
"has_payment_method": true,
"notifications": {
"mute": true,
"email_categories": {
"billing": true,
"activity": true,
"repositories": true,
"updates": true
}
},
"agent_byok_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"company": "<string>",
"origin": {
"installation_id": "<string>",
"namespace_id": "<string>",
"repository_selection": "all"
},
"totp_enabled": true,
"referral_code": "<string>",
"referred_by": "6a81bed11470bfcd2a5dbcfa",
"referred_at": "2023-11-07T05:31:56Z",
"referral_converted_at": "2023-11-07T05:31:56Z",
"referral_rewarded_count": 123,
"referral_domain_credits": 123,
"referral_invoice_credits": 123,
"referral_reward_granted": true,
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123
},
"isDefault": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
},
"inherit_from": null
},
"include": {
"variables": true,
"projects": true,
"sandboxes": true,
"buckets": true
},
"jobId": "<string>",
"status": "queued"
}
}{
"errors": [
{
"type": "field",
"value": "<unknown>",
"msg": "Invalid value",
"path": "name",
"location": "body"
}
]
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}Environments
Clone an environment
API key scope: environment.create
Team role permission: environment.create
POST
/
v1
/
environments
/
{sourceEnvironmentId}
/
clone
Clone an environment
curl --request POST \
--url https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone \
--header 'Content-Type: application/json' \
--header 'x-brimble-key: <api-key>' \
--data '
{
"name": "<string>",
"include": {
"variables": false,
"projects": false,
"sandboxes": false,
"buckets": false
},
"teamId": "<string>",
"domainSuffix": "<string>",
"inheritFrom": "<string>"
}
'import requests
url = "https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone"
payload = {
"name": "<string>",
"include": {
"variables": False,
"projects": False,
"sandboxes": False,
"buckets": False
},
"teamId": "<string>",
"domainSuffix": "<string>",
"inheritFrom": "<string>"
}
headers = {
"x-brimble-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-brimble-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
include: {variables: false, projects: false, sandboxes: false, buckets: false},
teamId: '<string>',
domainSuffix: '<string>',
inheritFrom: '<string>'
})
};
fetch('https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'include' => [
'variables' => false,
'projects' => false,
'sandboxes' => false,
'buckets' => false
],
'teamId' => '<string>',
'domainSuffix' => '<string>',
'inheritFrom' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-brimble-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"include\": {\n \"variables\": false,\n \"projects\": false,\n \"sandboxes\": false,\n \"buckets\": false\n },\n \"teamId\": \"<string>\",\n \"domainSuffix\": \"<string>\",\n \"inheritFrom\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-brimble-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone")
.header("x-brimble-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"include\": {\n \"variables\": false,\n \"projects\": false,\n \"sandboxes\": false,\n \"buckets\": false\n },\n \"teamId\": \"<string>\",\n \"domainSuffix\": \"<string>\",\n \"inheritFrom\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.brimble.io/core/v1/environments/{sourceEnvironmentId}/clone")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-brimble-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"include\": {\n \"variables\": false,\n \"projects\": false,\n \"sandboxes\": false,\n \"buckets\": false\n },\n \"teamId\": \"<string>\",\n \"domainSuffix\": \"<string>\",\n \"inheritFrom\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"message": "Environment clone queued",
"data": {
"environment": {
"name": "<string>",
"slug": "<string>",
"owner": {
"first_name": "<string>",
"last_name": "<string>",
"email": "<string>",
"username": "<string>",
"email_verified_at": "<string>",
"ai_usage_count": 123,
"github": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"git_id": 123,
"installation_ids": [
123
],
"installation_id": "<string>",
"scope": "<string>",
"created_at": 123,
"state": "<string>",
"expires_in": 123,
"expires_at": 123,
"scopes": "<string>"
},
"gitlab": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"git_id": 123,
"installation_ids": [
123
],
"installation_id": "<string>",
"scope": "<string>",
"created_at": 123,
"state": "<string>",
"expires_in": 123,
"expires_at": 123,
"scopes": "<string>"
},
"location": "<string>",
"interests": [
"<string>"
],
"bitbucket": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"git_id": 123,
"installation_ids": [
123
],
"installation_id": "<string>",
"scope": "<string>",
"created_at": 123,
"state": "<string>",
"expires_in": 123,
"expires_at": 123,
"scopes": "<string>"
},
"following": [
{
"_id": "6a81bed11470bfcd2a5dbcfa",
"user_id": "<string>",
"followed_id": "<string>"
}
],
"projects": [
{
"name": "<string>",
"backupEnabled": true,
"backup_mode": "automatic",
"backup_schedule": "<string>",
"backup_timezone": "<string>",
"backup_destination_type": "platform",
"http2": true,
"alerting_enabled": true,
"logDrainsEnabled": true,
"domains": [
{
"name": "<string>",
"project": "<unknown>",
"user_id": "<unknown>",
"primary": true,
"preview": {
"name": "<string>",
"pid": 123,
"port": 123,
"ip": "<string>",
"http2": true,
"dir": "<string>",
"branch": "<string>",
"server": {
"name": "<string>",
"url": "<string>",
"node_id": "<string>",
"force_deactivation": true,
"userId": "6a81bed11470bfcd2a5dbcfa",
"ip_address": "<string>",
"private_ip_address": "<string>",
"type": "<string>",
"protocol": "TCP",
"status": "active",
"default": true,
"tag": "<string>",
"region": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"country": "<string>",
"cname": "<string>",
"dbVolumePath": "<string>",
"is_paid": true,
"logo": "<string>",
"provider": "<string>",
"provider_identifier": "<string>",
"storage_pricing_factor": 123,
"compute_pricing_factor": 123,
"continent": "Africa",
"enabled": true,
"floating_ip": "<string>",
"type": "web",
"ceph_cluster_id": "<string>",
"volume_backend": "ceph",
"csi": {
"plugin_id": "<string>",
"topology_path": "<string>",
"require_topology": true,
"availability_zone": "<string>",
"parameters": {},
"parameters_env": {},
"fs_type": "<string>",
"attachment_modes": [
"<string>"
]
}
},
"is_custom_provision": true,
"specifications": {},
"provider": "<string>",
"meta": {},
"_id": "6a81bed11470bfcd2a5dbcfa",
"grpc_address": "<string>",
"ipv6": "<string>",
"domain": "<string>",
"teamId": "6a81bed11470bfcd2a5dbcfa",
"webhook_url": "<string>",
"firewall_id": "<string>",
"plugin_id": "<string>",
"provider_location": "<string>",
"provider_identifier": "<string>",
"topology_path": "<string>",
"cert_storage_path": "<string>"
},
"project": "<unknown>",
"issue_comment_id": 123,
"status": "AWAITING_CONFIG_APPROVAL",
"log": {
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"last_requested": "2023-11-07T05:31:56Z",
"isPaused": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"healthCheckPath": "<string>",
"pr_number": 123
},
"provider": "<string>",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"cashier_subscription_id": "<string>",
"auto_renewal": true,
"renewal_duration": 123,
"is_discounted": true,
"purchased": true,
"privacy_enabled": true,
"renewal_date": "<string>",
"renewal_price": 123,
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"nameservers": [
"<string>"
],
"dns": [
{
"name": "<string>",
"ttl": 123,
"type": "<string>",
"value": "<string>",
"domain": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"isProxied": true,
"managed_by": "<string>"
}
],
"is_pending_verification": true,
"wildcard_enabled": true,
"wildcard_verified": true,
"email_forwarding_enabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"team_id": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
},
"cloudflare_custom_hostname_id": "<string>",
"cloudflare_custom_hostname_status": "<string>",
"nameservers_next_check_at": "2023-11-07T05:31:56Z",
"registration_next_check_at": "2023-11-07T05:31:56Z",
"project_environment": null,
"last_expiry_notification_at": "2023-11-07T05:31:56Z",
"redirect": {
"url": "<string>",
"status": 301
}
}
],
"environments": [
{
"name": "<string>",
"value": "<string>",
"project": "<unknown>",
"user": "<unknown>",
"environment": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"is_system": true
}
],
"uuid": 123,
"pid": 123,
"port": 123,
"ip": "<string>",
"dir": "<string>",
"tlsEnabled": true,
"sendReport": true,
"pgbouncerEnabled": true,
"dbImage": {
"name": "mysql",
"image_url": "<string>",
"version": "<string>",
"envs": [
{
"value": "<string>",
"type": "<string>"
}
],
"is_available": true,
"is_default": true,
"backup_supported": true,
"restore_supported": true,
"pgbouncer_supported": true,
"pgvector_supported": true,
"manage_user": true,
"image": "<string>",
"free": true,
"erd": true,
"analytics": true,
"has_port": true,
"port": 123,
"volumePath": "<string>",
"protocol": "<string>",
"tls_enabled": true,
"ha": true,
"workbench": true,
"workbench_mode": "sql",
"password_mode": "provided",
"password_change_mode": "live",
"httpTitle": "<string>",
"httpSubtext": "<string>",
"params": {},
"recommendations": [
{
"cpu": "<string>",
"memory": "<string>",
"storage": "<string>"
}
],
"_id": "6a81bed11470bfcd2a5dbcfa",
"ha_image": "<string>",
"httpPort": 123,
"tls_protocol": "<string>",
"tls_params": {},
"connection": {
"user": true,
"database": true,
"protocol": "<string>",
"port": 123,
"authEnv": "<string>"
}
},
"ha": true,
"public": true,
"installCommand": "<string>",
"buildCommand": "<string>",
"startCommand": "<string>",
"outputDirectory": "<string>",
"workBenchEnabled": true,
"user_id": "<unknown>",
"monitor_id": "<string>",
"nomadJobId": "<string>",
"watchPaths": [
"<string>"
],
"repo": {
"name": "<string>",
"full_name": "<string>",
"id": "<string>",
"branch": "<string>",
"installationId": "<string>",
"git": "GITHUB"
},
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
},
"server": {
"name": "<string>",
"url": "<string>",
"node_id": "<string>",
"force_deactivation": true,
"userId": "6a81bed11470bfcd2a5dbcfa",
"ip_address": "<string>",
"private_ip_address": "<string>",
"type": "<string>",
"protocol": "TCP",
"status": "active",
"default": true,
"tag": "<string>",
"region": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"country": "<string>",
"cname": "<string>",
"dbVolumePath": "<string>",
"is_paid": true,
"logo": "<string>",
"provider": "<string>",
"provider_identifier": "<string>",
"storage_pricing_factor": 123,
"compute_pricing_factor": 123,
"continent": "Africa",
"enabled": true,
"floating_ip": "<string>",
"type": "web",
"ceph_cluster_id": "<string>",
"volume_backend": "ceph",
"csi": {
"plugin_id": "<string>",
"topology_path": "<string>",
"require_topology": true,
"availability_zone": "<string>",
"parameters": {},
"parameters_env": {},
"fs_type": "<string>",
"attachment_modes": [
"<string>"
]
}
},
"is_custom_provision": true,
"specifications": {},
"provider": "<string>",
"meta": {},
"_id": "6a81bed11470bfcd2a5dbcfa",
"grpc_address": "<string>",
"ipv6": "<string>",
"domain": "<string>",
"teamId": "6a81bed11470bfcd2a5dbcfa",
"webhook_url": "<string>",
"firewall_id": "<string>",
"plugin_id": "<string>",
"provider_location": "<string>",
"provider_identifier": "<string>",
"topology_path": "<string>",
"cert_storage_path": "<string>"
},
"isPrivate": true,
"status": "AWAITING_CONFIG_APPROVAL",
"framework": "<string>",
"description": "<string>",
"logs": [
{
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
}
],
"log": {
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"maintenance": true,
"preview_deployments_enabled": true,
"starred": true,
"passwordEnabled": true,
"disabled": true,
"authEnabled": true,
"deployedInCluster": true,
"screenshot": {
"image": "<string>",
"public_id": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"container_stats_schedule_id": "<string>",
"lastProcessed": 123,
"tracking_token": "<string>",
"from": "<string>",
"previews": [
{
"name": "<string>",
"pid": 123,
"port": 123,
"ip": "<string>",
"http2": true,
"dir": "<string>",
"branch": "<string>",
"server": {
"name": "<string>",
"url": "<string>",
"node_id": "<string>",
"force_deactivation": true,
"userId": "6a81bed11470bfcd2a5dbcfa",
"ip_address": "<string>",
"private_ip_address": "<string>",
"type": "<string>",
"protocol": "TCP",
"status": "active",
"default": true,
"tag": "<string>",
"region": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"country": "<string>",
"cname": "<string>",
"dbVolumePath": "<string>",
"is_paid": true,
"logo": "<string>",
"provider": "<string>",
"provider_identifier": "<string>",
"storage_pricing_factor": 123,
"compute_pricing_factor": 123,
"continent": "Africa",
"enabled": true,
"floating_ip": "<string>",
"type": "web",
"ceph_cluster_id": "<string>",
"volume_backend": "ceph",
"csi": {
"plugin_id": "<string>",
"topology_path": "<string>",
"require_topology": true,
"availability_zone": "<string>",
"parameters": {},
"parameters_env": {},
"fs_type": "<string>",
"attachment_modes": [
"<string>"
]
}
},
"is_custom_provision": true,
"specifications": {},
"provider": "<string>",
"meta": {},
"_id": "6a81bed11470bfcd2a5dbcfa",
"grpc_address": "<string>",
"ipv6": "<string>",
"domain": "<string>",
"teamId": "6a81bed11470bfcd2a5dbcfa",
"webhook_url": "<string>",
"firewall_id": "<string>",
"plugin_id": "<string>",
"provider_location": "<string>",
"provider_identifier": "<string>",
"topology_path": "<string>",
"cert_storage_path": "<string>"
},
"project": "<unknown>",
"issue_comment_id": 123,
"status": "AWAITING_CONFIG_APPROVAL",
"log": {
"name": "<string>",
"key": "<string>",
"commit": {
"sha": "<string>",
"branch": "<string>",
"message": "<string>",
"committer": {
"name": "<string>",
"email": "<string>",
"username": "<string>"
}
},
"source": "<string>",
"status": "AWAITING_CONFIG_APPROVAL",
"project": "<unknown>",
"jobs": [
{
"id": 123,
"name": "<string>"
}
],
"environment": "PREVIEW",
"preview": "<unknown>",
"startTime": "<string>",
"endTime": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deleted": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"user": null,
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"last_requested": "2023-11-07T05:31:56Z",
"isPaused": true,
"_id": "6a81bed11470bfcd2a5dbcfa",
"healthCheckPath": "<string>",
"pr_number": 123
}
],
"inherit_environment_vars": true,
"replicas": 123,
"vaultPath": "<string>",
"specs": {
"memory": 123,
"cpu": 123,
"storage": 123,
"region": "6a81bed11470bfcd2a5dbcfa"
},
"last_requested": "2023-11-07T05:31:56Z",
"isPaused": true,
"paused_by": "<string>",
"billable": true,
"replica_ready": true,
"isPaid": true,
"volumeMount": "<string>",
"managed_by_config": {
"path": "<string>",
"fields": [
"<string>"
],
"commit": "<string>",
"applied_at": "2023-11-07T05:31:56Z"
},
"healthCheckPath": "<string>",
"preStartCommand": "<string>",
"backup_retention_days": 123,
"backup_destination_bucket": "6a81bed11470bfcd2a5dbcfa",
"backup_destination_external": {
"endpoint": "<string>",
"region": "<string>",
"bucket_name": "<string>"
},
"dedicated_egress": {
"enabled": true,
"pool": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
},
"preview_collaboration": {
"enabled": true,
"external_collaborators": [
"<string>"
],
"site_id": "<string>",
"script_src": "<string>",
"api_origin": "<string>",
"enabled_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"free_tier_expires_at": "2023-11-07T05:31:56Z",
"free_tier_expiry_notified_at": "2023-11-07T05:31:56Z",
"buildCacheEnabled": true,
"buildHealthCheck": true,
"pgbouncerConfig": {
"defaultPoolSize": 123,
"maxDbConnections": 123,
"maxDbClientConnections": 123,
"maxUserConnections": 123,
"maxClientConn": 123,
"maxPreparedStatements": 123,
"serverLifetime": 123,
"serverIdleTimeout": 123
},
"tlsEnabledAt": "2023-11-07T05:31:56Z",
"meshTlsEnabled": true,
"tlsCaObjectKey": "<string>",
"tlsServerCertExpiresAt": "2023-11-07T05:31:56Z",
"tlsHost": "<string>",
"tlsPort": 123,
"tlsSslModeHint": "<string>",
"tlsProvisioning": true,
"tlsClaimedAt": "2023-11-07T05:31:56Z",
"tlsMigration": {
"phase": "allow",
"interruptedJobId": "<string>"
},
"pendingMqEvent": {
"event": "<string>",
"data": {},
"createdAt": "2023-11-07T05:31:56Z",
"messageId": "<string>"
},
"passwordRotation": {
"applied": true,
"vaultSynced": true
},
"rolloutInterruptedJobId": "<string>",
"activeOperationMessageId": "<string>",
"lastCompletedMessageId": "<string>",
"lastFailedMessageId": "<string>",
"provisionProgress": {
"phase": "preparing",
"message": "<string>",
"step": "queued",
"operation": "create",
"updatedAt": "2023-11-07T05:31:56Z",
"memberIndex": 123
},
"haCluster": {
"clusterName": "<string>",
"members": [
{
"index": 123,
"role": "primary",
"region": "6a81bed11470bfcd2a5dbcfa",
"port": 123,
"publicHost": "<string>",
"internalHost": "<string>",
"volume": "6a81bed11470bfcd2a5dbcfa",
"nomadJobId": "<string>",
"csiVolumeId": "<string>",
"serverId": "<string>",
"appliedStorage": 123,
"status": "<string>"
}
],
"regions": [
"6a81bed11470bfcd2a5dbcfa"
]
},
"runtimeVersions": {},
"rootDir": "<string>",
"dockerfile": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"disabled_by": "payment_failure",
"deletedAt": "2023-11-07T05:31:56Z",
"project_environment": null,
"desiredSpecs": {
"memory": 123,
"cpu": 123,
"storage": 123,
"region": "6a81bed11470bfcd2a5dbcfa"
},
"currentSpecs": {
"memory": 123,
"cpu": 123,
"storage": 123,
"region": "6a81bed11470bfcd2a5dbcfa"
},
"serviceType": "database",
"cronEnabled": true,
"cronExpression": "<string>",
"cronTimezone": "<string>",
"cronCommand": "<string>",
"last_backup_url": "<string>",
"last_backup_at": "2023-11-07T05:31:56Z",
"autoscaling_group": {
"_id": "6a81bed11470bfcd2a5dbcfa",
"name": "<string>",
"replicas": 123,
"subscription_id": {
"user_id": "<unknown>",
"type": "<string>",
"stripe_id": "<string>",
"stripe_status": "<string>",
"stripe_price": "<string>",
"quantity": 123,
"trial_ends_at": "2023-11-07T05:31:56Z",
"ends_at": "2023-11-07T05:31:56Z",
"plan_type": "FREE_PLAN",
"domain_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"team_id": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"min_containers": 123,
"max_containers": 123,
"active": true,
"max_cpu": 123,
"max_memory": 123,
"meta": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"project": "6a81bed11470bfcd2a5dbcfa",
"user_id": null,
"team_id": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
},
"hasUpdates": true,
"whiteListedIps": [
"<string>"
],
"diskSize": 123,
"persistent_mount_path": "<string>"
}
],
"teams": [
{
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
}
],
"avatar": "<string>",
"freeTrialActive": true,
"activated": true,
"is_waitlist": true,
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_minutes": 123,
"llm_tokens": 123,
"llm_tokens_used": 123,
"llm_tokens_team_granted": true,
"disabled": true,
"disabled_at": "2023-11-07T05:31:56Z",
"has_payment_method": true,
"notifications": {
"mute": true,
"email_categories": {
"billing": true,
"activity": true,
"repositories": true,
"updates": true
}
},
"agent_byok_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"company": "<string>",
"origin": {
"installation_id": "<string>",
"namespace_id": "<string>",
"repository_selection": "all"
},
"totp_enabled": true,
"referral_code": "<string>",
"referred_by": "6a81bed11470bfcd2a5dbcfa",
"referred_at": "2023-11-07T05:31:56Z",
"referral_converted_at": "2023-11-07T05:31:56Z",
"referral_rewarded_count": 123,
"referral_domain_credits": 123,
"referral_invoice_credits": 123,
"referral_reward_granted": true,
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123
},
"isDefault": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"team": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"size": 123,
"members": [
{
"user": "<unknown>",
"team": "<unknown>",
"role": "CREATOR",
"accepted": true,
"invitedBy": "<unknown>",
"email": "<string>",
"featureOnboarded": true,
"project_environments": "<array>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"custom_role": "6a81bed11470bfcd2a5dbcfa"
}
],
"projects": "<array>",
"ai_usage_count": 123,
"image": "<string>",
"isCreator": true,
"build_minutes": 123,
"build_minutes_last_reset_at": "2023-11-07T05:31:56Z",
"build_minutes_cycle_anchor": "2023-11-07T05:31:56Z",
"spending_limit": 123,
"spending_limit_action": "notify",
"spending_limit_breached_at": "2023-11-07T05:31:56Z",
"build_disabled": true,
"build_disabled_by": "system",
"sandbox_disabled": true,
"sandbox_disabled_by": "system",
"subscription": {
"initial_start_date": "<string>",
"team_id": "<unknown>",
"due_amount": 123,
"admin_id": "<unknown>",
"downgraded": true,
"billable_id": "<unknown>",
"plan_type": "FREE_PLAN",
"status": "active",
"amount": 123,
"transaction_retries": 123,
"debit_date": "<string>",
"start_date": "<string>",
"expiry_date": "<string>",
"reminder_date": "<string>",
"is_pending_downgrade": true,
"grafana_org_id": "<string>",
"job_identifier": "<string>",
"trigger_created": true,
"trigger_created_at": "<string>",
"disabled_at": "2023-11-07T05:31:56Z",
"specifications": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"project_id": null
},
"enforce_2fa": true,
"enforce_2fa_at": "2023-11-07T05:31:56Z",
"enforce_2fa_by": "6a81bed11470bfcd2a5dbcfa",
"activation_pending_since": "2023-11-07T05:31:56Z",
"pending_member_invites": [
"<string>"
],
"activation_checked_at": "2023-11-07T05:31:56Z",
"_id": "6a81bed11470bfcd2a5dbcfa",
"concurrent_builds": 123,
"max_concurrent_builds_per_project": 123,
"activation_status": "active"
},
"inherit_from": null
},
"include": {
"variables": true,
"projects": true,
"sandboxes": true,
"buckets": true
},
"jobId": "<string>",
"status": "queued"
}
}{
"errors": [
{
"type": "field",
"value": "<unknown>",
"msg": "Invalid value",
"path": "name",
"location": "body"
}
]
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}{
"message": "Project not found",
"data": {}
}Authorizations
ApiKeyAuthBearerAuth
API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.
Path Parameters
Pattern:
^[a-fA-F0-9]{24}$Body
application/json
Last modified on October 10, 2026
Was this page helpful?