curl --request POST \
--url https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"source": {
"type": "inline_files",
"files": [
{
"path": "<string>",
"content": "<string>"
}
]
}
}
'import requests
url = "https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source"
payload = { "source": {
"type": "inline_files",
"files": [
{
"path": "<string>",
"content": "<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({
source: {type: 'inline_files', files: [{path: '<string>', content: '<string>'}]}
})
};
fetch('https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source', 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}/agent-blueprints/validate-source",
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([
'source' => [
'type' => 'inline_files',
'files' => [
[
'path' => '<string>',
'content' => '<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}/agent-blueprints/validate-source"
payload := strings.NewReader("{\n \"source\": {\n \"type\": \"inline_files\",\n \"files\": [\n {\n \"path\": \"<string>\",\n \"content\": \"<string>\"\n }\n ]\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}/agent-blueprints/validate-source")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"source\": {\n \"type\": \"inline_files\",\n \"files\": [\n {\n \"path\": \"<string>\",\n \"content\": \"<string>\"\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source")
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 \"source\": {\n \"type\": \"inline_files\",\n \"files\": [\n {\n \"path\": \"<string>\",\n \"content\": \"<string>\"\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"valid": true,
"source_sha256": "<string>",
"content_sha256": "<string>",
"compiler_version": "<string>",
"authoring_epoch": "checkfu.dev/v1alpha1",
"diagnostics": [
{
"code": "source.path_invalid",
"severity": "error",
"reason": "<string>",
"path": "<string>",
"conflicting_path": "<string>",
"pointer": "<string>",
"location": {
"file": "<string>",
"start": {
"line": 1,
"column": 1,
"byte": 1
},
"end": {
"line": 1,
"column": 1,
"byte": 1
},
"canonical_path": "<string>",
"derived": true
}
}
],
"summary": {
"mcp_servers": 1,
"tools_agent_toolsets": 1,
"tools_mcp_toolsets": 1,
"tools_custom": 1,
"skills": 1,
"multiagent_agents": 1,
"system_from_instructions": 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.payload_too_large",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-payload-too-large"
}
}{
"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"
}
}Validate Agent configuration source
Compiles one bounded inline Agent configuration project against the final Agent schema and answers one stateless inspection: validity, closed diagnostics with exact file/line/column provenance, server-derived source and canonical-content digests, and bounded configuration counts. The request envelope is measured against the inline transport budget before compilation, and responses never echo source text. The governed source_revision variant is refused as inspectable until revision fetching ships; a REST-only read that stores nothing and authorizes nothing.
Checkfu support posture: alpha; hosted. Required evidence journey: blueprint-authority. 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}/agent-blueprints/validate-source \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"source": {
"type": "inline_files",
"files": [
{
"path": "<string>",
"content": "<string>"
}
]
}
}
'import requests
url = "https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source"
payload = { "source": {
"type": "inline_files",
"files": [
{
"path": "<string>",
"content": "<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({
source: {type: 'inline_files', files: [{path: '<string>', content: '<string>'}]}
})
};
fetch('https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source', 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}/agent-blueprints/validate-source",
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([
'source' => [
'type' => 'inline_files',
'files' => [
[
'path' => '<string>',
'content' => '<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}/agent-blueprints/validate-source"
payload := strings.NewReader("{\n \"source\": {\n \"type\": \"inline_files\",\n \"files\": [\n {\n \"path\": \"<string>\",\n \"content\": \"<string>\"\n }\n ]\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}/agent-blueprints/validate-source")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"source\": {\n \"type\": \"inline_files\",\n \"files\": [\n {\n \"path\": \"<string>\",\n \"content\": \"<string>\"\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/organizations/{organization_id}/agent-blueprints/validate-source")
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 \"source\": {\n \"type\": \"inline_files\",\n \"files\": [\n {\n \"path\": \"<string>\",\n \"content\": \"<string>\"\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"valid": true,
"source_sha256": "<string>",
"content_sha256": "<string>",
"compiler_version": "<string>",
"authoring_epoch": "checkfu.dev/v1alpha1",
"diagnostics": [
{
"code": "source.path_invalid",
"severity": "error",
"reason": "<string>",
"path": "<string>",
"conflicting_path": "<string>",
"pointer": "<string>",
"location": {
"file": "<string>",
"start": {
"line": 1,
"column": 1,
"byte": 1
},
"end": {
"line": 1,
"column": 1,
"byte": 1
},
"canonical_path": "<string>",
"derived": true
}
}
],
"summary": {
"mcp_servers": 1,
"tools_agent_toolsets": 1,
"tools_mcp_toolsets": 1,
"tools_custom": 1,
"skills": 1,
"multiagent_agents": 1,
"system_from_instructions": 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.payload_too_large",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-payload-too-large"
}
}{
"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 Path Parameters
^org_[0-9a-f]{32}$Body
Request wrapper carrying one closed source input union.
Bounded inline entries or one exact governed source revision.
- Option 1
- Option 2
Show child attributes
Show child attributes
Response
Stateless source-validation outcome: validity, diagnostics, digests, and bounded counts.
Stateless source-validation outcome: validity, diagnostics, digests, and bounded counts.
True when the source compiled to the canonical final-Agent configuration.
Versioned digest over the admitted source file set; null when nothing was admitted.
^sha256:[0-9a-f]{64}$SHA-256 over the compiled canonical Agent directory files; null when invalid.
^sha256:[0-9a-f]{64}$Server compiler version that produced this inspection.
^[A-Za-z0-9][A-Za-z0-9._+-]{0,63}$The single admitted authoring epoch.
checkfu.dev/v1alpha1 Bounded refusals; empty exactly when valid.
8Show child attributes
Show child attributes
Compiled configuration counts; null when the source is invalid.
Show child attributes
Show child attributes