Create a skill
Create a skill and attach it to an assistant.
Endpoint
POST/ai-assistant-skills
Body
| Name | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Your API key's organization ID. |
assistant_id | integer | Yes | Assistant that uses the skill (same organization). |
name | string | Yes | Skill name. |
when_to_use | string | Yes | When the assistant should load the skill. |
content | string | Yes | Instructions or knowledge (Markdown or plain text). |
Request
Response
json
Errors
| Status | When |
|---|---|
400 | A required field is missing, or assistant_id does not exist or belongs to another organization. |
403 | organization_id is missing or is not your API key's organization. |
Report an issue with this documentation
Please log in to report issues with our documentation.