Skip to content

Latest commit

 

History

History
95 lines (71 loc) · 997 Bytes

File metadata and controls

95 lines (71 loc) · 997 Bytes

API Reference

Run the server:

python -m skillos.cli serve

Base URL:

http://127.0.0.1:8765

Health

GET /api/health

Dashboard

GET /api/dashboard

Skills

GET /api/skills

Lessons

GET /api/lessons

Run job

POST /api/jobs
{
  "goal": "Draft a sales follow-up email from call notes",
  "agent_id": "sales_agent",
  "inputs": {
    "prospect_name": "Maya",
    "company_name": "Orion Labs",
    "agreed_next_step": "review the pilot plan on Friday"
  },
  "human_edits": "Moved the next step to the opening lines."
}

Discover lessons

POST /api/learn
{
  "min_support": 3
}

Train candidate skill

POST /api/train
{
  "lesson_id": "lesson_abc123"
}

Approve release

POST /api/approve
{
  "skill_id": "sales_followup_email",
  "version": 2,
  "scope": "team",
  "rollout": "10_percent_canary"
}