Refresh a GitHub skill
curl --request POST \
--url https://developer.creao.ai/v1/skills/{skill_id}/refresh \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/skills/{skill_id}/refresh';
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}/refresh"
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
Refresh a skill
Re-fetch a GitHub-sourced custom Agent Brain skill.
POST
/
v1
/
skills
/
{skill_id}
/
refresh
Refresh a GitHub skill
curl --request POST \
--url https://developer.creao.ai/v1/skills/{skill_id}/refresh \
--header 'Authorization: Bearer <token>'const url = 'https://developer.creao.ai/v1/skills/{skill_id}/refresh';
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}/refresh"
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 refreshed.