Skip to main content
PlaybooksResource is reachable on every Kataven Node client as client.playbooks. Each method maps to one HTTP endpoint on the Hub API; links to the underlying spec entry are inline below. Playbooks are reusable knowledge bundles (system-prompt fragments + tool lists) you attach to agents. CRUD via client.playbooks; attach/detach via client.agents.attachPlaybook.

Methods at a glance

MethodHTTPSummary
listGET /api/playbooksList playbooks
getGET /api/playbooks/{idOrName}Get a single playbook
createPOST /api/playbooksCreate a custom playbook
updatePUT /api/playbooks/{idOrName}Update a playbook
deleteDELETE /api/playbooks/{idOrName}Delete a custom playbook

Reference

client.playbooks.list(...)

List playbooks HTTPGET /api/playbooks · API reference →
list(opts: { category?: string; search?: string; limit?: number; offset?: number } = {})

client.playbooks.get(...)

Get a single playbook HTTPGET /api/playbooks/{id} · API reference →
get(idOrName: string)
Looks up by uuid or snake_case name. Includes the markdown content from the prompts table.

client.playbooks.create(...)

Create a custom playbook HTTPPOST /api/playbooks · API reference →
create(input: {
  display_name: string;
  name?: string;
  category?: string;
  description?: string;
  tool_names?: string[];
  tags?: string[];
})

client.playbooks.update(...)

Update a playbook HTTPPUT /api/playbooks/{id} · API reference →
update(idOrName: string, patch: Record<string, unknown>)
Default playbooks flip modified_from_default=TRUE on first update so re-seeds skip them.

client.playbooks.delete(...)

Delete a custom playbook HTTPDELETE /api/playbooks/{id} · API reference →
delete(idOrName: string)
Default (seeded) playbooks cannot be deleted — only custom ones.