Skills
Create a Skill
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Create a skill for the specified Context Interface. The source determines where the skill's content comes from.
post/v1/context-interfaces/{interfaceId}/skills
Request body
Example request
{
"name": "pdf-processing",
"display_name": "PDF Processing",
"description": "Extract and summarize content from PDF documents",
"source": {
"type": "raw",
"config": {
"contents": "---\nname: pdf-processing\ndescription: Extract and summarize content from PDF documents\n---\n# PDF Processing\n..."
}
},
"labels": {
"env": "test"
}
}Response
A response to creating a skill.
Example response
{
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
Changed in 1 of the 83 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○