Skip to main content
POST
Create a compute pool

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

data_plane_id
string<uuid>
required

The data plane this compute pool belongs to.

Body

application/json
name
string
required

A unique slug identifier for the compute pool within a (company, data plane) scope.

display_name
string
required

A human-readable name for the compute pool.

provider
object
required
external_id
object

Required for the snowflake_warehouse provider (carries the warehouse name and alias). Optional for the aws_emr provider — the only meaningful field there is the type discriminator, which the server fills in automatically when the field is omitted. Sent as null when omitted.

description
string | null

An optional description of the compute pool.

tags
string[] | null
collaborators
object | null

Response

Created

type
enum<string>
required
Available options:
owned
id
string<uuid>
required
company_id
number
required
data_plane_id
string<uuid>
required
external_id
object
required
name
string
required
display_name
string
required
status
enum<string>
required
Available options:
active,
archived
created_at
string<date-time>
required
tags
string[]
required
provider
object
required
collaborators
object
required
default_source
enum<string> | null
required

Set when this pool is the compute pool the authenticated company's jobs run on when they don't name one themselves, and says which level made it the default. null on every other pool. Exactly one active pool per data plane can carry a non-null value.

Available options:
company,
data_plane
description
string | null
updated_at
string<date-time> | null

Null until the pool has been updated at least once.