Skip to main content
POST
/
api
/
v1
/
org
/
projects
cURL
curl --request POST \
  --url http://api/v1/org/projects \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "DEFAULT",
  "pinnedListUuid": "<string>",
  "dbtConnection": {
    "type": "dbt",
    "target": "<string>",
    "environment": [
      {
        "value": "<string>",
        "key": "<string>"
      }
    ],
    "selector": "<string>",
    "profiles_dir": "<string>",
    "project_dir": "<string>"
  },
  "upstreamProjectUuid": "<string>",
  "dbtVersion": "v1.4",
  "copyWarehouseConnectionFromUpstreamProject": true,
  "tableConfiguration": "prod",
  "copyContent": true,
  "warehouseConnection": {
    "sshTunnelPrivateKey": "<string>",
    "sshTunnelPublicKey": "<string>",
    "sshTunnelUser": "<string>",
    "sshTunnelPort": 123,
    "sshTunnelHost": "<string>",
    "useSshTunnel": true,
    "timeoutSeconds": 123,
    "startOfWeek": 0,
    "ra3Node": true,
    "sslmode": "<string>",
    "keepalivesIdle": 123,
    "threads": 123,
    "schema": "<string>",
    "dbname": "<string>",
    "port": 123,
    "requireUserCredentials": true,
    "password": "<string>",
    "user": "<string>",
    "host": "<string>",
    "type": "redshift"
  }
}
'
{
  "results": {
    "hasContentCopy": true,
    "project": {
      "createdByUserUuid": "<string>",
      "schedulerTimezone": "<string>",
      "dbtVersion": "v1.4",
      "upstreamProjectUuid": "<string>",
      "pinnedListUuid": "<string>",
      "warehouseConnection": {
        "type": "snowflake",
        "authenticationType": "password",
        "token": "<string>",
        "role": "<string>",
        "account": "<string>",
        "requireUserCredentials": true,
        "database": "<string>",
        "warehouse": "<string>",
        "schema": "<string>",
        "threads": 123,
        "clientSessionKeepAlive": true,
        "queryTag": "<string>",
        "accessUrl": "<string>",
        "startOfWeek": 0,
        "quotedIdentifiersIgnoreCase": true,
        "override": true
      },
      "dbtConnection": {
        "type": "dbt",
        "target": "<string>",
        "environment": [
          {
            "value": "<string>",
            "key": "<string>"
          }
        ],
        "selector": "<string>",
        "profiles_dir": "<string>",
        "project_dir": "<string>"
      },
      "type": "DEFAULT",
      "name": "<string>",
      "projectUuid": "<string>",
      "organizationUuid": "<string>"
    }
  },
  "status": "ok"
}

Body

application/json

From T, pick a set of properties whose keys are in the union K

name
string
required
type
enum<string>
required
Available options:
DEFAULT,
PREVIEW
dbtConnection
object
required
  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
  • Option 7
  • Option 8
dbtVersion
required
Available options:
v1.4,
v1.5,
v1.6,
v1.7,
v1.8,
v1.9,
v1.10
pinnedListUuid
string
upstreamProjectUuid
string
copyWarehouseConnectionFromUpstreamProject
boolean
tableConfiguration
enum<string>
Available options:
prod,
all
copyContent
boolean
warehouseConnection
object
  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
  • Option 7

Response

Ok

results
object
required
status
enum<string>
required
Available options:
ok