Update a tool revision
curl --request PUT \
--url https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"configuration": {
"url": "<string>",
"method": "GET",
"headers": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"query_params": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"body": {},
"timeout": 30,
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
}
},
"transfer_target": {
"destination": "<string>",
"destination_source": {
"tool_id": "<string>",
"response_path": "<string>",
"type": "api_tool",
"input_mapping": {}
},
"mode": "cold"
},
"response_schema": {
"field_mappings": [
{
"path": "<string>",
"alias": "<string>"
}
]
},
"input_defaults": {}
}
'import requests
url = "https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}"
payload = {
"name": "<string>",
"description": "<string>",
"configuration": {
"url": "<string>",
"method": "GET",
"headers": [
{
"key": "<string>",
"value": "<string>",
"secure": False
}
],
"query_params": [
{
"key": "<string>",
"value": "<string>",
"secure": False
}
],
"body": {},
"timeout": 30,
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": False
}
],
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": True
}
},
"transfer_target": {
"destination": "<string>",
"destination_source": {
"tool_id": "<string>",
"response_path": "<string>",
"type": "api_tool",
"input_mapping": {}
},
"mode": "cold"
},
"response_schema": { "field_mappings": [
{
"path": "<string>",
"alias": "<string>"
}
] },
"input_defaults": {}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
configuration: {
url: '<string>',
method: 'GET',
headers: [{key: '<string>', value: '<string>', secure: false}],
query_params: [{key: '<string>', value: '<string>', secure: false}],
body: JSON.stringify({}),
timeout: 30,
variables: [{name: '<string>', type: 'str', description: '<string>', required: false}],
retry: {max_retries: 0, base_delay_seconds: 1, max_delay_seconds: 30, jitter: true}
},
transfer_target: {
destination: '<string>',
destination_source: {
tool_id: '<string>',
response_path: '<string>',
type: 'api_tool',
input_mapping: {}
},
mode: 'cold'
},
response_schema: {field_mappings: [{path: '<string>', alias: '<string>'}]},
input_defaults: {}
})
};
fetch('https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}', 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-sandbox.featherhq.com/v1/tools/revisions/{revision_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'configuration' => [
'url' => '<string>',
'method' => 'GET',
'headers' => [
[
'key' => '<string>',
'value' => '<string>',
'secure' => false
]
],
'query_params' => [
[
'key' => '<string>',
'value' => '<string>',
'secure' => false
]
],
'body' => [
],
'timeout' => 30,
'variables' => [
[
'name' => '<string>',
'type' => 'str',
'description' => '<string>',
'required' => false
]
],
'retry' => [
'max_retries' => 0,
'base_delay_seconds' => 1,
'max_delay_seconds' => 30,
'jitter' => true
]
],
'transfer_target' => [
'destination' => '<string>',
'destination_source' => [
'tool_id' => '<string>',
'response_path' => '<string>',
'type' => 'api_tool',
'input_mapping' => [
]
],
'mode' => 'cold'
],
'response_schema' => [
'field_mappings' => [
[
'path' => '<string>',
'alias' => '<string>'
]
]
],
'input_defaults' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-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-sandbox.featherhq.com/v1/tools/revisions/{revision_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"configuration\": {\n \"url\": \"<string>\",\n \"method\": \"GET\",\n \"headers\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"query_params\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"body\": {},\n \"timeout\": 30,\n \"variables\": [\n {\n \"name\": \"<string>\",\n \"type\": \"str\",\n \"description\": \"<string>\",\n \"required\": false\n }\n ],\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n }\n },\n \"transfer_target\": {\n \"destination\": \"<string>\",\n \"destination_source\": {\n \"tool_id\": \"<string>\",\n \"response_path\": \"<string>\",\n \"type\": \"api_tool\",\n \"input_mapping\": {}\n },\n \"mode\": \"cold\"\n },\n \"response_schema\": {\n \"field_mappings\": [\n {\n \"path\": \"<string>\",\n \"alias\": \"<string>\"\n }\n ]\n },\n \"input_defaults\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-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.put("https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"configuration\": {\n \"url\": \"<string>\",\n \"method\": \"GET\",\n \"headers\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"query_params\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"body\": {},\n \"timeout\": 30,\n \"variables\": [\n {\n \"name\": \"<string>\",\n \"type\": \"str\",\n \"description\": \"<string>\",\n \"required\": false\n }\n ],\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n }\n },\n \"transfer_target\": {\n \"destination\": \"<string>\",\n \"destination_source\": {\n \"tool_id\": \"<string>\",\n \"response_path\": \"<string>\",\n \"type\": \"api_tool\",\n \"input_mapping\": {}\n },\n \"mode\": \"cold\"\n },\n \"response_schema\": {\n \"field_mappings\": [\n {\n \"path\": \"<string>\",\n \"alias\": \"<string>\"\n }\n ]\n },\n \"input_defaults\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"configuration\": {\n \"url\": \"<string>\",\n \"method\": \"GET\",\n \"headers\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"query_params\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"body\": {},\n \"timeout\": 30,\n \"variables\": [\n {\n \"name\": \"<string>\",\n \"type\": \"str\",\n \"description\": \"<string>\",\n \"required\": false\n }\n ],\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n }\n },\n \"transfer_target\": {\n \"destination\": \"<string>\",\n \"destination_source\": {\n \"tool_id\": \"<string>\",\n \"response_path\": \"<string>\",\n \"type\": \"api_tool\",\n \"input_mapping\": {}\n },\n \"mode\": \"cold\"\n },\n \"response_schema\": {\n \"field_mappings\": [\n {\n \"path\": \"<string>\",\n \"alias\": \"<string>\"\n }\n ]\n },\n \"input_defaults\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"default_count": 123,
"pinned_count": 123,
"stale_input_fields": [
"<string>"
],
"merged_input_preview": {},
"configuration": {
"url": "<string>",
"method": "GET",
"headers": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"query_params": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"body": {},
"timeout": 30,
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
}
},
"transfer_target": {
"destination": "<string>",
"destination_source": {
"tool_id": "<string>",
"response_path": "<string>",
"type": "api_tool",
"input_mapping": {}
},
"mode": "cold"
},
"response_schema": {
"field_mappings": [
{
"path": "<string>",
"alias": "<string>"
}
]
},
"has_secrets": false,
"input_defaults": {},
"compatibility": {
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"old_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"new_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_blocking": true,
"active_blocking_count": 123,
"active_blocking_finding_count": 123,
"active_finding_count": 123,
"affected_assistant_count": 123,
"findings": [
{
"severity": "blocking",
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assistant_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision_state": "active",
"finding_type": "<string>",
"field_path": "<string>",
"detail": "<string>",
"configuration_scope": "assistant_tool_default",
"workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"component_node_id": "<string>",
"graph_node_id": "<string>",
"graph_node_name": "<string>",
"step_id": "<string>",
"tool_ref_index": 123
}
]
}
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Path Parameters
Body
Mutable fields on a single ToolRevision.
input_defaults is the operator-set input-arg config for input variables
({variable_name: {"value": ..., "type": "default"|"pinned"}} — ENG-590): a
default the agent may override, or a pinned value it cannot; neither is
injected at runtime in this scope. It is validated at the service layer against
the revision's effective variables (the row + any configuration in the
same request), so a wrong-type value or unknown variable is rejected there with
a 422.
Unlike the sibling fields (which use is not None gating), input_defaults
is written via model_fields_set so an explicit null clears all config
while omitting the field is a no-op.
Configuration for an API_CALL tool, stored in Tool.configuration.
Supports {{variable}} placeholders in url, headers, and body that are
resolved at execution time from the tool's input variables and runtime
metadata (via {{metadata.key}}).
Show child attributes
Show child attributes
Operator-supplied config for a call_transfer target (ENG, voice).
A transfer target carries either a static destination (E.164 or sip: URI)
or a dynamic destination_source (api_tool reference that resolves the
destination at transfer time). The two are mutually exclusive. mode is
always "cold".
destination validity (E.164 or sip: URI) is enforced at the service
layer via
:func:~src.custom_tools.api._shared.transfer_target.validate_transfer_target_config
so a bad destination surfaces as a clean 422. The label / when-to-use are
carried on the Tool's name / description, not here.
Show child attributes
Show child attributes
The projection applied to a tool response.
Show child attributes
Show child attributes
active, deprecated, disabled Show child attributes
Show child attributes
Response
Successful Response
How many input variables carry an operator default (ENG-590).
How many input variables are operator-pinned (ENG-590).
Configured variables removed/renamed/retyped by an operator edit.
The input schema with each operator value injected as default.
Configuration for an API_CALL tool, stored in Tool.configuration.
Supports {{variable}} placeholders in url, headers, and body that are
resolved at execution time from the tool's input variables and runtime
metadata (via {{metadata.key}}).
Show child attributes
Show child attributes
A call_transfer revision's stored target, surfaced on reads.
ToolRevisionResponse.configuration is api_call-typed and parses to
None for a transfer config (it has no url), so this field carries the
destination/mode back for the transfer-target picker. label /
when_to_use come from the parent Tool's name / description.
Either destination (static) or destination_source (api_tool dynamic)
is present, never both. The unused variant is omitted from serialization.
Show child attributes
Show child attributes
The projection applied to a tool response.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Impact report shared by preflight analysis and successful promotion.
Pre-prod: findings are advisory warnings — promotion always succeeds. The
has_blocking / active_blocking_* fields retain their literal
blocking semantics (and therefore remain false/zero today).
Show child attributes
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"configuration": {
"url": "<string>",
"method": "GET",
"headers": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"query_params": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"body": {},
"timeout": 30,
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
}
},
"transfer_target": {
"destination": "<string>",
"destination_source": {
"tool_id": "<string>",
"response_path": "<string>",
"type": "api_tool",
"input_mapping": {}
},
"mode": "cold"
},
"response_schema": {
"field_mappings": [
{
"path": "<string>",
"alias": "<string>"
}
]
},
"input_defaults": {}
}
'import requests
url = "https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}"
payload = {
"name": "<string>",
"description": "<string>",
"configuration": {
"url": "<string>",
"method": "GET",
"headers": [
{
"key": "<string>",
"value": "<string>",
"secure": False
}
],
"query_params": [
{
"key": "<string>",
"value": "<string>",
"secure": False
}
],
"body": {},
"timeout": 30,
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": False
}
],
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": True
}
},
"transfer_target": {
"destination": "<string>",
"destination_source": {
"tool_id": "<string>",
"response_path": "<string>",
"type": "api_tool",
"input_mapping": {}
},
"mode": "cold"
},
"response_schema": { "field_mappings": [
{
"path": "<string>",
"alias": "<string>"
}
] },
"input_defaults": {}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
configuration: {
url: '<string>',
method: 'GET',
headers: [{key: '<string>', value: '<string>', secure: false}],
query_params: [{key: '<string>', value: '<string>', secure: false}],
body: JSON.stringify({}),
timeout: 30,
variables: [{name: '<string>', type: 'str', description: '<string>', required: false}],
retry: {max_retries: 0, base_delay_seconds: 1, max_delay_seconds: 30, jitter: true}
},
transfer_target: {
destination: '<string>',
destination_source: {
tool_id: '<string>',
response_path: '<string>',
type: 'api_tool',
input_mapping: {}
},
mode: 'cold'
},
response_schema: {field_mappings: [{path: '<string>', alias: '<string>'}]},
input_defaults: {}
})
};
fetch('https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}', 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-sandbox.featherhq.com/v1/tools/revisions/{revision_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'configuration' => [
'url' => '<string>',
'method' => 'GET',
'headers' => [
[
'key' => '<string>',
'value' => '<string>',
'secure' => false
]
],
'query_params' => [
[
'key' => '<string>',
'value' => '<string>',
'secure' => false
]
],
'body' => [
],
'timeout' => 30,
'variables' => [
[
'name' => '<string>',
'type' => 'str',
'description' => '<string>',
'required' => false
]
],
'retry' => [
'max_retries' => 0,
'base_delay_seconds' => 1,
'max_delay_seconds' => 30,
'jitter' => true
]
],
'transfer_target' => [
'destination' => '<string>',
'destination_source' => [
'tool_id' => '<string>',
'response_path' => '<string>',
'type' => 'api_tool',
'input_mapping' => [
]
],
'mode' => 'cold'
],
'response_schema' => [
'field_mappings' => [
[
'path' => '<string>',
'alias' => '<string>'
]
]
],
'input_defaults' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-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-sandbox.featherhq.com/v1/tools/revisions/{revision_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"configuration\": {\n \"url\": \"<string>\",\n \"method\": \"GET\",\n \"headers\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"query_params\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"body\": {},\n \"timeout\": 30,\n \"variables\": [\n {\n \"name\": \"<string>\",\n \"type\": \"str\",\n \"description\": \"<string>\",\n \"required\": false\n }\n ],\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n }\n },\n \"transfer_target\": {\n \"destination\": \"<string>\",\n \"destination_source\": {\n \"tool_id\": \"<string>\",\n \"response_path\": \"<string>\",\n \"type\": \"api_tool\",\n \"input_mapping\": {}\n },\n \"mode\": \"cold\"\n },\n \"response_schema\": {\n \"field_mappings\": [\n {\n \"path\": \"<string>\",\n \"alias\": \"<string>\"\n }\n ]\n },\n \"input_defaults\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-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.put("https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"configuration\": {\n \"url\": \"<string>\",\n \"method\": \"GET\",\n \"headers\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"query_params\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"body\": {},\n \"timeout\": 30,\n \"variables\": [\n {\n \"name\": \"<string>\",\n \"type\": \"str\",\n \"description\": \"<string>\",\n \"required\": false\n }\n ],\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n }\n },\n \"transfer_target\": {\n \"destination\": \"<string>\",\n \"destination_source\": {\n \"tool_id\": \"<string>\",\n \"response_path\": \"<string>\",\n \"type\": \"api_tool\",\n \"input_mapping\": {}\n },\n \"mode\": \"cold\"\n },\n \"response_schema\": {\n \"field_mappings\": [\n {\n \"path\": \"<string>\",\n \"alias\": \"<string>\"\n }\n ]\n },\n \"input_defaults\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/tools/revisions/{revision_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"configuration\": {\n \"url\": \"<string>\",\n \"method\": \"GET\",\n \"headers\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"query_params\": [\n {\n \"key\": \"<string>\",\n \"value\": \"<string>\",\n \"secure\": false\n }\n ],\n \"body\": {},\n \"timeout\": 30,\n \"variables\": [\n {\n \"name\": \"<string>\",\n \"type\": \"str\",\n \"description\": \"<string>\",\n \"required\": false\n }\n ],\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n }\n },\n \"transfer_target\": {\n \"destination\": \"<string>\",\n \"destination_source\": {\n \"tool_id\": \"<string>\",\n \"response_path\": \"<string>\",\n \"type\": \"api_tool\",\n \"input_mapping\": {}\n },\n \"mode\": \"cold\"\n },\n \"response_schema\": {\n \"field_mappings\": [\n {\n \"path\": \"<string>\",\n \"alias\": \"<string>\"\n }\n ]\n },\n \"input_defaults\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "<string>",
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"default_count": 123,
"pinned_count": 123,
"stale_input_fields": [
"<string>"
],
"merged_input_preview": {},
"configuration": {
"url": "<string>",
"method": "GET",
"headers": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"query_params": [
{
"key": "<string>",
"value": "<string>",
"secure": false
}
],
"body": {},
"timeout": 30,
"variables": [
{
"name": "<string>",
"type": "str",
"description": "<string>",
"required": false
}
],
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
}
},
"transfer_target": {
"destination": "<string>",
"destination_source": {
"tool_id": "<string>",
"response_path": "<string>",
"type": "api_tool",
"input_mapping": {}
},
"mode": "cold"
},
"response_schema": {
"field_mappings": [
{
"path": "<string>",
"alias": "<string>"
}
]
},
"has_secrets": false,
"input_defaults": {},
"compatibility": {
"tool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"old_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"new_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_blocking": true,
"active_blocking_count": 123,
"active_blocking_finding_count": 123,
"active_finding_count": 123,
"affected_assistant_count": 123,
"findings": [
{
"severity": "blocking",
"assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assistant_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision_state": "active",
"finding_type": "<string>",
"field_path": "<string>",
"detail": "<string>",
"configuration_scope": "assistant_tool_default",
"workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflow_revision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"component_node_id": "<string>",
"graph_node_id": "<string>",
"graph_node_name": "<string>",
"step_id": "<string>",
"tool_ref_index": 123
}
]
}
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}