Sync Skill from Source
POST
/api/v3/organizations/{organisation}/ai/skills/{skillId}/sync
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/skills/example/sync';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/skills/example/sync \ --header 'Authorization: Bearer <token>'Re-fetches skill content from its original source. * Only applicable to skills imported from external sources (skills.sh, github). * Inline skills cannot be synced. * * Version Behavior: * - If version is pinned, fetches that specific version * - If no version specified, fetches latest
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
skillId
required
string
The skill ID
Responses
Section titled “Responses”Skill synced successfully
Media typeapplication/json
object
skill
object
message
string
Examplegenerated
{ "skill": {}, "message": "example"}Cannot sync inline skill
Access denied
Skill not found
Failed to sync skill
Failed to fetch skill from source
