Skip to content

Create Inline Skill

POST
/api/v3/organizations/{organisation}/ai/skills
curl --request POST \
--url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "code-review", "description": "Expert code review with security analysis", "content": "You are an expert code reviewer...", "triggerCondition": "When the user asks for code review", "tags": [ "example" ], "requiredTools": [ "example" ], "namespace": "example", "files": {}, "disableModelInvocation": true, "allowedTools": [ "example" ], "installedBy": "example" }'

Creates a new skill with inline content. Use this for custom skills * that are defined directly in your organization. * * Trigger Conditions: * - Natural language description of when to use the skill * - Used by AI to determine when to suggest or apply the skill * - Example: ‘When the user asks about code review or security analysis’

organisation
required
string

The organisation ID

Media typeapplication/json
object
name
required
string
Example
code-review
description
string
Example
Expert code review with security analysis
content
required
string
Example
You are an expert code reviewer...
triggerCondition
required
string
Example
When the user asks for code review
tags
Array<string>
requiredTools
Array<string>
namespace
string
files
object
disableModelInvocation
boolean
allowedTools
Array<string>
installedBy
string

Skill created successfully

Media typeapplication/json
object
success
boolean
skill
object
message
string
Example
{
"success": true,
"message": "Skill created successfully"
}

Invalid request parameters

Access denied

Failed to create skill