Skip to main content
POST
Create a Skill
Using our API via a dedicated deployment? Just replace api.langdock.com with your deployment’s base URL: <deployment-url>/api/public
Creates a Skill in your workspace. The API key creator becomes the Skill owner and can manage it in the UI. System Skills, templates, and Skill Packs are excluded.

Required Scopes

This endpoint requires the SKILL_API scope.
Requires the createSkills workspace permission.

Request Parameters

Example

Response Format

Success Response (201 Created)

Error Handling

Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.

Authorizations

Authorization
string
header
required

API key as Bearer token. Format "Bearer YOUR_API_KEY"

Body

application/json
name
string
required

Skill name.

Required string length: 1 - 64
instructions
string
required

Skill instructions.

Required string length: 1 - 50000
slug
string

Stable Skill slug.

Maximum string length: 100
Pattern: ^[a-z0-9-]+$
description
string

Description used to explain when the Skill should apply.

Maximum string length: 1024
integrationIds
string<uuid>[]

Integration IDs to attach to the Skill.

Response

Skill created successfully

skill
object
required