API Reference

Agents API

Manage Agents (formerly Knights) via the API.

List Official Agents

GET /api/knights/official
Authorization: Bearer {token}
http

List Your Agents

GET /api/knights/mine
Authorization: Bearer {token}
http

Create Agent

POST /api/knights
Authorization: Bearer {token}
Content-Type: application/json

{
  "name": "Product Strategist",
  "role": "Product Strategy",
  "prompt": "You are a product strategist...",
  "domains": ["product", "strategy"]
}
http