curl --request POST \
--url https://api.checkfu.com/v1/computer-profiles/{id}/revisions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"expected_resource_version": 1,
"created_by_principal_id": "<string>",
"requirements_schema_version": 1,
"normalized_requirements": {
"schema_version": 1,
"execution": [],
"placement": [],
"isolation": {},
"retention": {
"maximum_seconds": 157680000
},
"network": {
"policy": {
"action_policy_id": "<string>",
"action_policy_version": 1
}
},
"locality": {
"regions": [
"<string>"
],
"residency_required": true
},
"resources": {
"minimum_vcpu": 512,
"minimum_memory_mib": 2097152,
"minimum_disk_mib": 536870912
}
},
"sandbox_profile_revision": {
"sandbox_profile_id": "<string>",
"revision_number": 1
},
"platform": {
"os_family": "<string>",
"architecture": "<string>"
},
"image": {
"reference": "<string>",
"image_digest": "<string>"
},
"screen_policy": {
"maximum_screens": 8,
"default_width": 8192,
"default_height": 8192,
"maximum_viewers_per_screen": 32
},
"lifecycle": {
"idle_sleep_seconds": 157680000,
"maximum_active_seconds": 157680000
}
}
'import requests
url = "https://api.checkfu.com/v1/computer-profiles/{id}/revisions"
payload = {
"expected_resource_version": 1,
"created_by_principal_id": "<string>",
"requirements_schema_version": 1,
"normalized_requirements": {
"schema_version": 1,
"execution": [],
"placement": [],
"isolation": {},
"retention": { "maximum_seconds": 157680000 },
"network": { "policy": {
"action_policy_id": "<string>",
"action_policy_version": 1
} },
"locality": {
"regions": ["<string>"],
"residency_required": True
},
"resources": {
"minimum_vcpu": 512,
"minimum_memory_mib": 2097152,
"minimum_disk_mib": 536870912
}
},
"sandbox_profile_revision": {
"sandbox_profile_id": "<string>",
"revision_number": 1
},
"platform": {
"os_family": "<string>",
"architecture": "<string>"
},
"image": {
"reference": "<string>",
"image_digest": "<string>"
},
"screen_policy": {
"maximum_screens": 8,
"default_width": 8192,
"default_height": 8192,
"maximum_viewers_per_screen": 32
},
"lifecycle": {
"idle_sleep_seconds": 157680000,
"maximum_active_seconds": 157680000
}
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
expected_resource_version: 1,
created_by_principal_id: '<string>',
requirements_schema_version: 1,
normalized_requirements: {
schema_version: 1,
execution: [],
placement: [],
isolation: {},
retention: {maximum_seconds: 157680000},
network: {policy: {action_policy_id: '<string>', action_policy_version: 1}},
locality: {regions: ['<string>'], residency_required: true},
resources: {minimum_vcpu: 512, minimum_memory_mib: 2097152, minimum_disk_mib: 536870912}
},
sandbox_profile_revision: {sandbox_profile_id: '<string>', revision_number: 1},
platform: {os_family: '<string>', architecture: '<string>'},
image: {reference: '<string>', image_digest: '<string>'},
screen_policy: {
maximum_screens: 8,
default_width: 8192,
default_height: 8192,
maximum_viewers_per_screen: 32
},
lifecycle: {idle_sleep_seconds: 157680000, maximum_active_seconds: 157680000}
})
};
fetch('https://api.checkfu.com/v1/computer-profiles/{id}/revisions', 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.checkfu.com/v1/computer-profiles/{id}/revisions",
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([
'expected_resource_version' => 1,
'created_by_principal_id' => '<string>',
'requirements_schema_version' => 1,
'normalized_requirements' => [
'schema_version' => 1,
'execution' => [
],
'placement' => [
],
'isolation' => [
],
'retention' => [
'maximum_seconds' => 157680000
],
'network' => [
'policy' => [
'action_policy_id' => '<string>',
'action_policy_version' => 1
]
],
'locality' => [
'regions' => [
'<string>'
],
'residency_required' => true
],
'resources' => [
'minimum_vcpu' => 512,
'minimum_memory_mib' => 2097152,
'minimum_disk_mib' => 536870912
]
],
'sandbox_profile_revision' => [
'sandbox_profile_id' => '<string>',
'revision_number' => 1
],
'platform' => [
'os_family' => '<string>',
'architecture' => '<string>'
],
'image' => [
'reference' => '<string>',
'image_digest' => '<string>'
],
'screen_policy' => [
'maximum_screens' => 8,
'default_width' => 8192,
'default_height' => 8192,
'maximum_viewers_per_screen' => 32
],
'lifecycle' => [
'idle_sleep_seconds' => 157680000,
'maximum_active_seconds' => 157680000
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$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.checkfu.com/v1/computer-profiles/{id}/revisions"
payload := strings.NewReader("{\n \"expected_resource_version\": 1,\n \"created_by_principal_id\": \"<string>\",\n \"requirements_schema_version\": 1,\n \"normalized_requirements\": {\n \"schema_version\": 1,\n \"execution\": [],\n \"placement\": [],\n \"isolation\": {},\n \"retention\": {\n \"maximum_seconds\": 157680000\n },\n \"network\": {\n \"policy\": {\n \"action_policy_id\": \"<string>\",\n \"action_policy_version\": 1\n }\n },\n \"locality\": {\n \"regions\": [\n \"<string>\"\n ],\n \"residency_required\": true\n },\n \"resources\": {\n \"minimum_vcpu\": 512,\n \"minimum_memory_mib\": 2097152,\n \"minimum_disk_mib\": 536870912\n }\n },\n \"sandbox_profile_revision\": {\n \"sandbox_profile_id\": \"<string>\",\n \"revision_number\": 1\n },\n \"platform\": {\n \"os_family\": \"<string>\",\n \"architecture\": \"<string>\"\n },\n \"image\": {\n \"reference\": \"<string>\",\n \"image_digest\": \"<string>\"\n },\n \"screen_policy\": {\n \"maximum_screens\": 8,\n \"default_width\": 8192,\n \"default_height\": 8192,\n \"maximum_viewers_per_screen\": 32\n },\n \"lifecycle\": {\n \"idle_sleep_seconds\": 157680000,\n \"maximum_active_seconds\": 157680000\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
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.checkfu.com/v1/computer-profiles/{id}/revisions")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expected_resource_version\": 1,\n \"created_by_principal_id\": \"<string>\",\n \"requirements_schema_version\": 1,\n \"normalized_requirements\": {\n \"schema_version\": 1,\n \"execution\": [],\n \"placement\": [],\n \"isolation\": {},\n \"retention\": {\n \"maximum_seconds\": 157680000\n },\n \"network\": {\n \"policy\": {\n \"action_policy_id\": \"<string>\",\n \"action_policy_version\": 1\n }\n },\n \"locality\": {\n \"regions\": [\n \"<string>\"\n ],\n \"residency_required\": true\n },\n \"resources\": {\n \"minimum_vcpu\": 512,\n \"minimum_memory_mib\": 2097152,\n \"minimum_disk_mib\": 536870912\n }\n },\n \"sandbox_profile_revision\": {\n \"sandbox_profile_id\": \"<string>\",\n \"revision_number\": 1\n },\n \"platform\": {\n \"os_family\": \"<string>\",\n \"architecture\": \"<string>\"\n },\n \"image\": {\n \"reference\": \"<string>\",\n \"image_digest\": \"<string>\"\n },\n \"screen_policy\": {\n \"maximum_screens\": 8,\n \"default_width\": 8192,\n \"default_height\": 8192,\n \"maximum_viewers_per_screen\": 32\n },\n \"lifecycle\": {\n \"idle_sleep_seconds\": 157680000,\n \"maximum_active_seconds\": 157680000\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/computer-profiles/{id}/revisions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"expected_resource_version\": 1,\n \"created_by_principal_id\": \"<string>\",\n \"requirements_schema_version\": 1,\n \"normalized_requirements\": {\n \"schema_version\": 1,\n \"execution\": [],\n \"placement\": [],\n \"isolation\": {},\n \"retention\": {\n \"maximum_seconds\": 157680000\n },\n \"network\": {\n \"policy\": {\n \"action_policy_id\": \"<string>\",\n \"action_policy_version\": 1\n }\n },\n \"locality\": {\n \"regions\": [\n \"<string>\"\n ],\n \"residency_required\": true\n },\n \"resources\": {\n \"minimum_vcpu\": 512,\n \"minimum_memory_mib\": 2097152,\n \"minimum_disk_mib\": 536870912\n }\n },\n \"sandbox_profile_revision\": {\n \"sandbox_profile_id\": \"<string>\",\n \"revision_number\": 1\n },\n \"platform\": {\n \"os_family\": \"<string>\",\n \"architecture\": \"<string>\"\n },\n \"image\": {\n \"reference\": \"<string>\",\n \"image_digest\": \"<string>\"\n },\n \"screen_policy\": {\n \"maximum_screens\": 8,\n \"default_width\": 8192,\n \"default_height\": 8192,\n \"maximum_viewers_per_screen\": 32\n },\n \"lifecycle\": {\n \"idle_sleep_seconds\": 157680000,\n \"maximum_active_seconds\": 157680000\n }\n}"
response = http.request(request)
puts response.read_body{
"profile_id": "<string>",
"workspace_id": "<string>",
"revision_number": 1,
"requirements_schema_version": 1,
"normalized_requirements": {
"schema_version": 1,
"execution": [
"shell"
],
"lifetime": "run",
"presentation": "none",
"human_access": "none",
"placement": [
"managed"
],
"isolation": {
"filesystem": "attachment",
"browser_profile": "attachment",
"process_namespace": "attachment",
"credentials": "grant_bound",
"clipboard": "disabled",
"downloads": "attachment"
},
"recovery": "none",
"retention": {
"mode": "ephemeral_zdr",
"maximum_seconds": 157680000,
"export": "forbidden"
},
"network": {
"mode": "none",
"policy": {
"action_policy_id": "<string>",
"action_policy_version": 1
}
},
"locality": {
"regions": [
"<string>"
],
"residency_required": true
},
"resources": {
"minimum_vcpu": 512,
"minimum_memory_mib": 2097152,
"minimum_disk_mib": 536870912,
"gpu": "forbidden"
}
},
"sandbox_profile_revision": {
"sandbox_profile_id": "<string>",
"revision_number": 1
},
"platform": {
"os_family": "<string>",
"architecture": "<string>"
},
"image": {
"reference": "<string>",
"image_digest": "<string>"
},
"screen_policy": {
"maximum_screens": 8,
"default_width": 8192,
"default_height": 8192,
"maximum_viewers_per_screen": 32
},
"lifecycle": {
"idle_sleep_seconds": 157680000,
"maximum_active_seconds": 157680000
},
"content_sha256": "<string>",
"created_by_principal_id": "<string>",
"created_at": "<string>"
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "validation.not_found",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-not-found"
}
}{
"error": {
"type": "validation.conflict",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-conflict"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}Publish a ComputerProfileRevision
Atomically publishes the next immutable complete ComputerProfileRevision and advances its head under expected_resource_version. The payload must carry canonically normalized Computer-class requirements, exact optional SandboxProfileRevision and OCI coordinates, presentation-matched screen policy, bounded lifecycle policy, and the Principal author; the server computes and returns the canonical content digest. Existing Computers retain their pinned revision. No provider is selected, allocated, or contacted.
Checkfu support posture: alpha; hosted. No release evidence journey applies to this operation.
curl --request POST \
--url https://api.checkfu.com/v1/computer-profiles/{id}/revisions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"expected_resource_version": 1,
"created_by_principal_id": "<string>",
"requirements_schema_version": 1,
"normalized_requirements": {
"schema_version": 1,
"execution": [],
"placement": [],
"isolation": {},
"retention": {
"maximum_seconds": 157680000
},
"network": {
"policy": {
"action_policy_id": "<string>",
"action_policy_version": 1
}
},
"locality": {
"regions": [
"<string>"
],
"residency_required": true
},
"resources": {
"minimum_vcpu": 512,
"minimum_memory_mib": 2097152,
"minimum_disk_mib": 536870912
}
},
"sandbox_profile_revision": {
"sandbox_profile_id": "<string>",
"revision_number": 1
},
"platform": {
"os_family": "<string>",
"architecture": "<string>"
},
"image": {
"reference": "<string>",
"image_digest": "<string>"
},
"screen_policy": {
"maximum_screens": 8,
"default_width": 8192,
"default_height": 8192,
"maximum_viewers_per_screen": 32
},
"lifecycle": {
"idle_sleep_seconds": 157680000,
"maximum_active_seconds": 157680000
}
}
'import requests
url = "https://api.checkfu.com/v1/computer-profiles/{id}/revisions"
payload = {
"expected_resource_version": 1,
"created_by_principal_id": "<string>",
"requirements_schema_version": 1,
"normalized_requirements": {
"schema_version": 1,
"execution": [],
"placement": [],
"isolation": {},
"retention": { "maximum_seconds": 157680000 },
"network": { "policy": {
"action_policy_id": "<string>",
"action_policy_version": 1
} },
"locality": {
"regions": ["<string>"],
"residency_required": True
},
"resources": {
"minimum_vcpu": 512,
"minimum_memory_mib": 2097152,
"minimum_disk_mib": 536870912
}
},
"sandbox_profile_revision": {
"sandbox_profile_id": "<string>",
"revision_number": 1
},
"platform": {
"os_family": "<string>",
"architecture": "<string>"
},
"image": {
"reference": "<string>",
"image_digest": "<string>"
},
"screen_policy": {
"maximum_screens": 8,
"default_width": 8192,
"default_height": 8192,
"maximum_viewers_per_screen": 32
},
"lifecycle": {
"idle_sleep_seconds": 157680000,
"maximum_active_seconds": 157680000
}
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
expected_resource_version: 1,
created_by_principal_id: '<string>',
requirements_schema_version: 1,
normalized_requirements: {
schema_version: 1,
execution: [],
placement: [],
isolation: {},
retention: {maximum_seconds: 157680000},
network: {policy: {action_policy_id: '<string>', action_policy_version: 1}},
locality: {regions: ['<string>'], residency_required: true},
resources: {minimum_vcpu: 512, minimum_memory_mib: 2097152, minimum_disk_mib: 536870912}
},
sandbox_profile_revision: {sandbox_profile_id: '<string>', revision_number: 1},
platform: {os_family: '<string>', architecture: '<string>'},
image: {reference: '<string>', image_digest: '<string>'},
screen_policy: {
maximum_screens: 8,
default_width: 8192,
default_height: 8192,
maximum_viewers_per_screen: 32
},
lifecycle: {idle_sleep_seconds: 157680000, maximum_active_seconds: 157680000}
})
};
fetch('https://api.checkfu.com/v1/computer-profiles/{id}/revisions', 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.checkfu.com/v1/computer-profiles/{id}/revisions",
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([
'expected_resource_version' => 1,
'created_by_principal_id' => '<string>',
'requirements_schema_version' => 1,
'normalized_requirements' => [
'schema_version' => 1,
'execution' => [
],
'placement' => [
],
'isolation' => [
],
'retention' => [
'maximum_seconds' => 157680000
],
'network' => [
'policy' => [
'action_policy_id' => '<string>',
'action_policy_version' => 1
]
],
'locality' => [
'regions' => [
'<string>'
],
'residency_required' => true
],
'resources' => [
'minimum_vcpu' => 512,
'minimum_memory_mib' => 2097152,
'minimum_disk_mib' => 536870912
]
],
'sandbox_profile_revision' => [
'sandbox_profile_id' => '<string>',
'revision_number' => 1
],
'platform' => [
'os_family' => '<string>',
'architecture' => '<string>'
],
'image' => [
'reference' => '<string>',
'image_digest' => '<string>'
],
'screen_policy' => [
'maximum_screens' => 8,
'default_width' => 8192,
'default_height' => 8192,
'maximum_viewers_per_screen' => 32
],
'lifecycle' => [
'idle_sleep_seconds' => 157680000,
'maximum_active_seconds' => 157680000
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$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.checkfu.com/v1/computer-profiles/{id}/revisions"
payload := strings.NewReader("{\n \"expected_resource_version\": 1,\n \"created_by_principal_id\": \"<string>\",\n \"requirements_schema_version\": 1,\n \"normalized_requirements\": {\n \"schema_version\": 1,\n \"execution\": [],\n \"placement\": [],\n \"isolation\": {},\n \"retention\": {\n \"maximum_seconds\": 157680000\n },\n \"network\": {\n \"policy\": {\n \"action_policy_id\": \"<string>\",\n \"action_policy_version\": 1\n }\n },\n \"locality\": {\n \"regions\": [\n \"<string>\"\n ],\n \"residency_required\": true\n },\n \"resources\": {\n \"minimum_vcpu\": 512,\n \"minimum_memory_mib\": 2097152,\n \"minimum_disk_mib\": 536870912\n }\n },\n \"sandbox_profile_revision\": {\n \"sandbox_profile_id\": \"<string>\",\n \"revision_number\": 1\n },\n \"platform\": {\n \"os_family\": \"<string>\",\n \"architecture\": \"<string>\"\n },\n \"image\": {\n \"reference\": \"<string>\",\n \"image_digest\": \"<string>\"\n },\n \"screen_policy\": {\n \"maximum_screens\": 8,\n \"default_width\": 8192,\n \"default_height\": 8192,\n \"maximum_viewers_per_screen\": 32\n },\n \"lifecycle\": {\n \"idle_sleep_seconds\": 157680000,\n \"maximum_active_seconds\": 157680000\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
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.checkfu.com/v1/computer-profiles/{id}/revisions")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"expected_resource_version\": 1,\n \"created_by_principal_id\": \"<string>\",\n \"requirements_schema_version\": 1,\n \"normalized_requirements\": {\n \"schema_version\": 1,\n \"execution\": [],\n \"placement\": [],\n \"isolation\": {},\n \"retention\": {\n \"maximum_seconds\": 157680000\n },\n \"network\": {\n \"policy\": {\n \"action_policy_id\": \"<string>\",\n \"action_policy_version\": 1\n }\n },\n \"locality\": {\n \"regions\": [\n \"<string>\"\n ],\n \"residency_required\": true\n },\n \"resources\": {\n \"minimum_vcpu\": 512,\n \"minimum_memory_mib\": 2097152,\n \"minimum_disk_mib\": 536870912\n }\n },\n \"sandbox_profile_revision\": {\n \"sandbox_profile_id\": \"<string>\",\n \"revision_number\": 1\n },\n \"platform\": {\n \"os_family\": \"<string>\",\n \"architecture\": \"<string>\"\n },\n \"image\": {\n \"reference\": \"<string>\",\n \"image_digest\": \"<string>\"\n },\n \"screen_policy\": {\n \"maximum_screens\": 8,\n \"default_width\": 8192,\n \"default_height\": 8192,\n \"maximum_viewers_per_screen\": 32\n },\n \"lifecycle\": {\n \"idle_sleep_seconds\": 157680000,\n \"maximum_active_seconds\": 157680000\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/computer-profiles/{id}/revisions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"expected_resource_version\": 1,\n \"created_by_principal_id\": \"<string>\",\n \"requirements_schema_version\": 1,\n \"normalized_requirements\": {\n \"schema_version\": 1,\n \"execution\": [],\n \"placement\": [],\n \"isolation\": {},\n \"retention\": {\n \"maximum_seconds\": 157680000\n },\n \"network\": {\n \"policy\": {\n \"action_policy_id\": \"<string>\",\n \"action_policy_version\": 1\n }\n },\n \"locality\": {\n \"regions\": [\n \"<string>\"\n ],\n \"residency_required\": true\n },\n \"resources\": {\n \"minimum_vcpu\": 512,\n \"minimum_memory_mib\": 2097152,\n \"minimum_disk_mib\": 536870912\n }\n },\n \"sandbox_profile_revision\": {\n \"sandbox_profile_id\": \"<string>\",\n \"revision_number\": 1\n },\n \"platform\": {\n \"os_family\": \"<string>\",\n \"architecture\": \"<string>\"\n },\n \"image\": {\n \"reference\": \"<string>\",\n \"image_digest\": \"<string>\"\n },\n \"screen_policy\": {\n \"maximum_screens\": 8,\n \"default_width\": 8192,\n \"default_height\": 8192,\n \"maximum_viewers_per_screen\": 32\n },\n \"lifecycle\": {\n \"idle_sleep_seconds\": 157680000,\n \"maximum_active_seconds\": 157680000\n }\n}"
response = http.request(request)
puts response.read_body{
"profile_id": "<string>",
"workspace_id": "<string>",
"revision_number": 1,
"requirements_schema_version": 1,
"normalized_requirements": {
"schema_version": 1,
"execution": [
"shell"
],
"lifetime": "run",
"presentation": "none",
"human_access": "none",
"placement": [
"managed"
],
"isolation": {
"filesystem": "attachment",
"browser_profile": "attachment",
"process_namespace": "attachment",
"credentials": "grant_bound",
"clipboard": "disabled",
"downloads": "attachment"
},
"recovery": "none",
"retention": {
"mode": "ephemeral_zdr",
"maximum_seconds": 157680000,
"export": "forbidden"
},
"network": {
"mode": "none",
"policy": {
"action_policy_id": "<string>",
"action_policy_version": 1
}
},
"locality": {
"regions": [
"<string>"
],
"residency_required": true
},
"resources": {
"minimum_vcpu": 512,
"minimum_memory_mib": 2097152,
"minimum_disk_mib": 536870912,
"gpu": "forbidden"
}
},
"sandbox_profile_revision": {
"sandbox_profile_id": "<string>",
"revision_number": 1
},
"platform": {
"os_family": "<string>",
"architecture": "<string>"
},
"image": {
"reference": "<string>",
"image_digest": "<string>"
},
"screen_policy": {
"maximum_screens": 8,
"default_width": 8192,
"default_height": 8192,
"maximum_viewers_per_screen": 32
},
"lifecycle": {
"idle_sleep_seconds": 157680000,
"maximum_active_seconds": 157680000
},
"content_sha256": "<string>",
"created_by_principal_id": "<string>",
"created_at": "<string>"
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "validation.not_found",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-not-found"
}
}{
"error": {
"type": "validation.conflict",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-conflict"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
2026-08-27 255Path Parameters
^cprof_[0-9a-f]{32}$Body
x > 0^prin_[0-9a-f]{32}$1 Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
An immutable complete provider-neutral Computer profile revision bound to its canonical content digest.
^cprof_[0-9a-f]{32}$^wrkspc_[0-9a-f]{32}$x > 01 Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
^sha256:[0-9a-f]{64}$^prin_[0-9a-f]{32}$A canonical UTC ISO-8601 timestamp with millisecond precision.
24^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$