Overview

Allternit ships 11 built-in subagent types. Their defaults live in the client and in gizzi, not in this API. The Subagent Types API stores only the caller’s own rows:
  • Custom types (is_custom: true) — new types with a slug that is not a built-in.
  • Overrides (is_custom: false) — changes to a built-in type, keyed by the built-in’s slug. Fields left null keep the shipped default.
Deleting a custom type removes it. Deleting an override resets that built-in to its defaults. Built-in slugs: explorer, builder, code-reviewer, verifier, web-researcher, browser-operator, computer-operator, data-analyst, ui-designer, release-engineer, security-reviewer. planner, debugger, docs-writer and scribe were built-in until 2026-10-27. They are now gizzi skills, so you can use those slugs for custom types. An existing override row for one of them is no longer applied. Delete it to use the slug for a custom type.
This namespace is served by the Allternit API data-plane node (http://127.0.0.1:8013 on the same machine, or your paired or provisioned node). The hosted Cloud API at https://api.allternit.com does not route it. See Cloud API.

Base URL

Authentication

All requests must include a valid bearer token in the Authorization header. Rows are scoped to the signed-in user.

Subagent type object

Endpoints

List subagent types

Returns the caller’s rows: { "types": [ ... ] }.

Create a custom type

Body: slug, name, and optionally description, prompt, model_class, tools, max_steps, look. Returns 201 with { "type": { ... } }. Returns 409 when the slug is a built-in (PATCH it to override instead) or when the caller already has a row with that slug. Returns 400 on validation errors.

Update or override a type

Partial update: only fields present in the body change, and null clears a field. If the caller has no row for a built-in slug, an override row is created. An unknown slug with no row returns 404. Returns { "type": { ... } }.

Delete or reset a type

Deletes the caller’s row and returns 204. For a built-in, this resets it to the shipped defaults.