Skip to content
Proud to collaborate with Microsoft for Startups

agents.skill-package.sync ​

Sync an exact new guidance-package revision without mutating old versions.

Import a new immutable version for an existing guidance skill.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Triggers ​

SourceEndpoint / EventDescription
APIPOST /api/agents/skill-packagesManage immutable agent guidance packages

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
skill_uuidstringYes——
skill_namestringNo——
descriptionstringNo——
versionintegerYes——
package_versionstringYes——
source_repository_uuidstringYes——
source_commit_oidstringYes——
package_namestringYes——
manifestdictYes——
compatibilitydictYes——
artifact_uuidstringYes——
created_by_uuidstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
packagedictNo——
createdbooleanNo——
changedbooleanNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
importedSUCCESSSkill package importedpackage, created, changed
failedFAILURESkill package imported failedfailure_reason, error, error_type, failed_at_state, failed_step, failed_layer

Business Errors ​

CodeMessage Template
AGENTS_ORGANIZATION_CONTEXT_INVALIDAuthenticated organization context is missing or does not match the workflow input
AGENTS_PACKAGE_NOT_FOUNDSkill/guidance package {package_uuid} was not found in the organization
AGENTS_CONFIG_NOT_FOUNDAgent configuration {agent_config_uuid} was not found in the organization
AGENTS_VALIDATION_FAILEDWorkflow input or domain state failed validation:
AGENTS_CONFLICTConflicting agent domain state:

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "agents.skill-package.sync",
  "initial_data": {
    "organization_uuid": "value",
    "skill_uuid": "value",
    "version": 123,
    "package_version": "value"
  }
}