Create skill
curl --request POST \
--url https://api.conduit.ai/v1/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"name": "booking-policy",
"description": "Use this skill for refund and cancellation questions.",
"body": "Guests may cancel up to 48 hours before check-in for a full refund.",
"allowed_tools": [
"convex_get_booking"
],
"tags": [
"policy",
"refunds"
],
"enabled": true,
"auto_assign_to_existing_v2_agents": false
}
'import requests
url = "https://api.conduit.ai/v1/skills"
payload = {
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"name": "booking-policy",
"description": "Use this skill for refund and cancellation questions.",
"body": "Guests may cancel up to 48 hours before check-in for a full refund.",
"allowed_tools": ["convex_get_booking"],
"tags": ["policy", "refunds"],
"enabled": True,
"auto_assign_to_existing_v2_agents": False
}
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({
workspace_id: 'j57demo8f8x7c9v0n2q4r6t8y1u3i5o',
name: 'booking-policy',
description: 'Use this skill for refund and cancellation questions.',
body: JSON.stringify('Guests may cancel up to 48 hours before check-in for a full refund.'),
allowed_tools: ['convex_get_booking'],
tags: ['policy', 'refunds'],
enabled: true,
auto_assign_to_existing_v2_agents: false
})
};
fetch('https://api.conduit.ai/v1/skills', 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.conduit.ai/v1/skills",
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([
'workspace_id' => 'j57demo8f8x7c9v0n2q4r6t8y1u3i5o',
'name' => 'booking-policy',
'description' => 'Use this skill for refund and cancellation questions.',
'body' => 'Guests may cancel up to 48 hours before check-in for a full refund.',
'allowed_tools' => [
'convex_get_booking'
],
'tags' => [
'policy',
'refunds'
],
'enabled' => true,
'auto_assign_to_existing_v2_agents' => false
]),
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.conduit.ai/v1/skills"
payload := strings.NewReader("{\n \"workspace_id\": \"j57demo8f8x7c9v0n2q4r6t8y1u3i5o\",\n \"name\": \"booking-policy\",\n \"description\": \"Use this skill for refund and cancellation questions.\",\n \"body\": \"Guests may cancel up to 48 hours before check-in for a full refund.\",\n \"allowed_tools\": [\n \"convex_get_booking\"\n ],\n \"tags\": [\n \"policy\",\n \"refunds\"\n ],\n \"enabled\": true,\n \"auto_assign_to_existing_v2_agents\": false\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.conduit.ai/v1/skills")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"workspace_id\": \"j57demo8f8x7c9v0n2q4r6t8y1u3i5o\",\n \"name\": \"booking-policy\",\n \"description\": \"Use this skill for refund and cancellation questions.\",\n \"body\": \"Guests may cancel up to 48 hours before check-in for a full refund.\",\n \"allowed_tools\": [\n \"convex_get_booking\"\n ],\n \"tags\": [\n \"policy\",\n \"refunds\"\n ],\n \"enabled\": true,\n \"auto_assign_to_existing_v2_agents\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conduit.ai/v1/skills")
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 \"workspace_id\": \"j57demo8f8x7c9v0n2q4r6t8y1u3i5o\",\n \"name\": \"booking-policy\",\n \"description\": \"Use this skill for refund and cancellation questions.\",\n \"body\": \"Guests may cancel up to 48 hours before check-in for a full refund.\",\n \"allowed_tools\": [\n \"convex_get_booking\"\n ],\n \"tags\": [\n \"policy\",\n \"refunds\"\n ],\n \"enabled\": true,\n \"auto_assign_to_existing_v2_agents\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "ks77c0dy0mgdpzmqz6tesry8w184002s",
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"name": "booking-policy",
"description": "Use this skill for refund and cancellation questions.",
"body": "Guests may cancel up to 48 hours before check-in for a full refund.",
"allowed_tools": [
"convex_get_booking"
],
"tags": [
"policy",
"refunds"
],
"enabled": true,
"created_at": "2026-04-01T17:22:10.000Z",
"updated_at": "2026-04-03T03:14:15.000Z"
}
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}Skills
Create Skill
Creates a workspace agent skill. Requires a token with write access.
POST
/
v1
/
skills
Create skill
curl --request POST \
--url https://api.conduit.ai/v1/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"name": "booking-policy",
"description": "Use this skill for refund and cancellation questions.",
"body": "Guests may cancel up to 48 hours before check-in for a full refund.",
"allowed_tools": [
"convex_get_booking"
],
"tags": [
"policy",
"refunds"
],
"enabled": true,
"auto_assign_to_existing_v2_agents": false
}
'import requests
url = "https://api.conduit.ai/v1/skills"
payload = {
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"name": "booking-policy",
"description": "Use this skill for refund and cancellation questions.",
"body": "Guests may cancel up to 48 hours before check-in for a full refund.",
"allowed_tools": ["convex_get_booking"],
"tags": ["policy", "refunds"],
"enabled": True,
"auto_assign_to_existing_v2_agents": False
}
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({
workspace_id: 'j57demo8f8x7c9v0n2q4r6t8y1u3i5o',
name: 'booking-policy',
description: 'Use this skill for refund and cancellation questions.',
body: JSON.stringify('Guests may cancel up to 48 hours before check-in for a full refund.'),
allowed_tools: ['convex_get_booking'],
tags: ['policy', 'refunds'],
enabled: true,
auto_assign_to_existing_v2_agents: false
})
};
fetch('https://api.conduit.ai/v1/skills', 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.conduit.ai/v1/skills",
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([
'workspace_id' => 'j57demo8f8x7c9v0n2q4r6t8y1u3i5o',
'name' => 'booking-policy',
'description' => 'Use this skill for refund and cancellation questions.',
'body' => 'Guests may cancel up to 48 hours before check-in for a full refund.',
'allowed_tools' => [
'convex_get_booking'
],
'tags' => [
'policy',
'refunds'
],
'enabled' => true,
'auto_assign_to_existing_v2_agents' => false
]),
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.conduit.ai/v1/skills"
payload := strings.NewReader("{\n \"workspace_id\": \"j57demo8f8x7c9v0n2q4r6t8y1u3i5o\",\n \"name\": \"booking-policy\",\n \"description\": \"Use this skill for refund and cancellation questions.\",\n \"body\": \"Guests may cancel up to 48 hours before check-in for a full refund.\",\n \"allowed_tools\": [\n \"convex_get_booking\"\n ],\n \"tags\": [\n \"policy\",\n \"refunds\"\n ],\n \"enabled\": true,\n \"auto_assign_to_existing_v2_agents\": false\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.conduit.ai/v1/skills")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"workspace_id\": \"j57demo8f8x7c9v0n2q4r6t8y1u3i5o\",\n \"name\": \"booking-policy\",\n \"description\": \"Use this skill for refund and cancellation questions.\",\n \"body\": \"Guests may cancel up to 48 hours before check-in for a full refund.\",\n \"allowed_tools\": [\n \"convex_get_booking\"\n ],\n \"tags\": [\n \"policy\",\n \"refunds\"\n ],\n \"enabled\": true,\n \"auto_assign_to_existing_v2_agents\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.conduit.ai/v1/skills")
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 \"workspace_id\": \"j57demo8f8x7c9v0n2q4r6t8y1u3i5o\",\n \"name\": \"booking-policy\",\n \"description\": \"Use this skill for refund and cancellation questions.\",\n \"body\": \"Guests may cancel up to 48 hours before check-in for a full refund.\",\n \"allowed_tools\": [\n \"convex_get_booking\"\n ],\n \"tags\": [\n \"policy\",\n \"refunds\"\n ],\n \"enabled\": true,\n \"auto_assign_to_existing_v2_agents\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "ks77c0dy0mgdpzmqz6tesry8w184002s",
"workspace_id": "j57demo8f8x7c9v0n2q4r6t8y1u3i5o",
"name": "booking-policy",
"description": "Use this skill for refund and cancellation questions.",
"body": "Guests may cancel up to 48 hours before check-in for a full refund.",
"allowed_tools": [
"convex_get_booking"
],
"tags": [
"policy",
"refunds"
],
"enabled": true,
"created_at": "2026-04-01T17:22:10.000Z",
"updated_at": "2026-04-03T03:14:15.000Z"
}
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}{
"error": "Invalid workspace id"
}Authorizations
Conduit API token. Use Authorization: Bearer <token>. Read/write endpoints require a token with write access.
Body
application/json
Request body for creating a workspace agent skill. External callers must explicitly opt into auto-assignment.
Required string length:
1 - 64Pattern:
^[a-z0-9]+(?:-[a-z0-9]+)*$Required string length:
1 - 1024Minimum string length:
1Response
Skill created
Single workspace skill response.
Show child attributes
Show child attributes
Was this page helpful?
⌘I