curl --request POST \
--url https://api.checkfu.com/v1/computers/{id}/headless-operations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"attachment_id": "<string>",
"session_id": "<string>",
"expected_mutation_epoch": 1,
"deadline": "<string>",
"operation": {
"type": "filesystem_write",
"path": "<string>",
"content_digest": "<string>",
"byte_length": 8388608
},
"ingress": {
"type": "session_run",
"run_id": "<string>"
}
}
'import requests
url = "https://api.checkfu.com/v1/computers/{id}/headless-operations"
payload = {
"attachment_id": "<string>",
"session_id": "<string>",
"expected_mutation_epoch": 1,
"deadline": "<string>",
"operation": {
"type": "filesystem_write",
"path": "<string>",
"content_digest": "<string>",
"byte_length": 8388608
},
"ingress": {
"type": "session_run",
"run_id": "<string>"
}
}
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({
attachment_id: '<string>',
session_id: '<string>',
expected_mutation_epoch: 1,
deadline: '<string>',
operation: {
type: 'filesystem_write',
path: '<string>',
content_digest: '<string>',
byte_length: 8388608
},
ingress: {type: 'session_run', run_id: '<string>'}
})
};
fetch('https://api.checkfu.com/v1/computers/{id}/headless-operations', 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/computers/{id}/headless-operations",
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([
'attachment_id' => '<string>',
'session_id' => '<string>',
'expected_mutation_epoch' => 1,
'deadline' => '<string>',
'operation' => [
'type' => 'filesystem_write',
'path' => '<string>',
'content_digest' => '<string>',
'byte_length' => 8388608
],
'ingress' => [
'type' => 'session_run',
'run_id' => '<string>'
]
]),
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/computers/{id}/headless-operations"
payload := strings.NewReader("{\n \"attachment_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"expected_mutation_epoch\": 1,\n \"deadline\": \"<string>\",\n \"operation\": {\n \"type\": \"filesystem_write\",\n \"path\": \"<string>\",\n \"content_digest\": \"<string>\",\n \"byte_length\": 8388608\n },\n \"ingress\": {\n \"type\": \"session_run\",\n \"run_id\": \"<string>\"\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/computers/{id}/headless-operations")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"attachment_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"expected_mutation_epoch\": 1,\n \"deadline\": \"<string>\",\n \"operation\": {\n \"type\": \"filesystem_write\",\n \"path\": \"<string>\",\n \"content_digest\": \"<string>\",\n \"byte_length\": 8388608\n },\n \"ingress\": {\n \"type\": \"session_run\",\n \"run_id\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/computers/{id}/headless-operations")
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 \"attachment_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"expected_mutation_epoch\": 1,\n \"deadline\": \"<string>\",\n \"operation\": {\n \"type\": \"filesystem_write\",\n \"path\": \"<string>\",\n \"content_digest\": \"<string>\",\n \"byte_length\": 8388608\n },\n \"ingress\": {\n \"type\": \"session_run\",\n \"run_id\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"operation_id": "<string>",
"disposition": "dispatched",
"replayed": true
}{
"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"
}
}Admit a headless Computer operation
Admits one mutating headless operation — filesystem write or remove, or process start, inspect, or signal — for the exact Computer attachment, fenced by…
curl --request POST \
--url https://api.checkfu.com/v1/computers/{id}/headless-operations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"attachment_id": "<string>",
"session_id": "<string>",
"expected_mutation_epoch": 1,
"deadline": "<string>",
"operation": {
"type": "filesystem_write",
"path": "<string>",
"content_digest": "<string>",
"byte_length": 8388608
},
"ingress": {
"type": "session_run",
"run_id": "<string>"
}
}
'import requests
url = "https://api.checkfu.com/v1/computers/{id}/headless-operations"
payload = {
"attachment_id": "<string>",
"session_id": "<string>",
"expected_mutation_epoch": 1,
"deadline": "<string>",
"operation": {
"type": "filesystem_write",
"path": "<string>",
"content_digest": "<string>",
"byte_length": 8388608
},
"ingress": {
"type": "session_run",
"run_id": "<string>"
}
}
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({
attachment_id: '<string>',
session_id: '<string>',
expected_mutation_epoch: 1,
deadline: '<string>',
operation: {
type: 'filesystem_write',
path: '<string>',
content_digest: '<string>',
byte_length: 8388608
},
ingress: {type: 'session_run', run_id: '<string>'}
})
};
fetch('https://api.checkfu.com/v1/computers/{id}/headless-operations', 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/computers/{id}/headless-operations",
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([
'attachment_id' => '<string>',
'session_id' => '<string>',
'expected_mutation_epoch' => 1,
'deadline' => '<string>',
'operation' => [
'type' => 'filesystem_write',
'path' => '<string>',
'content_digest' => '<string>',
'byte_length' => 8388608
],
'ingress' => [
'type' => 'session_run',
'run_id' => '<string>'
]
]),
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/computers/{id}/headless-operations"
payload := strings.NewReader("{\n \"attachment_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"expected_mutation_epoch\": 1,\n \"deadline\": \"<string>\",\n \"operation\": {\n \"type\": \"filesystem_write\",\n \"path\": \"<string>\",\n \"content_digest\": \"<string>\",\n \"byte_length\": 8388608\n },\n \"ingress\": {\n \"type\": \"session_run\",\n \"run_id\": \"<string>\"\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/computers/{id}/headless-operations")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"attachment_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"expected_mutation_epoch\": 1,\n \"deadline\": \"<string>\",\n \"operation\": {\n \"type\": \"filesystem_write\",\n \"path\": \"<string>\",\n \"content_digest\": \"<string>\",\n \"byte_length\": 8388608\n },\n \"ingress\": {\n \"type\": \"session_run\",\n \"run_id\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/computers/{id}/headless-operations")
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 \"attachment_id\": \"<string>\",\n \"session_id\": \"<string>\",\n \"expected_mutation_epoch\": 1,\n \"deadline\": \"<string>\",\n \"operation\": {\n \"type\": \"filesystem_write\",\n \"path\": \"<string>\",\n \"content_digest\": \"<string>\",\n \"byte_length\": 8388608\n },\n \"ingress\": {\n \"type\": \"session_run\",\n \"run_id\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"operation_id": "<string>",
"disposition": "dispatched",
"replayed": true
}{
"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-31 255^[0-9a-f]{64}$Path Parameters
^comp_[0-9a-f]{32}$Body
Caller-selected headless operation ingress: the exact Computer attachment, its Session, the mutation-epoch fence, a short deadline, the operation itself, and whether authority is proven by the owning Run (whose id the ingress carries) or a terminal ingress grant (whose token rides the request headers). The server derives identity, generation, clocks, and provenance.
^catt_[0-9a-f]{32}$^sess_[0-9a-f]{32}$x >= 0A 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$One mutating headless Computer operation: a filesystem write or remove with its content-addressed digest, or a process start, inspect, or signal. Paths stay inside the attached workspace's mutable tree and every bound is enforced at admission.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Show child attributes
Show child attributes
The provenance one headless operation ingress carries: either the Session Run whose live attempt-and-lease authority is revalidated by the owning Session, or a terminal Computer ingress grant whose token rides the request headers.
- Option 1
- Option 2
Show child attributes
Show child attributes
Response
Admission receipt for one headless Computer operation: the server-derived operation identity, whether the Computer's serialized mutation slot dispatched or queued it, and whether the request replayed an existing admission.
Admission receipt for one headless Computer operation: the server-derived operation identity, whether the Computer's serialized mutation slot dispatched or queued it, and whether the request replayed an existing admission.