create deployment profile
curl --request POST \
--url https://engine.example.com/api/v1/workers/profiles \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"provisioner": "<string>",
"resources": {
"cpu_millicores": 2,
"memory_bytes": 2,
"tuning": {
"batch_rows": 2,
"file_read_concurrency": 2,
"input_prefetch_batches": 1,
"native_parquet_scan": true,
"output_buffer_batches": 2,
"query_memory_bytes": 2,
"spill_bytes": 1,
"threads": 2,
"write_batch_rows": 2,
"write_parallelism": 2
}
},
"sizing": {
"mode": "fixed",
"workers": 1
}
}
'import requests
url = "https://engine.example.com/api/v1/workers/profiles"
payload = {
"name": "<string>",
"provisioner": "<string>",
"resources": {
"cpu_millicores": 2,
"memory_bytes": 2,
"tuning": {
"batch_rows": 2,
"file_read_concurrency": 2,
"input_prefetch_batches": 1,
"native_parquet_scan": True,
"output_buffer_batches": 2,
"query_memory_bytes": 2,
"spill_bytes": 1,
"threads": 2,
"write_batch_rows": 2,
"write_parallelism": 2
}
},
"sizing": {
"mode": "fixed",
"workers": 1
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
provisioner: '<string>',
resources: {
cpu_millicores: 2,
memory_bytes: 2,
tuning: {
batch_rows: 2,
file_read_concurrency: 2,
input_prefetch_batches: 1,
native_parquet_scan: true,
output_buffer_batches: 2,
query_memory_bytes: 2,
spill_bytes: 1,
threads: 2,
write_batch_rows: 2,
write_parallelism: 2
}
},
sizing: {mode: 'fixed', workers: 1}
})
};
fetch('https://engine.example.com/api/v1/workers/profiles', 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://engine.example.com/api/v1/workers/profiles",
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>',
'provisioner' => '<string>',
'resources' => [
'cpu_millicores' => 2,
'memory_bytes' => 2,
'tuning' => [
'batch_rows' => 2,
'file_read_concurrency' => 2,
'input_prefetch_batches' => 1,
'native_parquet_scan' => true,
'output_buffer_batches' => 2,
'query_memory_bytes' => 2,
'spill_bytes' => 1,
'threads' => 2,
'write_batch_rows' => 2,
'write_parallelism' => 2
]
],
'sizing' => [
'mode' => 'fixed',
'workers' => 1
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://engine.example.com/api/v1/workers/profiles"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"provisioner\": \"<string>\",\n \"resources\": {\n \"cpu_millicores\": 2,\n \"memory_bytes\": 2,\n \"tuning\": {\n \"batch_rows\": 2,\n \"file_read_concurrency\": 2,\n \"input_prefetch_batches\": 1,\n \"native_parquet_scan\": true,\n \"output_buffer_batches\": 2,\n \"query_memory_bytes\": 2,\n \"spill_bytes\": 1,\n \"threads\": 2,\n \"write_batch_rows\": 2,\n \"write_parallelism\": 2\n }\n },\n \"sizing\": {\n \"mode\": \"fixed\",\n \"workers\": 1\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://engine.example.com/api/v1/workers/profiles")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"provisioner\": \"<string>\",\n \"resources\": {\n \"cpu_millicores\": 2,\n \"memory_bytes\": 2,\n \"tuning\": {\n \"batch_rows\": 2,\n \"file_read_concurrency\": 2,\n \"input_prefetch_batches\": 1,\n \"native_parquet_scan\": true,\n \"output_buffer_batches\": 2,\n \"query_memory_bytes\": 2,\n \"spill_bytes\": 1,\n \"threads\": 2,\n \"write_batch_rows\": 2,\n \"write_parallelism\": 2\n }\n },\n \"sizing\": {\n \"mode\": \"fixed\",\n \"workers\": 1\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://engine.example.com/api/v1/workers/profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"provisioner\": \"<string>\",\n \"resources\": {\n \"cpu_millicores\": 2,\n \"memory_bytes\": 2,\n \"tuning\": {\n \"batch_rows\": 2,\n \"file_read_concurrency\": 2,\n \"input_prefetch_batches\": 1,\n \"native_parquet_scan\": true,\n \"output_buffer_batches\": 2,\n \"query_memory_bytes\": 2,\n \"spill_bytes\": 1,\n \"threads\": 2,\n \"write_batch_rows\": 2,\n \"write_parallelism\": 2\n }\n },\n \"sizing\": {\n \"mode\": \"fixed\",\n \"workers\": 1\n }\n}"
response = http.request(request)
puts response.read_body{
"deleted": true,
"name": "<string>",
"paused": true,
"provisioner": "<string>",
"resources": {
"cpu_millicores": 2,
"memory_bytes": 2,
"tuning": {
"batch_rows": 2,
"file_read_concurrency": 2,
"input_prefetch_batches": 1,
"output_buffer_batches": 2,
"query_memory_bytes": 2,
"spill_bytes": 1,
"threads": 2,
"write_batch_rows": 2,
"write_parallelism": 2,
"native_parquet_scan": true
}
},
"revision": 1,
"sizing": {
"mode": "fixed",
"workers": 1
},
"updated_at": {
"unix_millis": 123
}
}{
"error": {
"code": "invalid_request",
"message": "Check the request fields"
}
}Create deployment profile
Change shared compute capacity. CPU and memory choices affect new work; review existing profiles and limits first.
create deployment profile
curl --request POST \
--url https://engine.example.com/api/v1/workers/profiles \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"provisioner": "<string>",
"resources": {
"cpu_millicores": 2,
"memory_bytes": 2,
"tuning": {
"batch_rows": 2,
"file_read_concurrency": 2,
"input_prefetch_batches": 1,
"native_parquet_scan": true,
"output_buffer_batches": 2,
"query_memory_bytes": 2,
"spill_bytes": 1,
"threads": 2,
"write_batch_rows": 2,
"write_parallelism": 2
}
},
"sizing": {
"mode": "fixed",
"workers": 1
}
}
'import requests
url = "https://engine.example.com/api/v1/workers/profiles"
payload = {
"name": "<string>",
"provisioner": "<string>",
"resources": {
"cpu_millicores": 2,
"memory_bytes": 2,
"tuning": {
"batch_rows": 2,
"file_read_concurrency": 2,
"input_prefetch_batches": 1,
"native_parquet_scan": True,
"output_buffer_batches": 2,
"query_memory_bytes": 2,
"spill_bytes": 1,
"threads": 2,
"write_batch_rows": 2,
"write_parallelism": 2
}
},
"sizing": {
"mode": "fixed",
"workers": 1
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
provisioner: '<string>',
resources: {
cpu_millicores: 2,
memory_bytes: 2,
tuning: {
batch_rows: 2,
file_read_concurrency: 2,
input_prefetch_batches: 1,
native_parquet_scan: true,
output_buffer_batches: 2,
query_memory_bytes: 2,
spill_bytes: 1,
threads: 2,
write_batch_rows: 2,
write_parallelism: 2
}
},
sizing: {mode: 'fixed', workers: 1}
})
};
fetch('https://engine.example.com/api/v1/workers/profiles', 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://engine.example.com/api/v1/workers/profiles",
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>',
'provisioner' => '<string>',
'resources' => [
'cpu_millicores' => 2,
'memory_bytes' => 2,
'tuning' => [
'batch_rows' => 2,
'file_read_concurrency' => 2,
'input_prefetch_batches' => 1,
'native_parquet_scan' => true,
'output_buffer_batches' => 2,
'query_memory_bytes' => 2,
'spill_bytes' => 1,
'threads' => 2,
'write_batch_rows' => 2,
'write_parallelism' => 2
]
],
'sizing' => [
'mode' => 'fixed',
'workers' => 1
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://engine.example.com/api/v1/workers/profiles"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"provisioner\": \"<string>\",\n \"resources\": {\n \"cpu_millicores\": 2,\n \"memory_bytes\": 2,\n \"tuning\": {\n \"batch_rows\": 2,\n \"file_read_concurrency\": 2,\n \"input_prefetch_batches\": 1,\n \"native_parquet_scan\": true,\n \"output_buffer_batches\": 2,\n \"query_memory_bytes\": 2,\n \"spill_bytes\": 1,\n \"threads\": 2,\n \"write_batch_rows\": 2,\n \"write_parallelism\": 2\n }\n },\n \"sizing\": {\n \"mode\": \"fixed\",\n \"workers\": 1\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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://engine.example.com/api/v1/workers/profiles")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"provisioner\": \"<string>\",\n \"resources\": {\n \"cpu_millicores\": 2,\n \"memory_bytes\": 2,\n \"tuning\": {\n \"batch_rows\": 2,\n \"file_read_concurrency\": 2,\n \"input_prefetch_batches\": 1,\n \"native_parquet_scan\": true,\n \"output_buffer_batches\": 2,\n \"query_memory_bytes\": 2,\n \"spill_bytes\": 1,\n \"threads\": 2,\n \"write_batch_rows\": 2,\n \"write_parallelism\": 2\n }\n },\n \"sizing\": {\n \"mode\": \"fixed\",\n \"workers\": 1\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://engine.example.com/api/v1/workers/profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"provisioner\": \"<string>\",\n \"resources\": {\n \"cpu_millicores\": 2,\n \"memory_bytes\": 2,\n \"tuning\": {\n \"batch_rows\": 2,\n \"file_read_concurrency\": 2,\n \"input_prefetch_batches\": 1,\n \"native_parquet_scan\": true,\n \"output_buffer_batches\": 2,\n \"query_memory_bytes\": 2,\n \"spill_bytes\": 1,\n \"threads\": 2,\n \"write_batch_rows\": 2,\n \"write_parallelism\": 2\n }\n },\n \"sizing\": {\n \"mode\": \"fixed\",\n \"workers\": 1\n }\n}"
response = http.request(request)
puts response.read_body{
"deleted": true,
"name": "<string>",
"paused": true,
"provisioner": "<string>",
"resources": {
"cpu_millicores": 2,
"memory_bytes": 2,
"tuning": {
"batch_rows": 2,
"file_read_concurrency": 2,
"input_prefetch_batches": 1,
"output_buffer_batches": 2,
"query_memory_bytes": 2,
"spill_bytes": 1,
"threads": 2,
"write_batch_rows": 2,
"write_parallelism": 2,
"native_parquet_scan": true
}
},
"revision": 1,
"sizing": {
"mode": "fixed",
"workers": 1
},
"updated_at": {
"unix_millis": 123
}
}{
"error": {
"code": "invalid_request",
"message": "Check the request fields"
}
}ReferenceApplies to: Unified engine deployments
Related guidance
Addresses and access · Request identity · Errors and recovery · Pagination and resultsBody
application/json
Response
Successful response.
Last modified on November 4, 2026