curl --request POST \
--url https://api.example.com/api/agent-profiles/{name}/materialize \
--header 'Content-Type: application/json' \
--header 'X-Session-API-Key: <api-key>' \
--data '
{
"profile": {
"llm_profile_ref": "<string>",
"name": "<string>",
"agent": "CodeActAgent",
"agent_kind": "openhands",
"condenser": {
"condenser_kind": "llm_summarizing",
"enabled": true,
"hard_context_reset_context_scaling": 0.8,
"hard_context_reset_max_retries": 5,
"keep_first": 2,
"max_size": 240,
"max_tokens": 1,
"minimum_progress": 0.1
},
"disabled_skills": [
"<string>"
],
"enable_classify_and_switch_llm_tool": false,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mcp_server_refs": [
"<string>"
],
"meta_profile_ref": "<string>",
"persona": "<string>",
"revision": 0,
"schema_version": 3,
"secret_refs": [
"<string>"
],
"system_message_suffix": "<string>",
"tool_concurrency_limit": 1,
"tools": [
{
"name": "TerminalTool",
"params": {
"working_dir": "/workspace"
}
}
],
"verification": {
"critic_enabled": false,
"critic_mode": "finish_and_message",
"critic_model_name": "<string>",
"critic_server_url": "<string>",
"critic_threshold": 0.6,
"enable_iterative_refinement": false,
"max_refinement_iterations": 3
}
}
}
'import requests
url = "https://api.example.com/api/agent-profiles/{name}/materialize"
payload = { "profile": {
"llm_profile_ref": "<string>",
"name": "<string>",
"agent": "CodeActAgent",
"agent_kind": "openhands",
"condenser": {
"condenser_kind": "llm_summarizing",
"enabled": True,
"hard_context_reset_context_scaling": 0.8,
"hard_context_reset_max_retries": 5,
"keep_first": 2,
"max_size": 240,
"max_tokens": 1,
"minimum_progress": 0.1
},
"disabled_skills": ["<string>"],
"enable_classify_and_switch_llm_tool": False,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mcp_server_refs": ["<string>"],
"meta_profile_ref": "<string>",
"persona": "<string>",
"revision": 0,
"schema_version": 3,
"secret_refs": ["<string>"],
"system_message_suffix": "<string>",
"tool_concurrency_limit": 1,
"tools": [
{
"name": "TerminalTool",
"params": { "working_dir": "/workspace" }
}
],
"verification": {
"critic_enabled": False,
"critic_mode": "finish_and_message",
"critic_model_name": "<string>",
"critic_server_url": "<string>",
"critic_threshold": 0.6,
"enable_iterative_refinement": False,
"max_refinement_iterations": 3
}
} }
headers = {
"X-Session-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Session-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
profile: {
llm_profile_ref: '<string>',
name: '<string>',
agent: 'CodeActAgent',
agent_kind: 'openhands',
condenser: {
condenser_kind: 'llm_summarizing',
enabled: true,
hard_context_reset_context_scaling: 0.8,
hard_context_reset_max_retries: 5,
keep_first: 2,
max_size: 240,
max_tokens: 1,
minimum_progress: 0.1
},
disabled_skills: ['<string>'],
enable_classify_and_switch_llm_tool: false,
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
mcp_server_refs: ['<string>'],
meta_profile_ref: '<string>',
persona: '<string>',
revision: 0,
schema_version: 3,
secret_refs: ['<string>'],
system_message_suffix: '<string>',
tool_concurrency_limit: 1,
tools: [{name: 'TerminalTool', params: {working_dir: '/workspace'}}],
verification: {
critic_enabled: false,
critic_mode: 'finish_and_message',
critic_model_name: '<string>',
critic_server_url: '<string>',
critic_threshold: 0.6,
enable_iterative_refinement: false,
max_refinement_iterations: 3
}
}
})
};
fetch('https://api.example.com/api/agent-profiles/{name}/materialize', 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.example.com/api/agent-profiles/{name}/materialize",
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([
'profile' => [
'llm_profile_ref' => '<string>',
'name' => '<string>',
'agent' => 'CodeActAgent',
'agent_kind' => 'openhands',
'condenser' => [
'condenser_kind' => 'llm_summarizing',
'enabled' => true,
'hard_context_reset_context_scaling' => 0.8,
'hard_context_reset_max_retries' => 5,
'keep_first' => 2,
'max_size' => 240,
'max_tokens' => 1,
'minimum_progress' => 0.1
],
'disabled_skills' => [
'<string>'
],
'enable_classify_and_switch_llm_tool' => false,
'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'mcp_server_refs' => [
'<string>'
],
'meta_profile_ref' => '<string>',
'persona' => '<string>',
'revision' => 0,
'schema_version' => 3,
'secret_refs' => [
'<string>'
],
'system_message_suffix' => '<string>',
'tool_concurrency_limit' => 1,
'tools' => [
[
'name' => 'TerminalTool',
'params' => [
'working_dir' => '/workspace'
]
]
],
'verification' => [
'critic_enabled' => false,
'critic_mode' => 'finish_and_message',
'critic_model_name' => '<string>',
'critic_server_url' => '<string>',
'critic_threshold' => 0.6,
'enable_iterative_refinement' => false,
'max_refinement_iterations' => 3
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Session-API-Key: <api-key>"
],
]);
$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.example.com/api/agent-profiles/{name}/materialize"
payload := strings.NewReader("{\n \"profile\": {\n \"llm_profile_ref\": \"<string>\",\n \"name\": \"<string>\",\n \"agent\": \"CodeActAgent\",\n \"agent_kind\": \"openhands\",\n \"condenser\": {\n \"condenser_kind\": \"llm_summarizing\",\n \"enabled\": true,\n \"hard_context_reset_context_scaling\": 0.8,\n \"hard_context_reset_max_retries\": 5,\n \"keep_first\": 2,\n \"max_size\": 240,\n \"max_tokens\": 1,\n \"minimum_progress\": 0.1\n },\n \"disabled_skills\": [\n \"<string>\"\n ],\n \"enable_classify_and_switch_llm_tool\": false,\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"mcp_server_refs\": [\n \"<string>\"\n ],\n \"meta_profile_ref\": \"<string>\",\n \"persona\": \"<string>\",\n \"revision\": 0,\n \"schema_version\": 3,\n \"secret_refs\": [\n \"<string>\"\n ],\n \"system_message_suffix\": \"<string>\",\n \"tool_concurrency_limit\": 1,\n \"tools\": [\n {\n \"name\": \"TerminalTool\",\n \"params\": {\n \"working_dir\": \"/workspace\"\n }\n }\n ],\n \"verification\": {\n \"critic_enabled\": false,\n \"critic_mode\": \"finish_and_message\",\n \"critic_model_name\": \"<string>\",\n \"critic_server_url\": \"<string>\",\n \"critic_threshold\": 0.6,\n \"enable_iterative_refinement\": false,\n \"max_refinement_iterations\": 3\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Session-API-Key", "<api-key>")
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.example.com/api/agent-profiles/{name}/materialize")
.header("X-Session-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"profile\": {\n \"llm_profile_ref\": \"<string>\",\n \"name\": \"<string>\",\n \"agent\": \"CodeActAgent\",\n \"agent_kind\": \"openhands\",\n \"condenser\": {\n \"condenser_kind\": \"llm_summarizing\",\n \"enabled\": true,\n \"hard_context_reset_context_scaling\": 0.8,\n \"hard_context_reset_max_retries\": 5,\n \"keep_first\": 2,\n \"max_size\": 240,\n \"max_tokens\": 1,\n \"minimum_progress\": 0.1\n },\n \"disabled_skills\": [\n \"<string>\"\n ],\n \"enable_classify_and_switch_llm_tool\": false,\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"mcp_server_refs\": [\n \"<string>\"\n ],\n \"meta_profile_ref\": \"<string>\",\n \"persona\": \"<string>\",\n \"revision\": 0,\n \"schema_version\": 3,\n \"secret_refs\": [\n \"<string>\"\n ],\n \"system_message_suffix\": \"<string>\",\n \"tool_concurrency_limit\": 1,\n \"tools\": [\n {\n \"name\": \"TerminalTool\",\n \"params\": {\n \"working_dir\": \"/workspace\"\n }\n }\n ],\n \"verification\": {\n \"critic_enabled\": false,\n \"critic_mode\": \"finish_and_message\",\n \"critic_model_name\": \"<string>\",\n \"critic_server_url\": \"<string>\",\n \"critic_threshold\": 0.6,\n \"enable_iterative_refinement\": false,\n \"max_refinement_iterations\": 3\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/agent-profiles/{name}/materialize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Session-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"profile\": {\n \"llm_profile_ref\": \"<string>\",\n \"name\": \"<string>\",\n \"agent\": \"CodeActAgent\",\n \"agent_kind\": \"openhands\",\n \"condenser\": {\n \"condenser_kind\": \"llm_summarizing\",\n \"enabled\": true,\n \"hard_context_reset_context_scaling\": 0.8,\n \"hard_context_reset_max_retries\": 5,\n \"keep_first\": 2,\n \"max_size\": 240,\n \"max_tokens\": 1,\n \"minimum_progress\": 0.1\n },\n \"disabled_skills\": [\n \"<string>\"\n ],\n \"enable_classify_and_switch_llm_tool\": false,\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"mcp_server_refs\": [\n \"<string>\"\n ],\n \"meta_profile_ref\": \"<string>\",\n \"persona\": \"<string>\",\n \"revision\": 0,\n \"schema_version\": 3,\n \"secret_refs\": [\n \"<string>\"\n ],\n \"system_message_suffix\": \"<string>\",\n \"tool_concurrency_limit\": 1,\n \"tools\": [\n {\n \"name\": \"TerminalTool\",\n \"params\": {\n \"working_dir\": \"/workspace\"\n }\n }\n ],\n \"verification\": {\n \"critic_enabled\": false,\n \"critic_mode\": \"finish_and_message\",\n \"critic_model_name\": \"<string>\",\n \"critic_server_url\": \"<string>\",\n \"critic_threshold\": 0.6,\n \"enable_iterative_refinement\": false,\n \"max_refinement_iterations\": 3\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"agent_kind": "<string>",
"acp_api_key_secret_name": "<string>",
"acp_base_url_secret_name": "<string>",
"acp_file_secret_names": [
"<string>"
],
"dangling_mcp_server_refs": [
"<string>"
],
"dangling_meta_profile_llm_refs": [
"<string>"
],
"dangling_meta_profile_ref": "<string>",
"disabled_skills": [
"<string>"
],
"errors": [
"<string>"
],
"llm_api_key_set": false,
"llm_profile_ref": "<string>",
"llm_profile_resolved": false,
"mcp_server_refs": [
"<string>"
],
"meta_profile_ref": "<string>",
"resolved_mcp_config_keys": [
"<string>"
],
"resolved_settings": {},
"resolved_skills": [
"<string>"
],
"secret_refs": [
"<string>"
],
"unusable_tools": [
"<string>"
],
"valid": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Materialize Agent Profile
Preview the launch of a profile; return a diagnostics report.
Previews the stored profile name, or body.profile when given (so an
editor can preview before saving), with the same resolve and finalize as a
launch, against the runtime this server launches into. Dangling references
are reported in the body (valid=False) rather than raising — the only error
statuses are 404 (unknown stored profile) and 422 (invalid draft).
resolved_settings is redacted (no raw secrets).
curl --request POST \
--url https://api.example.com/api/agent-profiles/{name}/materialize \
--header 'Content-Type: application/json' \
--header 'X-Session-API-Key: <api-key>' \
--data '
{
"profile": {
"llm_profile_ref": "<string>",
"name": "<string>",
"agent": "CodeActAgent",
"agent_kind": "openhands",
"condenser": {
"condenser_kind": "llm_summarizing",
"enabled": true,
"hard_context_reset_context_scaling": 0.8,
"hard_context_reset_max_retries": 5,
"keep_first": 2,
"max_size": 240,
"max_tokens": 1,
"minimum_progress": 0.1
},
"disabled_skills": [
"<string>"
],
"enable_classify_and_switch_llm_tool": false,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mcp_server_refs": [
"<string>"
],
"meta_profile_ref": "<string>",
"persona": "<string>",
"revision": 0,
"schema_version": 3,
"secret_refs": [
"<string>"
],
"system_message_suffix": "<string>",
"tool_concurrency_limit": 1,
"tools": [
{
"name": "TerminalTool",
"params": {
"working_dir": "/workspace"
}
}
],
"verification": {
"critic_enabled": false,
"critic_mode": "finish_and_message",
"critic_model_name": "<string>",
"critic_server_url": "<string>",
"critic_threshold": 0.6,
"enable_iterative_refinement": false,
"max_refinement_iterations": 3
}
}
}
'import requests
url = "https://api.example.com/api/agent-profiles/{name}/materialize"
payload = { "profile": {
"llm_profile_ref": "<string>",
"name": "<string>",
"agent": "CodeActAgent",
"agent_kind": "openhands",
"condenser": {
"condenser_kind": "llm_summarizing",
"enabled": True,
"hard_context_reset_context_scaling": 0.8,
"hard_context_reset_max_retries": 5,
"keep_first": 2,
"max_size": 240,
"max_tokens": 1,
"minimum_progress": 0.1
},
"disabled_skills": ["<string>"],
"enable_classify_and_switch_llm_tool": False,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mcp_server_refs": ["<string>"],
"meta_profile_ref": "<string>",
"persona": "<string>",
"revision": 0,
"schema_version": 3,
"secret_refs": ["<string>"],
"system_message_suffix": "<string>",
"tool_concurrency_limit": 1,
"tools": [
{
"name": "TerminalTool",
"params": { "working_dir": "/workspace" }
}
],
"verification": {
"critic_enabled": False,
"critic_mode": "finish_and_message",
"critic_model_name": "<string>",
"critic_server_url": "<string>",
"critic_threshold": 0.6,
"enable_iterative_refinement": False,
"max_refinement_iterations": 3
}
} }
headers = {
"X-Session-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Session-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
profile: {
llm_profile_ref: '<string>',
name: '<string>',
agent: 'CodeActAgent',
agent_kind: 'openhands',
condenser: {
condenser_kind: 'llm_summarizing',
enabled: true,
hard_context_reset_context_scaling: 0.8,
hard_context_reset_max_retries: 5,
keep_first: 2,
max_size: 240,
max_tokens: 1,
minimum_progress: 0.1
},
disabled_skills: ['<string>'],
enable_classify_and_switch_llm_tool: false,
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
mcp_server_refs: ['<string>'],
meta_profile_ref: '<string>',
persona: '<string>',
revision: 0,
schema_version: 3,
secret_refs: ['<string>'],
system_message_suffix: '<string>',
tool_concurrency_limit: 1,
tools: [{name: 'TerminalTool', params: {working_dir: '/workspace'}}],
verification: {
critic_enabled: false,
critic_mode: 'finish_and_message',
critic_model_name: '<string>',
critic_server_url: '<string>',
critic_threshold: 0.6,
enable_iterative_refinement: false,
max_refinement_iterations: 3
}
}
})
};
fetch('https://api.example.com/api/agent-profiles/{name}/materialize', 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.example.com/api/agent-profiles/{name}/materialize",
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([
'profile' => [
'llm_profile_ref' => '<string>',
'name' => '<string>',
'agent' => 'CodeActAgent',
'agent_kind' => 'openhands',
'condenser' => [
'condenser_kind' => 'llm_summarizing',
'enabled' => true,
'hard_context_reset_context_scaling' => 0.8,
'hard_context_reset_max_retries' => 5,
'keep_first' => 2,
'max_size' => 240,
'max_tokens' => 1,
'minimum_progress' => 0.1
],
'disabled_skills' => [
'<string>'
],
'enable_classify_and_switch_llm_tool' => false,
'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'mcp_server_refs' => [
'<string>'
],
'meta_profile_ref' => '<string>',
'persona' => '<string>',
'revision' => 0,
'schema_version' => 3,
'secret_refs' => [
'<string>'
],
'system_message_suffix' => '<string>',
'tool_concurrency_limit' => 1,
'tools' => [
[
'name' => 'TerminalTool',
'params' => [
'working_dir' => '/workspace'
]
]
],
'verification' => [
'critic_enabled' => false,
'critic_mode' => 'finish_and_message',
'critic_model_name' => '<string>',
'critic_server_url' => '<string>',
'critic_threshold' => 0.6,
'enable_iterative_refinement' => false,
'max_refinement_iterations' => 3
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Session-API-Key: <api-key>"
],
]);
$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.example.com/api/agent-profiles/{name}/materialize"
payload := strings.NewReader("{\n \"profile\": {\n \"llm_profile_ref\": \"<string>\",\n \"name\": \"<string>\",\n \"agent\": \"CodeActAgent\",\n \"agent_kind\": \"openhands\",\n \"condenser\": {\n \"condenser_kind\": \"llm_summarizing\",\n \"enabled\": true,\n \"hard_context_reset_context_scaling\": 0.8,\n \"hard_context_reset_max_retries\": 5,\n \"keep_first\": 2,\n \"max_size\": 240,\n \"max_tokens\": 1,\n \"minimum_progress\": 0.1\n },\n \"disabled_skills\": [\n \"<string>\"\n ],\n \"enable_classify_and_switch_llm_tool\": false,\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"mcp_server_refs\": [\n \"<string>\"\n ],\n \"meta_profile_ref\": \"<string>\",\n \"persona\": \"<string>\",\n \"revision\": 0,\n \"schema_version\": 3,\n \"secret_refs\": [\n \"<string>\"\n ],\n \"system_message_suffix\": \"<string>\",\n \"tool_concurrency_limit\": 1,\n \"tools\": [\n {\n \"name\": \"TerminalTool\",\n \"params\": {\n \"working_dir\": \"/workspace\"\n }\n }\n ],\n \"verification\": {\n \"critic_enabled\": false,\n \"critic_mode\": \"finish_and_message\",\n \"critic_model_name\": \"<string>\",\n \"critic_server_url\": \"<string>\",\n \"critic_threshold\": 0.6,\n \"enable_iterative_refinement\": false,\n \"max_refinement_iterations\": 3\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Session-API-Key", "<api-key>")
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.example.com/api/agent-profiles/{name}/materialize")
.header("X-Session-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"profile\": {\n \"llm_profile_ref\": \"<string>\",\n \"name\": \"<string>\",\n \"agent\": \"CodeActAgent\",\n \"agent_kind\": \"openhands\",\n \"condenser\": {\n \"condenser_kind\": \"llm_summarizing\",\n \"enabled\": true,\n \"hard_context_reset_context_scaling\": 0.8,\n \"hard_context_reset_max_retries\": 5,\n \"keep_first\": 2,\n \"max_size\": 240,\n \"max_tokens\": 1,\n \"minimum_progress\": 0.1\n },\n \"disabled_skills\": [\n \"<string>\"\n ],\n \"enable_classify_and_switch_llm_tool\": false,\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"mcp_server_refs\": [\n \"<string>\"\n ],\n \"meta_profile_ref\": \"<string>\",\n \"persona\": \"<string>\",\n \"revision\": 0,\n \"schema_version\": 3,\n \"secret_refs\": [\n \"<string>\"\n ],\n \"system_message_suffix\": \"<string>\",\n \"tool_concurrency_limit\": 1,\n \"tools\": [\n {\n \"name\": \"TerminalTool\",\n \"params\": {\n \"working_dir\": \"/workspace\"\n }\n }\n ],\n \"verification\": {\n \"critic_enabled\": false,\n \"critic_mode\": \"finish_and_message\",\n \"critic_model_name\": \"<string>\",\n \"critic_server_url\": \"<string>\",\n \"critic_threshold\": 0.6,\n \"enable_iterative_refinement\": false,\n \"max_refinement_iterations\": 3\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/agent-profiles/{name}/materialize")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Session-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"profile\": {\n \"llm_profile_ref\": \"<string>\",\n \"name\": \"<string>\",\n \"agent\": \"CodeActAgent\",\n \"agent_kind\": \"openhands\",\n \"condenser\": {\n \"condenser_kind\": \"llm_summarizing\",\n \"enabled\": true,\n \"hard_context_reset_context_scaling\": 0.8,\n \"hard_context_reset_max_retries\": 5,\n \"keep_first\": 2,\n \"max_size\": 240,\n \"max_tokens\": 1,\n \"minimum_progress\": 0.1\n },\n \"disabled_skills\": [\n \"<string>\"\n ],\n \"enable_classify_and_switch_llm_tool\": false,\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"mcp_server_refs\": [\n \"<string>\"\n ],\n \"meta_profile_ref\": \"<string>\",\n \"persona\": \"<string>\",\n \"revision\": 0,\n \"schema_version\": 3,\n \"secret_refs\": [\n \"<string>\"\n ],\n \"system_message_suffix\": \"<string>\",\n \"tool_concurrency_limit\": 1,\n \"tools\": [\n {\n \"name\": \"TerminalTool\",\n \"params\": {\n \"working_dir\": \"/workspace\"\n }\n }\n ],\n \"verification\": {\n \"critic_enabled\": false,\n \"critic_mode\": \"finish_and_message\",\n \"critic_model_name\": \"<string>\",\n \"critic_server_url\": \"<string>\",\n \"critic_threshold\": 0.6,\n \"enable_iterative_refinement\": false,\n \"max_refinement_iterations\": 3\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"agent_kind": "<string>",
"acp_api_key_secret_name": "<string>",
"acp_base_url_secret_name": "<string>",
"acp_file_secret_names": [
"<string>"
],
"dangling_mcp_server_refs": [
"<string>"
],
"dangling_meta_profile_llm_refs": [
"<string>"
],
"dangling_meta_profile_ref": "<string>",
"disabled_skills": [
"<string>"
],
"errors": [
"<string>"
],
"llm_api_key_set": false,
"llm_profile_ref": "<string>",
"llm_profile_resolved": false,
"mcp_server_refs": [
"<string>"
],
"meta_profile_ref": "<string>",
"resolved_mcp_config_keys": [
"<string>"
],
"resolved_settings": {},
"resolved_skills": [
"<string>"
],
"secret_refs": [
"<string>"
],
"unusable_tools": [
"<string>"
],
"valid": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Path Parameters
1 - 64^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$Body
agent_kind="openhands" profile — references an LLM profile by name.
Mirrors the configurable surface of
:class:~openhands.sdk.settings.model.OpenHandsAgentSettings, except the
concrete llm is replaced by :attr:llm_profile_ref (resolved against
the LLM profile store) and mcp_config by the inherited
:attr:~AgentProfileBase.mcp_server_refs.
- OpenHandsAgentProfile
- ACPAgentProfile
Show child attributes
Show child attributes
Response
Successful Response
Side-effect-free report of what :func:resolve_agent_profile would do.
Consumed by POST /{id}/materialize (#3719) and the canvas editor. The
verdict (:attr:valid) and the dangling-ref lists match exactly what a real
resolve produces; :attr:resolved_settings is the redacted settings dump
(present only when :attr:valid).
Selected tools the runtime cannot run. An unavailable browser is left out of the launch; any other such tool fails the launch or fails when the agent uses it.
Was this page helpful?

