Disable a skill
curl --request POST \
--url https://developer.creao.ai/v1/skills/{skill_id}/disable \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/skills/{skill_id}/disable';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/skills/{skill_id}/disable"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"skill_id": "<string>",
"kind": "builtin",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"enabled": true,
"core": true,
"source_url": "<string>",
"tags": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"files": {}
}
Skills
Disable a skill
Disable an account-level Agent Brain skill without deleting it.
POST
/
v1
/
skills
/
{skill_id}
/
disable
Disable a skill
curl --request POST \
--url https://developer.creao.ai/v1/skills/{skill_id}/disable \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/skills/{skill_id}/disable';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/skills/{skill_id}/disable"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"skill_id": "<string>",
"kind": "builtin",
"name": "<string>",
"display_name": "<string>",
"description": "<string>",
"enabled": true,
"core": true,
"source_url": "<string>",
"tags": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"content": "<string>",
"files": {}
}
Authorizations
bearerAuthapiKeyQuery
Path Parameters
Response
Skill is disabled.