Update Agent Config Json
curl --request PUT \
--url https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/config \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/config"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"config": {
"calibrate_api_key_set": false,
"questions": [
{}
],
"status": "<string>",
"title": "<string>"
},
"id": "<string>",
"status": "<string>",
"version": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Agents
Update Agent Config Json
Update an existing agent by replacing config.json directly.
PUT
/
api
/
v1
/
agents
/
{agent_id}
/
config
Update Agent Config Json
curl --request PUT \
--url https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/config \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.formbharo.artpark.ai/api/v1/agents/{agent_id}/config"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"config": {
"calibrate_api_key_set": false,
"questions": [
{}
],
"status": "<string>",
"title": "<string>"
},
"id": "<string>",
"status": "<string>",
"version": 123
}{
"error": "<string>"
}{
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Path Parameters
Body
application/json
The body is of type Config · object.