curl --request POST \
--url https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"config": {},
"graphId": "<string>",
"description": "<string>",
"metadata": {}
}
'import requests
url = "https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants"
payload = {
"name": "<string>",
"config": {},
"graphId": "<string>",
"description": "<string>",
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
config: {},
graphId: '<string>',
description: '<string>',
metadata: {}
})
};
fetch('https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants', 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.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants",
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([
'name' => '<string>',
'config' => [
],
'graphId' => '<string>',
'description' => '<string>',
'metadata' => [
]
]),
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.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"config\": {},\n \"graphId\": \"<string>\",\n \"description\": \"<string>\",\n \"metadata\": {}\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"config\": {},\n \"graphId\": \"<string>\",\n \"description\": \"<string>\",\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"config\": {},\n \"graphId\": \"<string>\",\n \"description\": \"<string>\",\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}Create an agent
Creates a supervisor or react agent for this tenant — a knowledge-base Q&A agent included, as react with graphId: qna_agent — answering the same passthrough shape getAssistant returns. Build config in the shape listAssistants and getAssistant return for an existing agent of the same deployment — read one first and follow it. metadata is server-owned here: anything you send in it is IGNORED, and the created agent carries only the draft markers this endpoint stamps. The agent is created as a draft; a human reviews and publishes it in the ClaudIA app — it does not answer customers until then. This surface has no opt-out: there is no way to create an already-published agent here, and no way to attach the draft to an agent already in production.
curl --request POST \
--url https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"config": {},
"graphId": "<string>",
"description": "<string>",
"metadata": {}
}
'import requests
url = "https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants"
payload = {
"name": "<string>",
"config": {},
"graphId": "<string>",
"description": "<string>",
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
config: {},
graphId: '<string>',
description: '<string>',
metadata: {}
})
};
fetch('https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants', 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.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants",
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([
'name' => '<string>',
'config' => [
],
'graphId' => '<string>',
'description' => '<string>',
'metadata' => [
]
]),
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.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"config\": {},\n \"graphId\": \"<string>\",\n \"description\": \"<string>\",\n \"metadata\": {}\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"config\": {},\n \"graphId\": \"<string>\",\n \"description\": \"<string>\",\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cloudhumans.com/claudia/v1/tenants/{tenant}/assistants")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"config\": {},\n \"graphId\": \"<string>\",\n \"description\": \"<string>\",\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}{
"error": "Forbidden: token holds no claim for the requested account"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Tenant whose agents you are managing. Discover the tenants your credentials cover with listMyClaudiaProjects. A tenant your credentials do not cover is indistinguishable from one that does not exist.
Body
The agent to create.
Target deployment role: supervisor for an orchestrator agent, react for a specialist one. Any other value answers 400. There is no qna deployment to send: a knowledge-base Q&A agent is created as react with graphId set to qna_agent, and the platform derives its deployment_role: qna from that graph.
supervisor, react Human-readable agent name.
The config.configurable object. Build it in the shape listAssistants/getAssistant return for an existing agent of the same deployment — read one first and follow it. Send it as a JSON OBJECT, never as a JSON-encoded string, and always carrying config.project — a create without it is rejected with 400.
LangGraph graph id. agent is the graph both the supervisor and react deployments host, for orchestrators and regular specialists — the deployment field selects the target. qna_agent, together with deployment: react, creates a knowledge-base Q&A agent: its config carries knowledge_base_ids — ids from listMyKnowledgeBases, copied verbatim — instead of tool whitelists, and the platform reports it back with deployment_role: qna. Routing caveat: the supervisor's judge never offers a qna_agent as a routing option — a Q&A agent listed in a supervisor's agents[] is reached only through the start-with-agentic bypass on the customer's first message, not by regular routing on later turns.
This assistant's own routing description. For a sub-agent it is what supervisors use to decide when to route to it, so make it rich and specific.
Optional passthrough metadata. On this public surface it is server-owned: whatever you send here is dropped entirely, including productionAssistantId — the created agent carries only the draft markers this endpoint stamps.
Response
The agent as created — a draft, in the same passthrough shape getAssistant returns. A free-form object: read the keys rather than assuming a shape.
Free-form object: the agent's stored configuration, in whatever shape the live config schema for its deployment accepts. Read the keys you need; do not assume a fixed set.