Sync Skill Collection
POST
/api/v3/organizations/{organisation}/ai/skills/collections/{namespace}/sync
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/skills/collections/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/collections/example/sync \ --header 'Authorization: Bearer <token>'Re-syncs all skills in a namespace from their GitHub source. Detects new * skills added to the repository and flags skills removed from the source. Does NOT auto-delete removed skills.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
namespace
required
string
Collection namespace
Responses
Section titled “Responses”Collection synced successfully
Media typeapplication/json
object
namespace
string
synced
integer
created
integer
failed
integer
removedFromSource
Array<string>
skills
Array<object>
object
Examplegenerated
{ "namespace": "example", "synced": 1, "created": 1, "failed": 1, "removedFromSource": [ "example" ], "skills": [ {} ]}Invalid request
Access denied
Collection not found
Failed to sync collection
GitHub API error
