curl --request POST \
--url https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"repository": "<string>",
"build_execution_target": {
"type": "platform",
"build_pool_id": "<string>"
},
"entrypoint": "<string>",
"ref": "<string>",
"working_directory": "<string>",
"configuration_schema": true,
"model_wire_dialects": [],
"argv": "<unknown>",
"prompt_transport": "<unknown>",
"output_mode": "<unknown>",
"resume_flag": "<unknown>",
"output_schema_flag": "<unknown>",
"output_schema_transport": "<unknown>",
"protocol": "acp-v1",
"arguments": [
"<string>"
]
}
'import requests
url = "https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds"
payload = {
"repository": "<string>",
"build_execution_target": {
"type": "platform",
"build_pool_id": "<string>"
},
"entrypoint": "<string>",
"ref": "<string>",
"working_directory": "<string>",
"configuration_schema": True,
"model_wire_dialects": [],
"argv": "<unknown>",
"prompt_transport": "<unknown>",
"output_mode": "<unknown>",
"resume_flag": "<unknown>",
"output_schema_flag": "<unknown>",
"output_schema_transport": "<unknown>",
"protocol": "acp-v1",
"arguments": ["<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({
repository: '<string>',
build_execution_target: {type: 'platform', build_pool_id: '<string>'},
entrypoint: '<string>',
ref: '<string>',
working_directory: '<string>',
configuration_schema: true,
model_wire_dialects: [],
argv: '<unknown>',
prompt_transport: '<unknown>',
output_mode: '<unknown>',
resume_flag: '<unknown>',
output_schema_flag: '<unknown>',
output_schema_transport: '<unknown>',
protocol: 'acp-v1',
arguments: ['<string>']
})
};
fetch('https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds', 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/organizations/{organization_id}/harness-builds",
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([
'repository' => '<string>',
'build_execution_target' => [
'type' => 'platform',
'build_pool_id' => '<string>'
],
'entrypoint' => '<string>',
'ref' => '<string>',
'working_directory' => '<string>',
'configuration_schema' => true,
'model_wire_dialects' => [
],
'argv' => '<unknown>',
'prompt_transport' => '<unknown>',
'output_mode' => '<unknown>',
'resume_flag' => '<unknown>',
'output_schema_flag' => '<unknown>',
'output_schema_transport' => '<unknown>',
'protocol' => 'acp-v1',
'arguments' => [
'<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/organizations/{organization_id}/harness-builds"
payload := strings.NewReader("{\n \"repository\": \"<string>\",\n \"build_execution_target\": {\n \"type\": \"platform\",\n \"build_pool_id\": \"<string>\"\n },\n \"entrypoint\": \"<string>\",\n \"ref\": \"<string>\",\n \"working_directory\": \"<string>\",\n \"configuration_schema\": true,\n \"model_wire_dialects\": [],\n \"argv\": \"<unknown>\",\n \"prompt_transport\": \"<unknown>\",\n \"output_mode\": \"<unknown>\",\n \"resume_flag\": \"<unknown>\",\n \"output_schema_flag\": \"<unknown>\",\n \"output_schema_transport\": \"<unknown>\",\n \"protocol\": \"acp-v1\",\n \"arguments\": [\n \"<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/organizations/{organization_id}/harness-builds")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"repository\": \"<string>\",\n \"build_execution_target\": {\n \"type\": \"platform\",\n \"build_pool_id\": \"<string>\"\n },\n \"entrypoint\": \"<string>\",\n \"ref\": \"<string>\",\n \"working_directory\": \"<string>\",\n \"configuration_schema\": true,\n \"model_wire_dialects\": [],\n \"argv\": \"<unknown>\",\n \"prompt_transport\": \"<unknown>\",\n \"output_mode\": \"<unknown>\",\n \"resume_flag\": \"<unknown>\",\n \"output_schema_flag\": \"<unknown>\",\n \"output_schema_transport\": \"<unknown>\",\n \"protocol\": \"acp-v1\",\n \"arguments\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds")
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 \"repository\": \"<string>\",\n \"build_execution_target\": {\n \"type\": \"platform\",\n \"build_pool_id\": \"<string>\"\n },\n \"entrypoint\": \"<string>\",\n \"ref\": \"<string>\",\n \"working_directory\": \"<string>\",\n \"configuration_schema\": true,\n \"model_wire_dialects\": [],\n \"argv\": \"<unknown>\",\n \"prompt_transport\": \"<unknown>\",\n \"output_mode\": \"<unknown>\",\n \"resume_flag\": \"<unknown>\",\n \"output_schema_flag\": \"<unknown>\",\n \"output_schema_transport\": \"<unknown>\",\n \"protocol\": \"acp-v1\",\n \"arguments\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"organization_id": "<string>",
"build_execution_target": {
"type": "platform",
"build_pool_id": "<string>"
},
"status": "pending",
"source": {
"kind": "github",
"repository": "<string>",
"commit_sha": "<string>"
},
"entrypoint": "<string>",
"working_directory": "<string>",
"platform": {
"os": "linux",
"architecture": "amd64"
},
"configuration_schema": true,
"attempts": 1,
"created_at": "<string>",
"completed_at": "<string>",
"protocol": "acp-v1",
"arguments": [
"<string>"
],
"model_wire_dialects": [
"anthropic_messages"
],
"release_id": "<string>",
"failure": {
"reason": "ref_resolution_failed",
"detail": "<string>",
"log": "<string>"
},
"argv": "<unknown>",
"prompt_transport": "<unknown>",
"output_mode": "<unknown>",
"resume_flag": "<unknown>",
"output_schema_flag": "<unknown>",
"output_schema_transport": "<unknown>",
"mcp_delivery": "session_http"
}{
"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"
}
}Build a HarnessRelease from a GitHub repository
Submits an async Organization-owned build from a GitHub repository URL plus an optional ref and a protocol-exact ACP or one-shot process contract. The request separately names either a platform build pool or an exact Workspace and RunnerPool execution target; ownership never implies execution authority. The ref is resolved to an exact commit at submission and frozen. Accepted with 202 and a pending HarnessBuild; a Workspace-targeted build settles only when a build-capable Runner from the exact named pool claims it. Terminal success references an immutable, digest-pinned HarnessRelease, while terminal failure carries a bounded reason and optional builder log. Re-registering is a new build resolved afresh. Send Idempotency-Key so a retry does not open a second build.
Checkfu support posture: alpha; hosted. Required evidence journey: harness-registry. Deployment-specific readiness and the latest proven release are available from GET /v1/support/capabilities.
curl --request POST \
--url https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"repository": "<string>",
"build_execution_target": {
"type": "platform",
"build_pool_id": "<string>"
},
"entrypoint": "<string>",
"ref": "<string>",
"working_directory": "<string>",
"configuration_schema": true,
"model_wire_dialects": [],
"argv": "<unknown>",
"prompt_transport": "<unknown>",
"output_mode": "<unknown>",
"resume_flag": "<unknown>",
"output_schema_flag": "<unknown>",
"output_schema_transport": "<unknown>",
"protocol": "acp-v1",
"arguments": [
"<string>"
]
}
'import requests
url = "https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds"
payload = {
"repository": "<string>",
"build_execution_target": {
"type": "platform",
"build_pool_id": "<string>"
},
"entrypoint": "<string>",
"ref": "<string>",
"working_directory": "<string>",
"configuration_schema": True,
"model_wire_dialects": [],
"argv": "<unknown>",
"prompt_transport": "<unknown>",
"output_mode": "<unknown>",
"resume_flag": "<unknown>",
"output_schema_flag": "<unknown>",
"output_schema_transport": "<unknown>",
"protocol": "acp-v1",
"arguments": ["<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({
repository: '<string>',
build_execution_target: {type: 'platform', build_pool_id: '<string>'},
entrypoint: '<string>',
ref: '<string>',
working_directory: '<string>',
configuration_schema: true,
model_wire_dialects: [],
argv: '<unknown>',
prompt_transport: '<unknown>',
output_mode: '<unknown>',
resume_flag: '<unknown>',
output_schema_flag: '<unknown>',
output_schema_transport: '<unknown>',
protocol: 'acp-v1',
arguments: ['<string>']
})
};
fetch('https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds', 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/organizations/{organization_id}/harness-builds",
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([
'repository' => '<string>',
'build_execution_target' => [
'type' => 'platform',
'build_pool_id' => '<string>'
],
'entrypoint' => '<string>',
'ref' => '<string>',
'working_directory' => '<string>',
'configuration_schema' => true,
'model_wire_dialects' => [
],
'argv' => '<unknown>',
'prompt_transport' => '<unknown>',
'output_mode' => '<unknown>',
'resume_flag' => '<unknown>',
'output_schema_flag' => '<unknown>',
'output_schema_transport' => '<unknown>',
'protocol' => 'acp-v1',
'arguments' => [
'<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/organizations/{organization_id}/harness-builds"
payload := strings.NewReader("{\n \"repository\": \"<string>\",\n \"build_execution_target\": {\n \"type\": \"platform\",\n \"build_pool_id\": \"<string>\"\n },\n \"entrypoint\": \"<string>\",\n \"ref\": \"<string>\",\n \"working_directory\": \"<string>\",\n \"configuration_schema\": true,\n \"model_wire_dialects\": [],\n \"argv\": \"<unknown>\",\n \"prompt_transport\": \"<unknown>\",\n \"output_mode\": \"<unknown>\",\n \"resume_flag\": \"<unknown>\",\n \"output_schema_flag\": \"<unknown>\",\n \"output_schema_transport\": \"<unknown>\",\n \"protocol\": \"acp-v1\",\n \"arguments\": [\n \"<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/organizations/{organization_id}/harness-builds")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"repository\": \"<string>\",\n \"build_execution_target\": {\n \"type\": \"platform\",\n \"build_pool_id\": \"<string>\"\n },\n \"entrypoint\": \"<string>\",\n \"ref\": \"<string>\",\n \"working_directory\": \"<string>\",\n \"configuration_schema\": true,\n \"model_wire_dialects\": [],\n \"argv\": \"<unknown>\",\n \"prompt_transport\": \"<unknown>\",\n \"output_mode\": \"<unknown>\",\n \"resume_flag\": \"<unknown>\",\n \"output_schema_flag\": \"<unknown>\",\n \"output_schema_transport\": \"<unknown>\",\n \"protocol\": \"acp-v1\",\n \"arguments\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/organizations/{organization_id}/harness-builds")
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 \"repository\": \"<string>\",\n \"build_execution_target\": {\n \"type\": \"platform\",\n \"build_pool_id\": \"<string>\"\n },\n \"entrypoint\": \"<string>\",\n \"ref\": \"<string>\",\n \"working_directory\": \"<string>\",\n \"configuration_schema\": true,\n \"model_wire_dialects\": [],\n \"argv\": \"<unknown>\",\n \"prompt_transport\": \"<unknown>\",\n \"output_mode\": \"<unknown>\",\n \"resume_flag\": \"<unknown>\",\n \"output_schema_flag\": \"<unknown>\",\n \"output_schema_transport\": \"<unknown>\",\n \"protocol\": \"acp-v1\",\n \"arguments\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"organization_id": "<string>",
"build_execution_target": {
"type": "platform",
"build_pool_id": "<string>"
},
"status": "pending",
"source": {
"kind": "github",
"repository": "<string>",
"commit_sha": "<string>"
},
"entrypoint": "<string>",
"working_directory": "<string>",
"platform": {
"os": "linux",
"architecture": "amd64"
},
"configuration_schema": true,
"attempts": 1,
"created_at": "<string>",
"completed_at": "<string>",
"protocol": "acp-v1",
"arguments": [
"<string>"
],
"model_wire_dialects": [
"anthropic_messages"
],
"release_id": "<string>",
"failure": {
"reason": "ref_resolution_failed",
"detail": "<string>",
"log": "<string>"
},
"argv": "<unknown>",
"prompt_transport": "<unknown>",
"output_mode": "<unknown>",
"resume_flag": "<unknown>",
"output_schema_flag": "<unknown>",
"output_schema_transport": "<unknown>",
"mcp_delivery": "session_http"
}{
"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-24 255Path Parameters
^org_[0-9a-f]{32}$Body
- Option 1
- Option 2
A GitHub source/ref plus the exact ACP or one-shot process contract the resulting immutable release will carry
^https:\/\/github\.com\/[A-Za-z\d](?:[A-Za-z\d-]{0,38})\/[A-Za-z\d._-]{1,100}$- Option 1
- Option 2
Show child attributes
Show child attributes
4096^\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+(?:\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+)*$1 - 1024^\S+$4096^\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+(?:\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+)*$Show child attributes
Show child attributes
1 - 4 elementsanthropic_messages, openai_chat, openai_responses, fal_queue acp-v1 At most 256 exact process arguments and 131072 aggregate UTF-8 bytes including one terminator per argument
256Exact process argument text, preserving whitespace; U+0000 is forbidden and UTF-8 encoding is limited to 65536 bytes
65536^[^\u0000]*$session_http, none Response
An async custom-harness build whose exact ACP or one-shot process contract is frozen with its source commit
- Option 1
- Option 2
An async custom-harness build whose exact ACP or one-shot process contract is frozen with its source commit
^hbld_[0-9a-f]{32}$^org_[0-9a-f]{32}$- Option 1
- Option 2
Show child attributes
Show child attributes
pending, succeeded, failed Show child attributes
Show child attributes
4096^\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+(?:\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+)*$4096^\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+(?:\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9._-]+)*$Show child attributes
Show child attributes
x >= 0acp-v1 At most 256 exact process arguments and 131072 aggregate UTF-8 bytes including one terminator per argument
256Exact process argument text, preserving whitespace; U+0000 is forbidden and UTF-8 encoding is limited to 65536 bytes
65536^[^\u0000]*$1 - 4 elementsanthropic_messages, openai_chat, openai_responses, fal_queue ^hrel_[0-9a-f]{32}$Show child attributes
Show child attributes
session_http, none