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
Account API key from Developer Console. Keys start with cr_sk_.
Path Parameters
Public skill id (blog-post or custom-weekly-digest), not the custom-skill UUID.
Maximum string length:
80Pattern:
^[a-zA-Z0-9_-]+$Response
Skill refreshed.
Public skill id. Custom skills use custom-{name}.
Available options:
builtin, custom Custom-skill row UUID. Null for built-ins. Read-only metadata; not used in paths.
SKILL.md body. Present on GET and install, omitted from list.
Supporting files for custom skills. Present on GET and install.
Show child attributes
Show child attributes