curl --request POST \
--url https://api.concentrate.ai/v1/messages/ \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
{
"content": "<string>",
"output_config": {}
}
],
"max_tokens": 4503599627370495,
"model": "<string>",
"provider": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
},
"compaction": {
"type": "summarize",
"instructions": "<string>"
},
"container": {
"id": "<string>",
"skills": [
{
"skill_id": "<string>",
"version": "<string>"
}
]
},
"context_management": {
"edits": [
{
"type": "clear_tool_uses_20250919",
"clear_at_least": {
"type": "input_tokens",
"value": 4503599627370495
},
"clear_tool_inputs": true,
"exclude_tools": [
"<string>"
],
"trigger": {
"type": "input_tokens",
"value": 4503599627370495
}
}
]
},
"diagnostics": {
"previous_message_id": "<string>"
},
"fallback_credit_token": "<string>",
"fallbacks": [
{
"model": "<string>",
"max_tokens": 4503599627370495,
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
}
}
],
"mcp_servers": [
{
"type": "url",
"name": "<string>",
"url": "<string>",
"authorization_token": "<string>",
"tool_configuration": {
"allowed_tools": [
"<string>"
],
"enabled": true
}
}
],
"metadata": {
"user_id": "<string>"
},
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"output_format": {
"type": "json_schema",
"schema": {}
},
"stream": true,
"system": "<string>",
"temperature": 0.5,
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
},
"tool_choice": {
"type": "auto",
"disable_parallel_tool_use": true
},
"tools": [],
"top_p": 0.5,
"inference_geo": "<string>",
"service_tier": "<string>",
"stop_sequences": [
"<string>"
],
"top_k": 4503599627370495,
"routing": {
"model": {
"fallbacks": [
"<string>"
],
"whitelist": [
"<string>"
],
"blacklist": [
"<string>"
]
},
"provider": {
"whitelist": [
"<string>"
],
"blacklist": [
"<string>"
],
"fallbacks": [
"<string>"
],
"interval": "<string>"
}
}
}
'import requests
url = "https://api.concentrate.ai/v1/messages/"
payload = {
"messages": [
{
"content": "<string>",
"output_config": {}
}
],
"max_tokens": 4503599627370495,
"model": "<string>",
"provider": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
},
"compaction": {
"type": "summarize",
"instructions": "<string>"
},
"container": {
"id": "<string>",
"skills": [
{
"skill_id": "<string>",
"version": "<string>"
}
]
},
"context_management": { "edits": [
{
"type": "clear_tool_uses_20250919",
"clear_at_least": {
"type": "input_tokens",
"value": 4503599627370495
},
"clear_tool_inputs": True,
"exclude_tools": ["<string>"],
"trigger": {
"type": "input_tokens",
"value": 4503599627370495
}
}
] },
"diagnostics": { "previous_message_id": "<string>" },
"fallback_credit_token": "<string>",
"fallbacks": [
{
"model": "<string>",
"max_tokens": 4503599627370495,
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
}
}
],
"mcp_servers": [
{
"type": "url",
"name": "<string>",
"url": "<string>",
"authorization_token": "<string>",
"tool_configuration": {
"allowed_tools": ["<string>"],
"enabled": True
}
}
],
"metadata": { "user_id": "<string>" },
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"output_format": {
"type": "json_schema",
"schema": {}
},
"stream": True,
"system": "<string>",
"temperature": 0.5,
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
},
"tool_choice": {
"type": "auto",
"disable_parallel_tool_use": True
},
"tools": [],
"top_p": 0.5,
"inference_geo": "<string>",
"service_tier": "<string>",
"stop_sequences": ["<string>"],
"top_k": 4503599627370495,
"routing": {
"model": {
"fallbacks": ["<string>"],
"whitelist": ["<string>"],
"blacklist": ["<string>"]
},
"provider": {
"whitelist": ["<string>"],
"blacklist": ["<string>"],
"fallbacks": ["<string>"],
"interval": "<string>"
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
messages: [{content: '<string>', output_config: {}}],
max_tokens: 4503599627370495,
model: '<string>',
provider: '<string>',
cache_control: {type: 'ephemeral', ttl: '5m'},
compaction: {type: 'summarize', instructions: '<string>'},
container: {id: '<string>', skills: [{skill_id: '<string>', version: '<string>'}]},
context_management: {
edits: [
{
type: 'clear_tool_uses_20250919',
clear_at_least: {type: 'input_tokens', value: 4503599627370495},
clear_tool_inputs: true,
exclude_tools: ['<string>'],
trigger: {type: 'input_tokens', value: 4503599627370495}
}
]
},
diagnostics: {previous_message_id: '<string>'},
fallback_credit_token: '<string>',
fallbacks: [
{
model: '<string>',
max_tokens: 4503599627370495,
output_config: {
format: {type: 'json_schema', schema: {}},
task_budget: {type: 'tokens', total: 4503599627370495, remaining: 4503599627370495}
},
thinking: {budget_tokens: 1025, type: 'enabled', block_binding: {}}
}
],
mcp_servers: [
{
type: 'url',
name: '<string>',
url: '<string>',
authorization_token: '<string>',
tool_configuration: {allowed_tools: ['<string>'], enabled: true}
}
],
metadata: {user_id: '<string>'},
output_config: {
format: {type: 'json_schema', schema: {}},
task_budget: {type: 'tokens', total: 4503599627370495, remaining: 4503599627370495}
},
output_format: {type: 'json_schema', schema: {}},
stream: true,
system: '<string>',
temperature: 0.5,
thinking: {budget_tokens: 1025, type: 'enabled', block_binding: {}},
tool_choice: {type: 'auto', disable_parallel_tool_use: true},
tools: [],
top_p: 0.5,
inference_geo: '<string>',
service_tier: '<string>',
stop_sequences: ['<string>'],
top_k: 4503599627370495,
routing: {
model: {fallbacks: ['<string>'], whitelist: ['<string>'], blacklist: ['<string>']},
provider: {
whitelist: ['<string>'],
blacklist: ['<string>'],
fallbacks: ['<string>'],
interval: '<string>'
}
}
})
};
fetch('https://api.concentrate.ai/v1/messages/', 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.concentrate.ai/v1/messages/",
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([
'messages' => [
[
'content' => '<string>',
'output_config' => [
]
]
],
'max_tokens' => 4503599627370495,
'model' => '<string>',
'provider' => '<string>',
'cache_control' => [
'type' => 'ephemeral',
'ttl' => '5m'
],
'compaction' => [
'type' => 'summarize',
'instructions' => '<string>'
],
'container' => [
'id' => '<string>',
'skills' => [
[
'skill_id' => '<string>',
'version' => '<string>'
]
]
],
'context_management' => [
'edits' => [
[
'type' => 'clear_tool_uses_20250919',
'clear_at_least' => [
'type' => 'input_tokens',
'value' => 4503599627370495
],
'clear_tool_inputs' => true,
'exclude_tools' => [
'<string>'
],
'trigger' => [
'type' => 'input_tokens',
'value' => 4503599627370495
]
]
]
],
'diagnostics' => [
'previous_message_id' => '<string>'
],
'fallback_credit_token' => '<string>',
'fallbacks' => [
[
'model' => '<string>',
'max_tokens' => 4503599627370495,
'output_config' => [
'format' => [
'type' => 'json_schema',
'schema' => [
]
],
'task_budget' => [
'type' => 'tokens',
'total' => 4503599627370495,
'remaining' => 4503599627370495
]
],
'thinking' => [
'budget_tokens' => 1025,
'type' => 'enabled',
'block_binding' => [
]
]
]
],
'mcp_servers' => [
[
'type' => 'url',
'name' => '<string>',
'url' => '<string>',
'authorization_token' => '<string>',
'tool_configuration' => [
'allowed_tools' => [
'<string>'
],
'enabled' => true
]
]
],
'metadata' => [
'user_id' => '<string>'
],
'output_config' => [
'format' => [
'type' => 'json_schema',
'schema' => [
]
],
'task_budget' => [
'type' => 'tokens',
'total' => 4503599627370495,
'remaining' => 4503599627370495
]
],
'output_format' => [
'type' => 'json_schema',
'schema' => [
]
],
'stream' => true,
'system' => '<string>',
'temperature' => 0.5,
'thinking' => [
'budget_tokens' => 1025,
'type' => 'enabled',
'block_binding' => [
]
],
'tool_choice' => [
'type' => 'auto',
'disable_parallel_tool_use' => true
],
'tools' => [
],
'top_p' => 0.5,
'inference_geo' => '<string>',
'service_tier' => '<string>',
'stop_sequences' => [
'<string>'
],
'top_k' => 4503599627370495,
'routing' => [
'model' => [
'fallbacks' => [
'<string>'
],
'whitelist' => [
'<string>'
],
'blacklist' => [
'<string>'
]
],
'provider' => [
'whitelist' => [
'<string>'
],
'blacklist' => [
'<string>'
],
'fallbacks' => [
'<string>'
],
'interval' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.concentrate.ai/v1/messages/"
payload := strings.NewReader("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"output_config\": {}\n }\n ],\n \"max_tokens\": 4503599627370495,\n \"model\": \"<string>\",\n \"provider\": \"<string>\",\n \"cache_control\": {\n \"type\": \"ephemeral\",\n \"ttl\": \"5m\"\n },\n \"compaction\": {\n \"type\": \"summarize\",\n \"instructions\": \"<string>\"\n },\n \"container\": {\n \"id\": \"<string>\",\n \"skills\": [\n {\n \"skill_id\": \"<string>\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"context_management\": {\n \"edits\": [\n {\n \"type\": \"clear_tool_uses_20250919\",\n \"clear_at_least\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n },\n \"clear_tool_inputs\": true,\n \"exclude_tools\": [\n \"<string>\"\n ],\n \"trigger\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n }\n }\n ]\n },\n \"diagnostics\": {\n \"previous_message_id\": \"<string>\"\n },\n \"fallback_credit_token\": \"<string>\",\n \"fallbacks\": [\n {\n \"model\": \"<string>\",\n \"max_tokens\": 4503599627370495,\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"type\": \"url\",\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"authorization_token\": \"<string>\",\n \"tool_configuration\": {\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"enabled\": true\n }\n }\n ],\n \"metadata\": {\n \"user_id\": \"<string>\"\n },\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"output_format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"stream\": true,\n \"system\": \"<string>\",\n \"temperature\": 0.5,\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n },\n \"tool_choice\": {\n \"type\": \"auto\",\n \"disable_parallel_tool_use\": true\n },\n \"tools\": [],\n \"top_p\": 0.5,\n \"inference_geo\": \"<string>\",\n \"service_tier\": \"<string>\",\n \"stop_sequences\": [\n \"<string>\"\n ],\n \"top_k\": 4503599627370495,\n \"routing\": {\n \"model\": {\n \"fallbacks\": [\n \"<string>\"\n ],\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ]\n },\n \"provider\": {\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ],\n \"fallbacks\": [\n \"<string>\"\n ],\n \"interval\": \"<string>\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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.concentrate.ai/v1/messages/")
.header("Content-Type", "application/json")
.body("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"output_config\": {}\n }\n ],\n \"max_tokens\": 4503599627370495,\n \"model\": \"<string>\",\n \"provider\": \"<string>\",\n \"cache_control\": {\n \"type\": \"ephemeral\",\n \"ttl\": \"5m\"\n },\n \"compaction\": {\n \"type\": \"summarize\",\n \"instructions\": \"<string>\"\n },\n \"container\": {\n \"id\": \"<string>\",\n \"skills\": [\n {\n \"skill_id\": \"<string>\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"context_management\": {\n \"edits\": [\n {\n \"type\": \"clear_tool_uses_20250919\",\n \"clear_at_least\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n },\n \"clear_tool_inputs\": true,\n \"exclude_tools\": [\n \"<string>\"\n ],\n \"trigger\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n }\n }\n ]\n },\n \"diagnostics\": {\n \"previous_message_id\": \"<string>\"\n },\n \"fallback_credit_token\": \"<string>\",\n \"fallbacks\": [\n {\n \"model\": \"<string>\",\n \"max_tokens\": 4503599627370495,\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"type\": \"url\",\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"authorization_token\": \"<string>\",\n \"tool_configuration\": {\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"enabled\": true\n }\n }\n ],\n \"metadata\": {\n \"user_id\": \"<string>\"\n },\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"output_format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"stream\": true,\n \"system\": \"<string>\",\n \"temperature\": 0.5,\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n },\n \"tool_choice\": {\n \"type\": \"auto\",\n \"disable_parallel_tool_use\": true\n },\n \"tools\": [],\n \"top_p\": 0.5,\n \"inference_geo\": \"<string>\",\n \"service_tier\": \"<string>\",\n \"stop_sequences\": [\n \"<string>\"\n ],\n \"top_k\": 4503599627370495,\n \"routing\": {\n \"model\": {\n \"fallbacks\": [\n \"<string>\"\n ],\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ]\n },\n \"provider\": {\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ],\n \"fallbacks\": [\n \"<string>\"\n ],\n \"interval\": \"<string>\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.concentrate.ai/v1/messages/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"output_config\": {}\n }\n ],\n \"max_tokens\": 4503599627370495,\n \"model\": \"<string>\",\n \"provider\": \"<string>\",\n \"cache_control\": {\n \"type\": \"ephemeral\",\n \"ttl\": \"5m\"\n },\n \"compaction\": {\n \"type\": \"summarize\",\n \"instructions\": \"<string>\"\n },\n \"container\": {\n \"id\": \"<string>\",\n \"skills\": [\n {\n \"skill_id\": \"<string>\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"context_management\": {\n \"edits\": [\n {\n \"type\": \"clear_tool_uses_20250919\",\n \"clear_at_least\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n },\n \"clear_tool_inputs\": true,\n \"exclude_tools\": [\n \"<string>\"\n ],\n \"trigger\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n }\n }\n ]\n },\n \"diagnostics\": {\n \"previous_message_id\": \"<string>\"\n },\n \"fallback_credit_token\": \"<string>\",\n \"fallbacks\": [\n {\n \"model\": \"<string>\",\n \"max_tokens\": 4503599627370495,\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"type\": \"url\",\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"authorization_token\": \"<string>\",\n \"tool_configuration\": {\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"enabled\": true\n }\n }\n ],\n \"metadata\": {\n \"user_id\": \"<string>\"\n },\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"output_format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"stream\": true,\n \"system\": \"<string>\",\n \"temperature\": 0.5,\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n },\n \"tool_choice\": {\n \"type\": \"auto\",\n \"disable_parallel_tool_use\": true\n },\n \"tools\": [],\n \"top_p\": 0.5,\n \"inference_geo\": \"<string>\",\n \"service_tier\": \"<string>\",\n \"stop_sequences\": [\n \"<string>\"\n ],\n \"top_k\": 4503599627370495,\n \"routing\": {\n \"model\": {\n \"fallbacks\": [\n \"<string>\"\n ],\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ]\n },\n \"provider\": {\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ],\n \"fallbacks\": [\n \"<string>\"\n ],\n \"interval\": \"<string>\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"type": "message",
"role": "assistant",
"model": "<string>",
"content": [
{
"type": "text",
"text": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
},
"citations": [
{
"cited_text": "<string>",
"document_index": 4503599627370495,
"document_title": "<string>",
"type": "char_location",
"start_char_index": 4503599627370495,
"end_char_index": 0
}
]
}
],
"usage": {
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"inference_geo": "<string>",
"input_tokens": 0,
"output_tokens": 0,
"server_tool_use": {
"web_fetch_requests": 0,
"web_search_requests": 0
},
"service_tier": "standard",
"cache_creation": {
"ephemeral_5m_input_tokens": 1,
"ephemeral_1h_input_tokens": 1
},
"output_tokens_details": {
"thinking_tokens": 1
},
"speed": "standard"
},
"cost": {
"total": 123,
"byok": true,
"breakdown": {}
},
"stop_reason": "end_turn",
"stop_sequence": "<string>",
"redact": {
"entities_found": 123,
"entity_types": [
"<string>"
],
"models_used": [
"<string>"
],
"execution_time_ms": 123,
"redaction_coverage": 123,
"redacted_input": [
{
"role": "user",
"content": "<string>",
"type": "message",
"phase": "commentary"
}
],
"redacted_tools": [
{
"type": "function",
"name": "<unknown>",
"parameters": {},
"description": "<string>",
"strict": true,
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
}
}
]
}
}{
"type": "error",
"error": {
"type": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}Create Message
Anthropic Messages API compatibility endpoint for Claude Code and other clients
curl --request POST \
--url https://api.concentrate.ai/v1/messages/ \
--header 'Content-Type: application/json' \
--data '
{
"messages": [
{
"content": "<string>",
"output_config": {}
}
],
"max_tokens": 4503599627370495,
"model": "<string>",
"provider": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
},
"compaction": {
"type": "summarize",
"instructions": "<string>"
},
"container": {
"id": "<string>",
"skills": [
{
"skill_id": "<string>",
"version": "<string>"
}
]
},
"context_management": {
"edits": [
{
"type": "clear_tool_uses_20250919",
"clear_at_least": {
"type": "input_tokens",
"value": 4503599627370495
},
"clear_tool_inputs": true,
"exclude_tools": [
"<string>"
],
"trigger": {
"type": "input_tokens",
"value": 4503599627370495
}
}
]
},
"diagnostics": {
"previous_message_id": "<string>"
},
"fallback_credit_token": "<string>",
"fallbacks": [
{
"model": "<string>",
"max_tokens": 4503599627370495,
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
}
}
],
"mcp_servers": [
{
"type": "url",
"name": "<string>",
"url": "<string>",
"authorization_token": "<string>",
"tool_configuration": {
"allowed_tools": [
"<string>"
],
"enabled": true
}
}
],
"metadata": {
"user_id": "<string>"
},
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"output_format": {
"type": "json_schema",
"schema": {}
},
"stream": true,
"system": "<string>",
"temperature": 0.5,
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
},
"tool_choice": {
"type": "auto",
"disable_parallel_tool_use": true
},
"tools": [],
"top_p": 0.5,
"inference_geo": "<string>",
"service_tier": "<string>",
"stop_sequences": [
"<string>"
],
"top_k": 4503599627370495,
"routing": {
"model": {
"fallbacks": [
"<string>"
],
"whitelist": [
"<string>"
],
"blacklist": [
"<string>"
]
},
"provider": {
"whitelist": [
"<string>"
],
"blacklist": [
"<string>"
],
"fallbacks": [
"<string>"
],
"interval": "<string>"
}
}
}
'import requests
url = "https://api.concentrate.ai/v1/messages/"
payload = {
"messages": [
{
"content": "<string>",
"output_config": {}
}
],
"max_tokens": 4503599627370495,
"model": "<string>",
"provider": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
},
"compaction": {
"type": "summarize",
"instructions": "<string>"
},
"container": {
"id": "<string>",
"skills": [
{
"skill_id": "<string>",
"version": "<string>"
}
]
},
"context_management": { "edits": [
{
"type": "clear_tool_uses_20250919",
"clear_at_least": {
"type": "input_tokens",
"value": 4503599627370495
},
"clear_tool_inputs": True,
"exclude_tools": ["<string>"],
"trigger": {
"type": "input_tokens",
"value": 4503599627370495
}
}
] },
"diagnostics": { "previous_message_id": "<string>" },
"fallback_credit_token": "<string>",
"fallbacks": [
{
"model": "<string>",
"max_tokens": 4503599627370495,
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
}
}
],
"mcp_servers": [
{
"type": "url",
"name": "<string>",
"url": "<string>",
"authorization_token": "<string>",
"tool_configuration": {
"allowed_tools": ["<string>"],
"enabled": True
}
}
],
"metadata": { "user_id": "<string>" },
"output_config": {
"format": {
"type": "json_schema",
"schema": {}
},
"task_budget": {
"type": "tokens",
"total": 4503599627370495,
"remaining": 4503599627370495
}
},
"output_format": {
"type": "json_schema",
"schema": {}
},
"stream": True,
"system": "<string>",
"temperature": 0.5,
"thinking": {
"budget_tokens": 1025,
"type": "enabled",
"block_binding": {}
},
"tool_choice": {
"type": "auto",
"disable_parallel_tool_use": True
},
"tools": [],
"top_p": 0.5,
"inference_geo": "<string>",
"service_tier": "<string>",
"stop_sequences": ["<string>"],
"top_k": 4503599627370495,
"routing": {
"model": {
"fallbacks": ["<string>"],
"whitelist": ["<string>"],
"blacklist": ["<string>"]
},
"provider": {
"whitelist": ["<string>"],
"blacklist": ["<string>"],
"fallbacks": ["<string>"],
"interval": "<string>"
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
messages: [{content: '<string>', output_config: {}}],
max_tokens: 4503599627370495,
model: '<string>',
provider: '<string>',
cache_control: {type: 'ephemeral', ttl: '5m'},
compaction: {type: 'summarize', instructions: '<string>'},
container: {id: '<string>', skills: [{skill_id: '<string>', version: '<string>'}]},
context_management: {
edits: [
{
type: 'clear_tool_uses_20250919',
clear_at_least: {type: 'input_tokens', value: 4503599627370495},
clear_tool_inputs: true,
exclude_tools: ['<string>'],
trigger: {type: 'input_tokens', value: 4503599627370495}
}
]
},
diagnostics: {previous_message_id: '<string>'},
fallback_credit_token: '<string>',
fallbacks: [
{
model: '<string>',
max_tokens: 4503599627370495,
output_config: {
format: {type: 'json_schema', schema: {}},
task_budget: {type: 'tokens', total: 4503599627370495, remaining: 4503599627370495}
},
thinking: {budget_tokens: 1025, type: 'enabled', block_binding: {}}
}
],
mcp_servers: [
{
type: 'url',
name: '<string>',
url: '<string>',
authorization_token: '<string>',
tool_configuration: {allowed_tools: ['<string>'], enabled: true}
}
],
metadata: {user_id: '<string>'},
output_config: {
format: {type: 'json_schema', schema: {}},
task_budget: {type: 'tokens', total: 4503599627370495, remaining: 4503599627370495}
},
output_format: {type: 'json_schema', schema: {}},
stream: true,
system: '<string>',
temperature: 0.5,
thinking: {budget_tokens: 1025, type: 'enabled', block_binding: {}},
tool_choice: {type: 'auto', disable_parallel_tool_use: true},
tools: [],
top_p: 0.5,
inference_geo: '<string>',
service_tier: '<string>',
stop_sequences: ['<string>'],
top_k: 4503599627370495,
routing: {
model: {fallbacks: ['<string>'], whitelist: ['<string>'], blacklist: ['<string>']},
provider: {
whitelist: ['<string>'],
blacklist: ['<string>'],
fallbacks: ['<string>'],
interval: '<string>'
}
}
})
};
fetch('https://api.concentrate.ai/v1/messages/', 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.concentrate.ai/v1/messages/",
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([
'messages' => [
[
'content' => '<string>',
'output_config' => [
]
]
],
'max_tokens' => 4503599627370495,
'model' => '<string>',
'provider' => '<string>',
'cache_control' => [
'type' => 'ephemeral',
'ttl' => '5m'
],
'compaction' => [
'type' => 'summarize',
'instructions' => '<string>'
],
'container' => [
'id' => '<string>',
'skills' => [
[
'skill_id' => '<string>',
'version' => '<string>'
]
]
],
'context_management' => [
'edits' => [
[
'type' => 'clear_tool_uses_20250919',
'clear_at_least' => [
'type' => 'input_tokens',
'value' => 4503599627370495
],
'clear_tool_inputs' => true,
'exclude_tools' => [
'<string>'
],
'trigger' => [
'type' => 'input_tokens',
'value' => 4503599627370495
]
]
]
],
'diagnostics' => [
'previous_message_id' => '<string>'
],
'fallback_credit_token' => '<string>',
'fallbacks' => [
[
'model' => '<string>',
'max_tokens' => 4503599627370495,
'output_config' => [
'format' => [
'type' => 'json_schema',
'schema' => [
]
],
'task_budget' => [
'type' => 'tokens',
'total' => 4503599627370495,
'remaining' => 4503599627370495
]
],
'thinking' => [
'budget_tokens' => 1025,
'type' => 'enabled',
'block_binding' => [
]
]
]
],
'mcp_servers' => [
[
'type' => 'url',
'name' => '<string>',
'url' => '<string>',
'authorization_token' => '<string>',
'tool_configuration' => [
'allowed_tools' => [
'<string>'
],
'enabled' => true
]
]
],
'metadata' => [
'user_id' => '<string>'
],
'output_config' => [
'format' => [
'type' => 'json_schema',
'schema' => [
]
],
'task_budget' => [
'type' => 'tokens',
'total' => 4503599627370495,
'remaining' => 4503599627370495
]
],
'output_format' => [
'type' => 'json_schema',
'schema' => [
]
],
'stream' => true,
'system' => '<string>',
'temperature' => 0.5,
'thinking' => [
'budget_tokens' => 1025,
'type' => 'enabled',
'block_binding' => [
]
],
'tool_choice' => [
'type' => 'auto',
'disable_parallel_tool_use' => true
],
'tools' => [
],
'top_p' => 0.5,
'inference_geo' => '<string>',
'service_tier' => '<string>',
'stop_sequences' => [
'<string>'
],
'top_k' => 4503599627370495,
'routing' => [
'model' => [
'fallbacks' => [
'<string>'
],
'whitelist' => [
'<string>'
],
'blacklist' => [
'<string>'
]
],
'provider' => [
'whitelist' => [
'<string>'
],
'blacklist' => [
'<string>'
],
'fallbacks' => [
'<string>'
],
'interval' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.concentrate.ai/v1/messages/"
payload := strings.NewReader("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"output_config\": {}\n }\n ],\n \"max_tokens\": 4503599627370495,\n \"model\": \"<string>\",\n \"provider\": \"<string>\",\n \"cache_control\": {\n \"type\": \"ephemeral\",\n \"ttl\": \"5m\"\n },\n \"compaction\": {\n \"type\": \"summarize\",\n \"instructions\": \"<string>\"\n },\n \"container\": {\n \"id\": \"<string>\",\n \"skills\": [\n {\n \"skill_id\": \"<string>\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"context_management\": {\n \"edits\": [\n {\n \"type\": \"clear_tool_uses_20250919\",\n \"clear_at_least\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n },\n \"clear_tool_inputs\": true,\n \"exclude_tools\": [\n \"<string>\"\n ],\n \"trigger\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n }\n }\n ]\n },\n \"diagnostics\": {\n \"previous_message_id\": \"<string>\"\n },\n \"fallback_credit_token\": \"<string>\",\n \"fallbacks\": [\n {\n \"model\": \"<string>\",\n \"max_tokens\": 4503599627370495,\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"type\": \"url\",\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"authorization_token\": \"<string>\",\n \"tool_configuration\": {\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"enabled\": true\n }\n }\n ],\n \"metadata\": {\n \"user_id\": \"<string>\"\n },\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"output_format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"stream\": true,\n \"system\": \"<string>\",\n \"temperature\": 0.5,\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n },\n \"tool_choice\": {\n \"type\": \"auto\",\n \"disable_parallel_tool_use\": true\n },\n \"tools\": [],\n \"top_p\": 0.5,\n \"inference_geo\": \"<string>\",\n \"service_tier\": \"<string>\",\n \"stop_sequences\": [\n \"<string>\"\n ],\n \"top_k\": 4503599627370495,\n \"routing\": {\n \"model\": {\n \"fallbacks\": [\n \"<string>\"\n ],\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ]\n },\n \"provider\": {\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ],\n \"fallbacks\": [\n \"<string>\"\n ],\n \"interval\": \"<string>\"\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
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.concentrate.ai/v1/messages/")
.header("Content-Type", "application/json")
.body("{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"output_config\": {}\n }\n ],\n \"max_tokens\": 4503599627370495,\n \"model\": \"<string>\",\n \"provider\": \"<string>\",\n \"cache_control\": {\n \"type\": \"ephemeral\",\n \"ttl\": \"5m\"\n },\n \"compaction\": {\n \"type\": \"summarize\",\n \"instructions\": \"<string>\"\n },\n \"container\": {\n \"id\": \"<string>\",\n \"skills\": [\n {\n \"skill_id\": \"<string>\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"context_management\": {\n \"edits\": [\n {\n \"type\": \"clear_tool_uses_20250919\",\n \"clear_at_least\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n },\n \"clear_tool_inputs\": true,\n \"exclude_tools\": [\n \"<string>\"\n ],\n \"trigger\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n }\n }\n ]\n },\n \"diagnostics\": {\n \"previous_message_id\": \"<string>\"\n },\n \"fallback_credit_token\": \"<string>\",\n \"fallbacks\": [\n {\n \"model\": \"<string>\",\n \"max_tokens\": 4503599627370495,\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"type\": \"url\",\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"authorization_token\": \"<string>\",\n \"tool_configuration\": {\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"enabled\": true\n }\n }\n ],\n \"metadata\": {\n \"user_id\": \"<string>\"\n },\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"output_format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"stream\": true,\n \"system\": \"<string>\",\n \"temperature\": 0.5,\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n },\n \"tool_choice\": {\n \"type\": \"auto\",\n \"disable_parallel_tool_use\": true\n },\n \"tools\": [],\n \"top_p\": 0.5,\n \"inference_geo\": \"<string>\",\n \"service_tier\": \"<string>\",\n \"stop_sequences\": [\n \"<string>\"\n ],\n \"top_k\": 4503599627370495,\n \"routing\": {\n \"model\": {\n \"fallbacks\": [\n \"<string>\"\n ],\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ]\n },\n \"provider\": {\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ],\n \"fallbacks\": [\n \"<string>\"\n ],\n \"interval\": \"<string>\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.concentrate.ai/v1/messages/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"messages\": [\n {\n \"content\": \"<string>\",\n \"output_config\": {}\n }\n ],\n \"max_tokens\": 4503599627370495,\n \"model\": \"<string>\",\n \"provider\": \"<string>\",\n \"cache_control\": {\n \"type\": \"ephemeral\",\n \"ttl\": \"5m\"\n },\n \"compaction\": {\n \"type\": \"summarize\",\n \"instructions\": \"<string>\"\n },\n \"container\": {\n \"id\": \"<string>\",\n \"skills\": [\n {\n \"skill_id\": \"<string>\",\n \"version\": \"<string>\"\n }\n ]\n },\n \"context_management\": {\n \"edits\": [\n {\n \"type\": \"clear_tool_uses_20250919\",\n \"clear_at_least\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n },\n \"clear_tool_inputs\": true,\n \"exclude_tools\": [\n \"<string>\"\n ],\n \"trigger\": {\n \"type\": \"input_tokens\",\n \"value\": 4503599627370495\n }\n }\n ]\n },\n \"diagnostics\": {\n \"previous_message_id\": \"<string>\"\n },\n \"fallback_credit_token\": \"<string>\",\n \"fallbacks\": [\n {\n \"model\": \"<string>\",\n \"max_tokens\": 4503599627370495,\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n }\n }\n ],\n \"mcp_servers\": [\n {\n \"type\": \"url\",\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"authorization_token\": \"<string>\",\n \"tool_configuration\": {\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"enabled\": true\n }\n }\n ],\n \"metadata\": {\n \"user_id\": \"<string>\"\n },\n \"output_config\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"task_budget\": {\n \"type\": \"tokens\",\n \"total\": 4503599627370495,\n \"remaining\": 4503599627370495\n }\n },\n \"output_format\": {\n \"type\": \"json_schema\",\n \"schema\": {}\n },\n \"stream\": true,\n \"system\": \"<string>\",\n \"temperature\": 0.5,\n \"thinking\": {\n \"budget_tokens\": 1025,\n \"type\": \"enabled\",\n \"block_binding\": {}\n },\n \"tool_choice\": {\n \"type\": \"auto\",\n \"disable_parallel_tool_use\": true\n },\n \"tools\": [],\n \"top_p\": 0.5,\n \"inference_geo\": \"<string>\",\n \"service_tier\": \"<string>\",\n \"stop_sequences\": [\n \"<string>\"\n ],\n \"top_k\": 4503599627370495,\n \"routing\": {\n \"model\": {\n \"fallbacks\": [\n \"<string>\"\n ],\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ]\n },\n \"provider\": {\n \"whitelist\": [\n \"<string>\"\n ],\n \"blacklist\": [\n \"<string>\"\n ],\n \"fallbacks\": [\n \"<string>\"\n ],\n \"interval\": \"<string>\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"type": "message",
"role": "assistant",
"model": "<string>",
"content": [
{
"type": "text",
"text": "<string>",
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
},
"citations": [
{
"cited_text": "<string>",
"document_index": 4503599627370495,
"document_title": "<string>",
"type": "char_location",
"start_char_index": 4503599627370495,
"end_char_index": 0
}
]
}
],
"usage": {
"cache_creation_input_tokens": 0,
"cache_read_input_tokens": 0,
"inference_geo": "<string>",
"input_tokens": 0,
"output_tokens": 0,
"server_tool_use": {
"web_fetch_requests": 0,
"web_search_requests": 0
},
"service_tier": "standard",
"cache_creation": {
"ephemeral_5m_input_tokens": 1,
"ephemeral_1h_input_tokens": 1
},
"output_tokens_details": {
"thinking_tokens": 1
},
"speed": "standard"
},
"cost": {
"total": 123,
"byok": true,
"breakdown": {}
},
"stop_reason": "end_turn",
"stop_sequence": "<string>",
"redact": {
"entities_found": 123,
"entity_types": [
"<string>"
],
"models_used": [
"<string>"
],
"execution_time_ms": 123,
"redaction_coverage": 123,
"redacted_input": [
{
"role": "user",
"content": "<string>",
"type": "message",
"phase": "commentary"
}
],
"redacted_tools": [
{
"type": "function",
"name": "<unknown>",
"parameters": {},
"description": "<string>",
"strict": true,
"cache_control": {
"type": "ephemeral",
"ttl": "5m"
}
}
]
}
}{
"type": "error",
"error": {
"type": "<string>",
"message": "<string>"
},
"request_id": "<string>"
}Overview
The Messages API provides compatibility with the Anthropic Messages API format. It’s designed primarily for clients that expect Anthropic’s API structure, such as Claude Code and other tools built for Claude’s API.Body
1Show child attributes
Show child attributes
0 <= x <= 9007199254740991Model identifier. Use /v1/models to list all available models. Supports canonical names (e.g. gpt-5.2, claude-opus-4-6), aliases, and provider-prefixed formats (e.g. openai/gpt-5.2). Use "auto" for automatic model selection.
Cache control settings for explicit prompt caching of this content.
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
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
0 <= x <= 1- Enabled
- Disabled
- Adaptive
Show child attributes
Show child attributes
- Auto
- Any
- Tool
- None
Show child attributes
Show child attributes
- Custom Tool
- Bash Tool
- Code Execution Tool
- Computer Use Tool
- Computer Use Tool (2025-11-24)
- Computer Toolset
- Browser Toolset
- Memory Tool
- Text Editor Tool
- Text Editor Tool (2025-04-29)
- Text Editor Tool (2025-07-28)
- Web Search Tool
- Web Search Tool (2026-02-09)
- Web Search Tool (2026-03-18)
- Web Fetch Tool
- Web Fetch Tool (2026-03-09)
- Web Fetch Tool (2026-03-18)
- Advisor Tool
- Tool Search Tool (BM25)
- Tool Search Tool (Regex)
- MCP Toolset
Show child attributes
Show child attributes
0 <= x <= 1standard, fast 0 < x <= 9007199254740991Concentrate routing configuration controlling how requests are routed across models and providers. Learn more about routing.
Show child attributes
Show child attributes
Response
Default Response
message assistant - Text
- Image
- Document
- Thinking
- Redacted Thinking
- Tool Use
- Tool Result
- Server Tool Use
- Web Search Tool Result
- Web Fetch Tool Result
- Advisor Tool Result
- Code Execution Tool Result
- Bash Code Execution Tool Result
- Text Editor Code Execution Tool Result
- Tool Search Tool Result
- Search Result
- MCP Tool Use
- MCP Tool Result
- Container Upload
- Compaction
- Tool Addition
- Tool Removal
- MCP Tool Listing
- Fallback
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
end_turn, max_tokens, stop_sequence, tool_use, pause_turn, refusal Show child attributes
Show child attributes
Was this page helpful?

