curl --request PATCH \
--url https://api.veryfront.com/projects/{project_reference}/channels/{channel_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_id": "<string>",
"name": "<string>",
"assistant_id": "<string>",
"allowed_slack_channel_ids": [
"<string>"
],
"allowed_channels": [
"<string>"
],
"welcome_message": "<string>",
"error_message": "<string>",
"max_response_tokens": 123,
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.veryfront.com/projects/{project_reference}/channels/{channel_id}"
payload = {
"agent_id": "<string>",
"name": "<string>",
"assistant_id": "<string>",
"allowed_slack_channel_ids": ["<string>"],
"allowed_channels": ["<string>"],
"welcome_message": "<string>",
"error_message": "<string>",
"max_response_tokens": 123,
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
agent_id: '<string>',
name: '<string>',
assistant_id: '<string>',
allowed_slack_channel_ids: ['<string>'],
allowed_channels: ['<string>'],
welcome_message: '<string>',
error_message: '<string>',
max_response_tokens: 123,
target_environment_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
target_branch_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://api.veryfront.com/projects/{project_reference}/channels/{channel_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.veryfront.com/projects/{project_reference}/channels/{channel_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'agent_id' => '<string>',
'name' => '<string>',
'assistant_id' => '<string>',
'allowed_slack_channel_ids' => [
'<string>'
],
'allowed_channels' => [
'<string>'
],
'welcome_message' => '<string>',
'error_message' => '<string>',
'max_response_tokens' => 123,
'target_environment_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'target_branch_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.veryfront.com/projects/{project_reference}/channels/{channel_id}"
payload := strings.NewReader("{\n \"agent_id\": \"<string>\",\n \"name\": \"<string>\",\n \"assistant_id\": \"<string>\",\n \"allowed_slack_channel_ids\": [\n \"<string>\"\n ],\n \"allowed_channels\": [\n \"<string>\"\n ],\n \"welcome_message\": \"<string>\",\n \"error_message\": \"<string>\",\n \"max_response_tokens\": 123,\n \"target_environment_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_branch_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.veryfront.com/projects/{project_reference}/channels/{channel_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"agent_id\": \"<string>\",\n \"name\": \"<string>\",\n \"assistant_id\": \"<string>\",\n \"allowed_slack_channel_ids\": [\n \"<string>\"\n ],\n \"allowed_channels\": [\n \"<string>\"\n ],\n \"welcome_message\": \"<string>\",\n \"error_message\": \"<string>\",\n \"max_response_tokens\": 123,\n \"target_environment_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_branch_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.veryfront.com/projects/{project_reference}/channels/{channel_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent_id\": \"<string>\",\n \"name\": \"<string>\",\n \"assistant_id\": \"<string>\",\n \"allowed_slack_channel_ids\": [\n \"<string>\"\n ],\n \"allowed_channels\": [\n \"<string>\"\n ],\n \"welcome_message\": \"<string>\",\n \"error_message\": \"<string>\",\n \"max_response_tokens\": 123,\n \"target_environment_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_branch_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"binding_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"installation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "slack",
"name": "<string>",
"agent_id": "<string>",
"assistant_id": "<string>",
"enabled": true,
"platform_team_id": "<string>",
"platform_bot_id": "<string>",
"workspace_name": "<string>",
"respond_to": "mentions",
"allowed_slack_channel_ids": [
"<string>"
],
"allowed_channels": [
"<string>"
],
"status": "connected",
"welcome_message": "<string>",
"error_message": "<string>",
"max_response_tokens": 123,
"runtime_target_kind": "main_branch",
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resolved_target": {
"runtime_target": {
"kind": "main_branch",
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"resolved_environment": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"resolved_branch": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"resolved_deployment": {
"id": "<string>",
"runtime_version": "<string>",
"deployment_revision": "<string>",
"last_deployed_at": "<string>"
},
"resolved_managed_domain": {
"domain": "<string>",
"health_url": "<string>"
},
"resolved_invoke_mode": "dispatch_override",
"last_resolution_error": {
"code": "<string>",
"retryable": true,
"message": "<string>"
}
},
"created_at": "<string>",
"updated_at": "<string>"
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}Change a channel's settings or target
Update a channel binding. Requires project.channels.write.
curl --request PATCH \
--url https://api.veryfront.com/projects/{project_reference}/channels/{channel_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_id": "<string>",
"name": "<string>",
"assistant_id": "<string>",
"allowed_slack_channel_ids": [
"<string>"
],
"allowed_channels": [
"<string>"
],
"welcome_message": "<string>",
"error_message": "<string>",
"max_response_tokens": 123,
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'import requests
url = "https://api.veryfront.com/projects/{project_reference}/channels/{channel_id}"
payload = {
"agent_id": "<string>",
"name": "<string>",
"assistant_id": "<string>",
"allowed_slack_channel_ids": ["<string>"],
"allowed_channels": ["<string>"],
"welcome_message": "<string>",
"error_message": "<string>",
"max_response_tokens": 123,
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
agent_id: '<string>',
name: '<string>',
assistant_id: '<string>',
allowed_slack_channel_ids: ['<string>'],
allowed_channels: ['<string>'],
welcome_message: '<string>',
error_message: '<string>',
max_response_tokens: 123,
target_environment_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
target_branch_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
})
};
fetch('https://api.veryfront.com/projects/{project_reference}/channels/{channel_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.veryfront.com/projects/{project_reference}/channels/{channel_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'agent_id' => '<string>',
'name' => '<string>',
'assistant_id' => '<string>',
'allowed_slack_channel_ids' => [
'<string>'
],
'allowed_channels' => [
'<string>'
],
'welcome_message' => '<string>',
'error_message' => '<string>',
'max_response_tokens' => 123,
'target_environment_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'target_branch_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.veryfront.com/projects/{project_reference}/channels/{channel_id}"
payload := strings.NewReader("{\n \"agent_id\": \"<string>\",\n \"name\": \"<string>\",\n \"assistant_id\": \"<string>\",\n \"allowed_slack_channel_ids\": [\n \"<string>\"\n ],\n \"allowed_channels\": [\n \"<string>\"\n ],\n \"welcome_message\": \"<string>\",\n \"error_message\": \"<string>\",\n \"max_response_tokens\": 123,\n \"target_environment_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_branch_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.veryfront.com/projects/{project_reference}/channels/{channel_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"agent_id\": \"<string>\",\n \"name\": \"<string>\",\n \"assistant_id\": \"<string>\",\n \"allowed_slack_channel_ids\": [\n \"<string>\"\n ],\n \"allowed_channels\": [\n \"<string>\"\n ],\n \"welcome_message\": \"<string>\",\n \"error_message\": \"<string>\",\n \"max_response_tokens\": 123,\n \"target_environment_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_branch_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.veryfront.com/projects/{project_reference}/channels/{channel_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent_id\": \"<string>\",\n \"name\": \"<string>\",\n \"assistant_id\": \"<string>\",\n \"allowed_slack_channel_ids\": [\n \"<string>\"\n ],\n \"allowed_channels\": [\n \"<string>\"\n ],\n \"welcome_message\": \"<string>\",\n \"error_message\": \"<string>\",\n \"max_response_tokens\": 123,\n \"target_environment_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"target_branch_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"binding_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"installation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"platform": "slack",
"name": "<string>",
"agent_id": "<string>",
"assistant_id": "<string>",
"enabled": true,
"platform_team_id": "<string>",
"platform_bot_id": "<string>",
"workspace_name": "<string>",
"respond_to": "mentions",
"allowed_slack_channel_ids": [
"<string>"
],
"allowed_channels": [
"<string>"
],
"status": "connected",
"welcome_message": "<string>",
"error_message": "<string>",
"max_response_tokens": 123,
"runtime_target_kind": "main_branch",
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resolved_target": {
"runtime_target": {
"kind": "main_branch",
"target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"resolved_environment": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"resolved_branch": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"resolved_deployment": {
"id": "<string>",
"runtime_version": "<string>",
"deployment_revision": "<string>",
"last_deployed_at": "<string>"
},
"resolved_managed_domain": {
"domain": "<string>",
"health_url": "<string>"
},
"resolved_invoke_mode": "dispatch_override",
"last_resolution_error": {
"code": "<string>",
"retryable": true,
"message": "<string>"
}
},
"created_at": "<string>",
"updated_at": "<string>"
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}{
"type": "https://api.veryfront.com/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"cause": "schedule_concurrency_forbidden",
"idempotency": {
"state": "in_progress",
"operation": "<string>",
"retryable": true,
"retry_after_seconds": 1,
"expires_at": "<string>",
"recovery": {
"available": true,
"description": "<string>",
"resource_url": "<string>"
}
},
"code": "RUN_INVALID_INPUT",
"detail": "The 'email' field must be a valid email address",
"instance": "/projects/my-project/members",
"slug": "validation-failed",
"category": "VALIDATION",
"suggestion": "Check the request body and query parameters against the API documentation.",
"errors": [
{
"field": "email",
"message": "Invalid email format",
"code": "INVALID_FORMAT"
}
]
}Authorizations
Use a JWT bearer token or a Veryfront API key in the Authorization header.
Path Parameters
Project slug, UUID, or domain that identifies the project.
Body
Agent from the same runtime target; checked against the selected target again. Omission keeps the current agent. Updating does not require the caller Slack connection.
1Display name, 1-255 characters
1 - 255Deprecated alias of agent_id (CR-channel-field-aliases).
1Which Slack messages to answer: mentions, direct_messages or all
mentions, direct_messages, all Slack channel IDs. Overlap with another channel in the same workspace is rejected with resource-already-exists. IDs come from listSlackChannels (MCP: list_slack_channels); empty means every Slack channel the bot is in. A preview_branch target needs at least one.
2501 - 255Deprecated alias of allowed_slack_channel_ids (CR-channel-field-aliases).
2501 - 255Welcome message. Omission keeps the value; null clears it.
4000Error message. Omission keeps the value; null clears it.
4000Maximum response tokens. Omission keeps the value; null clears it.
x <= 65536Runtime target: main_branch, environment or preview_branch
main_branch, environment, preview_branch Environment ID; required when runtime_target_kind is environment
Branch ID; required when runtime_target_kind is preview_branch
Response
Updated channel
slack 11mentions, direct_messages, all connected, needs_reauth, error main_branch, environment, preview_branch Show child attributes
Show child attributes